AVCaptureDeviceTypeExternal

Static AVCaptureDeviceTypeExternal 

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

An external device type. On iPad, external devices are those that conform to the UVC (USB Video Class) specification.

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

NSCameraUseExternalDeviceType </key

Otherwise, external cameras on Mac Catalyst report that their device type is AVCaptureDeviceTypeBuiltInWideAngleCamera.

Prior to visionOS 3.0, your app must have the com.apple.developer.avfoundation.uvc-device-access entitlement in order to discover and use devices of type AVCaptureDeviceTypeExternal on visionOS.

See also Apple’s documentation