Instance Property

modelID

The model ID of the device.

Declaration

@property(nonatomic, readonly) NSString *modelID;

Discussion

The value of this property is an identifier unique to all devices of the same model. The value is persistent across device connections and disconnections, and across different systems. For example, the model ID of the camera built in to two identical iPhone models will be the same even though they are different physical devices.

See Also

Inspecting Device Characteristics

uniqueID

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

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.

Beta
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.

Beta
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.

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