DeviceState

@frozen
public enum DeviceState

Indicates the state of a DiscoveredDevice during a device search.

  • Indicates that the device has been seen with the specified signal strength.

    Declaration

    Swift

    case found(SignalStrength)
  • Indicates that a connection is being established.

    Declaration

    Swift

    case connecting
  • Indicates that a connection has been established.

    Declaration

    Swift

    case connected
  • Declaration

    Swift

    public static func == (lhs: DeviceState, rhs: DeviceState) -> Bool