SWRLBeaconState Constants Reference

Declared in SWRLBeacon.h

SWRLBeaconState

Beacon state relative to current threshold set for the beacon.

Definition

typedef NS_ENUM(int, SWRLBeaconState ) {
   SWRLBeaconStateUnknown = 0,
   SWRLBeaconStateOutside,
   SWRLBeaconStateInside,
};

Constants

SWRLBeaconStateUnknown

The state (range) of the beacon could not be determined. This could be because there are insufficient valid advertisements to compute a range. This can be because the beacon has timed out or it has just been detected and cannot make a determination yet.

Declared In SWRLBeacon.h.

SWRLBeaconStateOutside

The rabge of the beacon is outside the range set for this beacon. The SWRLBeaconManager has sufficient samples to make a determination and has determined the beacon to be out of range.

Declared In SWRLBeacon.h.

SWRLBeaconStateInside

The range of the beacon is wihtin the range set for this beacon. The SWRLBeaconManager has sufficient samples to make a determination and has determined the beacon to be within range.

Declared In SWRLBeacon.h.

Declared In

SWRLBeacon.h