feat: Add minFocusDistance
prop to CameraDevice
(#2392)
* docs: Link `videoHdr` * Update PERFORMANCE.mdx * docs: Add isActive to perf * docs: Update errors * feat: Add `minFocusDistance` prop * Format * Update Podfile.lock * fix: To Double * fix: Import AVFoundation * fix: Move from format -> device * fix: Use centi-meters (cm) instead of meters * Fix deadloop * fix: Avoid -1 values
This commit is contained in:
@@ -164,6 +164,10 @@ export interface CameraDevice {
|
||||
* Specifies whether this camera supports continuously enabling the flash to act like a torch (flash with video capture)
|
||||
*/
|
||||
hasTorch: boolean
|
||||
/**
|
||||
* The minimum distance this device can properly focus to (in centimeters/cm) or `0` if unknown.
|
||||
*/
|
||||
minFocusDistance: number
|
||||
/**
|
||||
* A property indicating whether the device is a virtual multi-camera consisting of multiple combined physical cameras.
|
||||
*
|
||||
|
Reference in New Issue
Block a user