SCLFlicButtonConnectionState

enum SCLFlicButtonConnectionState {}

Represents the diffrent connection states that a Flic/PbF can be in at any given time.

  • The Flic/PbF is currently connected. This means that the iOS device has an active link with the Flic/PbF and that data can be sent in both directions provided that it has also been verified, notified by the flicButtonIsReady: callback.

    Declaration

    Objective-C

    SCLFlicButtonConnectionStateConnected = 0

    Swift

    case connected = 0
  • The Flic/PbF is currently connecting. This means that the iOS device is either in the process of establishing a link with Flic/PbF or that it is waiting for Flic/PbF to come within proximity so that such process can be initiated.

    Declaration

    Objective-C

    SCLFlicButtonConnectionStateConnecting

    Swift

    case connecting = 1
  • The Flic/PbF is currently disconnected.

    Declaration

    Objective-C

    SCLFlicButtonConnectionStateDisconnected

    Swift

    case disconnected = 2
  • The Flic/PbF is currently disconnecting.

    Declaration

    Objective-C

    SCLFlicButtonConnectionStateDisconnecting

    Swift

    case disconnecting = 3