2021-02-19 08:07:53 -07:00
|
|
|
/**
|
|
|
|
* Represents the camera device position.
|
|
|
|
*
|
|
|
|
* * `"back"`: Indicates that the device is physically located on the back of the system hardware
|
|
|
|
* * `"front"`: Indicates that the device is physically located on the front of the system hardware
|
|
|
|
*
|
|
|
|
* #### iOS only
|
|
|
|
* * `"unspecified"`: Indicates that the device's position relative to the system hardware is unspecified
|
|
|
|
*
|
|
|
|
* #### Android only
|
|
|
|
* * `"external"`: The camera device is an external camera, and has no fixed facing relative to the device's screen. (Android only)
|
|
|
|
*/
|
2021-02-20 09:07:10 -07:00
|
|
|
export type CameraPosition = 'front' | 'back' | 'unspecified' | 'external';
|