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​

types/VideoFile.ts:59


height​

• height: number

The height of the video, in pixels.

Defined in​

types/VideoFile.ts:67


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​

types/TemporaryFile.ts:12


width​

• width: number

The width of the video, in pixels.

Defined in​

types/VideoFile.ts:63