Skip to main content

Interface: VideoFile

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

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

Hierarchy​

  • TemporaryFile

    ↳ VideoFile

Properties​

duration​

• duration: number

Represents the duration of the video, in seconds.

Defined in​

VideoFile.ts:49


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