DeviceState

public enum DeviceState : UInt8

It is used to define the device state.

  • When device is disconnected, it is in idle state.

    Declaration

    Swift

    case idle = 0
  • When device is connected, it is in in_use state.

    Declaration

    Swift

    case in_use = 1