SWRLStatus Constants Reference

Declared in SWRLSwirl.h

SWRLStatus

SWRLStatus Bit flags used to determine the running status of the framework

Definition

typedef NS_OPTIONS(NSInteger, SWRLStatus ) {
   SWRLStatusNone = 0,
   SWRLStatusRunning = ( 1 < < 0 ),
   SWRLStatusPending = ( 1 < < 1 ),
   SWRLStatusError = ( 1 < < 2 ),
   SWRLStatusLocation = ( 1 < < 3 ),
   SWRLStatusBluetooth = ( 1 < < 4 ),
   SWRLStatusNetwork = ( 1 < < 5 ),
   SWRLStatusNotifications = ( 1 < < 6 ),
   SWRLStatusSwirlMask = ( SWRLStatusRunning | SWRLStatusPending | SWRLStatusError ),
   SWRLStatusDeviceMask = ( SWRLStatusLocation | SWRLStatusNetwork | SWRLStatusBluetooth | SWRLStatusNotifications ),
};

Constants

SWRLStatusNone

This value indicates that the system is not running.

Declared In SWRLSwirl.h.

SWRLStatusRunning

If this bit is set, the system is either Running or if Pending is also set, Stopping.

Declared In SWRLSwirl.h.

SWRLStatusPending

If this bit is set, the system is transitioning from Stopped to Running or the reverse.

Declared In SWRLSwirl.h.

SWRLStatusError

If this bit is set, the system has reported an error, which is available in the error property.

Declared In SWRLSwirl.h.

SWRLStatusLocation

If this bit is set, Location Services are authorized.

Declared In SWRLSwirl.h.

SWRLStatusBluetooth

If this bit is set, Bluetooth is available.

Declared In SWRLSwirl.h.

SWRLStatusNetwork

If this bit is set, Network connectivity is available.

Declared In SWRLSwirl.h.

SWRLStatusNotifications

If this bit is set, Notification are enabled.

Declared In SWRLSwirl.h.

SWRLStatusSwirlMask

A mask for accessing swirl status portion.

Declared In SWRLSwirl.h.

SWRLStatusDeviceMask

A mask for accessing device status portion.

Declared In SWRLSwirl.h.

Declared In

SWRLSwirl.h