DeviceUtil

public enum DeviceUtil

The namespace of DeviceUtil.

  • Lookup device by localizedName and mediaType.

    Declaration

    Swift

    public static func device(withLocalizedName: String, mediaType: AVMediaType) -> AVCaptureDevice?