Enumeration

AVCaptureDevicePosition

Constants to specify the position of a capture device.

Declaration

typedef enum AVCaptureDevicePosition : NSInteger {
    ...
} AVCaptureDevicePosition;

Topics

Constants

AVCaptureDevicePositionFront

The capture device is on the front of the unit.

AVCaptureDevicePositionBack

The capture device is on the back of the unit.

AVCaptureDevicePositionUnspecified

The capture device’s position relative to the system hardware is unspecified.

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.

AVCaptureDeviceType

Values identifying the capture device’s type.

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