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:55


height​

• height: number

The height of the video, in pixels.

Defined in​

VideoFile.ts:63


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


width​

• width: number

The width of the video, in pixels.

Defined in​

VideoFile.ts:59