Monday, March 17, 2014

Beacon's Important properties and delegate !!!

under development

USEFUL PROPERTIES :


UUID
 *ProximityUUID identifier associated with the region.

@property (readonly, nonatomic) NSUUID *proximityUUID;

MAJOR
 *Most significant value associated with the region. If a major value wasn't specified, this will be nil.

 @property (readonly, nonatomic) NSNumber *major;

MINOR
 *Least significant value associated with the region. If a minor value wasn't specified, this will be nil.

@property (readonly, nonatomic) NSNumber *minor;

PROXIMITY
 *Proximity of the beacon from the device.
@property (readonly, nonatomic) CLProximity proximity;

ACCURACY
 *    Represents an one sigma horizontal accuracy in meters where the measuring device's location is
 *    referenced at the beaconing device. This value is heavily subject to variations in an RF environment.
 *    A negative accuracy value indicates the proximity is unknown.

@property (readonly, nonatomic) CLLocationAccuracy accuracy;

RSSI
 *    Received signal strength in decibels of the specified beacon.
 *    This value is an average of the RSSI samples collected since this beacon was last reported.

@property (readonly, nonatomic) NSInteger rssi;


NOTIFY ENTRY STATE ON DISPLAY

 *App will be launched and the delegate will be notified via locationManager:didDetermineState:forRegion:
 *when the device's screen is turned on and the user is in the region. By default, this is NO.

@property (nonatomic, assign) BOOL notifyEntryStateOnDisplay;




USEFUL DELEGATES :


* Invoked when a monitoring for a region started successfully.

- (void) locationManager:(ESTBeaconManager *)manager didStartMonitoringForRegion:(ESTBeaconRegion *)region


 *Invoked when there's a state transition for a monitored region or in response to a request for state via a call to requestStateForRegion

-(void)beaconManager:(ESTBeaconManager *)manager didDetermineState:(CLRegionState)state forRegion:(ESTBeaconRegion *)region


 *Invoked when a new set of beacons are available in the specified region. beacons is an array of CLBeacon objects.

- (void)beaconManager:(ESTBeaconManager *)manager didRangeBeacons:(NSArray *)beacons inRegion:(ESTBeaconRegion *)region


*Invoked when an error has occurred ranging beacons in a region.

-(void)beaconManager:(ESTBeaconManager *)manager monitoringDidFailForRegion:(ESTBeaconRegion *)region withError:(NSError *)error


 *Invoked when the user enters a monitored region
-(void)beaconManager:(ESTBeaconManager *)manager didEnterRegion:(ESTBeaconRegion *)region


 *Invoked when the user exits a monitored region. 
- (void)locationManager:(ESTBeaconRegion *)manager didExitRegion:(ESTBeacon *)region



*ALL REFERENCED FROM CORE LOCATION FRAMEWORK

No comments:

Post a Comment

Readbear Beacon

Readbear Beacon