Instance Property
unique ID An ID unique to the model of device corresponding to the receiver.
SDKs
iOS 4.0+ macOS 10.7+ Mac Catalyst 13.0+ 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 manufacturer
A human-readable string describing the manufacturer of the device.
connected
Indicates whether the device is currently connected.
virtual Device
A Boolean value that indicates whether the device is a virtual device consisting of two or more physical devices.
device Type
The general type of the device, such as a built-in microphone or wide-angle camera.
position
Indicates the physical position of the device hardware on the system.
- has Media Type:
Returns a Boolean value that indicates whether the device provides media with a given type.
Related Documentation has Torch
A Boolean value that specifies whether the capture device has a torch.
torch Active
A Boolean value indicating whether the device’s torch is currently active.