IVSDevice

Objective-C

@protocol IVSDevice <IVSErrorSource>

Swift

protocol IVSDevice : IVSErrorSource

Represents an input device such as a camera or microphone.

  • A descriptor of the device and its capabilities.

    Declaration

    Objective-C

    - (nonnull IVSDeviceDescriptor *)descriptor;

    Swift

    func descriptor() -> IVSDeviceDescriptor
  • A unique tag for this device.

    Declaration

    Objective-C

    - (nonnull NSString *)tag;

    Swift

    func tag() -> String