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:47
height​
• height: number
The height of the video, in pixels.
Defined in​
types/VideoFile.ts:55
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 thefile://
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:51