IVSDevicePosition

Objective-C

enum IVSDevicePosition : NSInteger {}

Swift

@frozen enum IVSDevicePosition : Int, @unchecked Sendable

The position of the input device relative to the host device.

  • The device’s position is unknown.

    Declaration

    Objective-C

    IVSDevicePositionUnknown

    Swift

    case unknown = 0
  • The input device is located on the front of the host device.

    Declaration

    Objective-C

    IVSDevicePositionFront

    Swift

    case front = 1
  • The input device is located on the back of the host device.

    Declaration

    Objective-C

    IVSDevicePositionBack

    Swift

    case back = 2
  • The input device is connected to the host device via USB.

    Declaration

    Objective-C

    IVSDevicePositionUSB

    Swift

    case USB = 3
  • The input device is connected to the host device via bluetooth.

    Declaration

    Objective-C

    IVSDevicePositionBluetooth

    Swift

    case bluetooth = 4
  • The input device is connected via an auxiliary cable.

    Declaration

    Objective-C

    IVSDevicePositionAUX

    Swift

    case AUX = 5