Instance Property

uniqueID

An ID unique to the model of device corresponding to the receiver.

Declaration

@property(nonatomic, readonly) NSString *uniqueID;

Discussion

Every available capture device has a unique ID that persists on one system across device connections and disconnections, application restarts, and reboots of the system itself. You can store the value returned by this property to recall or track the status of a specific device in the future.

See Also

Inspecting Device Characteristics

modelID

The model ID of the device.

manufacturer

A human-readable string describing the manufacturer of the device.

localizedName

A localized, human-readable name for the receiver.

connected

Indicates whether the device is currently connected.

virtualDevice

A Boolean value that indicates whether the device is a virtual device consisting of two or more physical devices.

deviceType

The general type of the device, such as a built-in microphone or wide-angle camera.

constituentDevices

An array of physical devices comprising a virtual device.

lensAperture

The size of the lens diaphragm.

position

Indicates the physical position of the device hardware on the system.

- hasMediaType:

Returns a Boolean value that indicates whether the device provides media with a given type.

- supportsAVCaptureSessionPreset:

Returns a Boolean value that indicates whether the receiver can be used in a capture session configured with the given preset.