Skip to main content

VideoFile

Represents a Video taken by the Camera written to the local filesystem.

Related: Camera.startRecording(), Camera.stopRecording()

Hierarchy​

Properties​

duration​

• duration: number

Represents the duration of the video, in seconds.

Defined in​

VideoFile.ts:46


path​

• path: string

The path of the file.

  • Note: If you want to consume this file (e.g. for displaying it in an <Image> component), you might have to add the file:// prefix.

  • Note: This file might get deleted once the app closes because it lives in the temp directory.

Inherited from​

TemporaryFile.path

Defined in​

TemporaryFile.ts:12