SCLFlicButtonConnectionState Constants Reference

Declared in SCLFlicButton.h

SCLFlicButtonConnectionState

@enum SCLFlicButtonConnectionState

Represents the diffrent connection states that a flic can be in at any given time.

Definition

typedef NS_ENUM(NSInteger, SCLFlicButtonConnectionState ) {
   SCLFlicButtonConnectionStateConnected = 0,
   SCLFlicButtonConnectionStateConnecting,
   SCLFlicButtonConnectionStateDisconnected,
   SCLFlicButtonConnectionStateDisconnecting,
};

Constants

SCLFlicButtonConnectionStateConnected

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

Declared In SCLFlicButton.h.

SCLFlicButtonConnectionStateConnecting

The flic is currently connecting. This means that the iOS device is either in the process of establishing a link with flic or that it is waiting for flic to come within proximity so that such process can be initiated.

Declared In SCLFlicButton.h.

SCLFlicButtonConnectionStateDisconnected

The flic is currently disconnected.

Declared In SCLFlicButton.h.

SCLFlicButtonConnectionStateDisconnecting

The flic is currently disconnecting.

Declared In SCLFlicButton.h.

Declared In

SCLFlicButton.h