Marc Rousavy 036856aed5
chore: Move everything into package/ (#1745)
* Move everything into package

* Remove .DS_Store

* Move scripts and eslintrc to package

* Create CODE_OF_CONDUCT.md

* fix some links

* Update all links (I think)

* Update generated docs

* Update notice-yarn-changes.yml

* Update validate-android.yml

* Update validate-cpp.yml

* Delete notice-yarn-changes.yml

* Update validate-cpp.yml

* Update validate-cpp.yml

* Update validate-js.yml

* Update validate-cpp.yml

* Update validate-cpp.yml

* wrong c++ style

* Revert "wrong c++ style"

This reverts commit 55a3575589c6f13f8b05134d83384f55e0601ab2.
2023-09-01 18:15:28 +02:00

49 lines
1.1 KiB
Markdown

---
id: "VideoFile"
title: "VideoFile"
sidebar_position: 0
custom_edit_url: null
---
Represents a Video taken by the Camera written to the local filesystem.
Related: [`Camera.startRecording()`](../classes/Camera.md#startrecording), [`Camera.stopRecording()`](../classes/Camera.md#stoprecording)
## Hierarchy
- [`TemporaryFile`](TemporaryFile.md)
**`VideoFile`**
## Properties
### duration
**duration**: `number`
Represents the duration of the video, in seconds.
#### Defined in
[VideoFile.ts:38](https://github.com/mrousavy/react-native-vision-camera/blob/c66550ed/package/src/VideoFile.ts#L38)
___
### 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](TemporaryFile.md).[path](TemporaryFile.md#path)
#### Defined in
[TemporaryFile.ts:12](https://github.com/mrousavy/react-native-vision-camera/blob/c66550ed/package/src/TemporaryFile.ts#L12)