Static AVCaptureDeviceTypeContinuityCamera

Source
pub unsafe static AVCaptureDeviceTypeContinuityCamera: &'static AVCaptureDeviceType
Available on crate feature AVCaptureDevice only.
Expand description

A continuity camera device. These devices are suitable for general purpose use. Note that devices of this type may only be discovered using an AVCaptureDeviceDiscoverySession or -[AVCaptureDevice defaultDeviceWithDeviceType:mediaType:position:].

Starting in macOS 14.0 and Mac Catalyst 17.0, apps may opt in for using AVCaptureDeviceTypeContinuityCamera by adding the following key to their Info.plist: <key

NSCameraUseContinuityCameraDeviceType </key

Otherwise, continuity cameras on macOS and Mac Catalyst report that their device type is AVCaptureDeviceTypeBuiltInWideAngleCamera.

See also Apple’s documentation