Instance Property

devices

An array of currently available devices matching the session’s criteria.

Declaration

@property(nonatomic, readonly) NSArray<AVCaptureDevice *> *devices;

Discussion

This property contains only capture devices that are currently available and that meet the criteria you specified when creating the device discovery session with the discoverySessionWithDeviceTypes:mediaType:position: initializer.

See Also

Discovering Devices

supportedMultiCamDeviceSets

An array of sets of capture devices that you can use simultaneously in a multi-camera session.