IVSDevice

Objective-C

@protocol IVSDevice <NSObject>

Swift

protocol IVSDevice : NSObjectProtocol

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