Contents

deviceType

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

Declaration

var deviceType: AVCaptureDevice.DeviceType { get }

Discussion

Use the default(_:for:position:) method or the AVCaptureDevice.DiscoverySession class to find capture devices by device type.

See Also

Identifying a device