Type Alias

AVCaptureDeviceType

Values identifying the capture device’s type.

Declaration

typedef NSString *AVCaptureDeviceType;

Discussion

Use the device type with the defaultDeviceWithDeviceType:mediaType:position: method and the AVCaptureDeviceDiscoverySession class.

Topics

Capture Device Types

AVCaptureDeviceTypeBuiltInDualCamera

A combination of wide-angle and telephoto cameras that creates a capture device.

AVCaptureDeviceTypeBuiltInDualWideCamera

A device that consists of two cameras of fixed focal length, one ultrawide angle and one wide angle.

Beta
AVCaptureDeviceTypeBuiltInTripleCamera

A device that consists of three cameras of fixed focal length, one ultrawide angle, one wide angle, and one telephoto.

Beta
AVCaptureDeviceTypeBuiltInWideAngleCamera

A built-in wide-angle camera.

AVCaptureDeviceTypeBuiltInUltraWideCamera

A built-in camera with a shorter focal length than that of a wide-angle camera.

Beta
AVCaptureDeviceTypeBuiltInTelephotoCamera

A built-in camera device with a longer focal length than a wide-angle camera.

AVCaptureDeviceTypeBuiltInTrueDepthCamera

A combination of cameras and other sensors that creates a capture device capable of photo, video, and depth capture.

AVCaptureDeviceTypeExternalUnknown

An unknown external device type.

Beta

See Also

Discovering Devices

+ deviceWithUniqueID:

Returns the device with a given ID.

+ defaultDeviceWithMediaType:

Returns the default device used to capture data of a given media type.

+ defaultDeviceWithDeviceType:mediaType:position:

Returns the default device for the specified device type, media type, and position.

AVCaptureDevicePosition

Constants to specify the position of a capture device.

AVCaptureDeviceDiscoverySession

A query for finding and monitoring available capture devices.

AVCaptureDeviceWasConnectedNotification

Posted when a new device becomes available.

AVCaptureDeviceWasDisconnectedNotification

Posted when an existing device becomes unavailable.

+ devices

Returns an array of the available capture devices on the system.

Deprecated
+ devicesWithMediaType:

Returns an array of the devices able to capture data of a given media type.

Deprecated

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software