OYMBeacon Class Reference
Inherits from | NSObject |
---|---|
Conforms to | OYMJsonProtocol |
Declared in | OYMBeacon.h OYMBeacon.m |
Overview
This class includes all the information regarding the Beacon Items stored.
CLBeacon category to add proper iBeacon sorting.
Other Methods
)
WGS84 Longitude
@property (nonatomic) NSNumber *DEPRECATED_MSG_ATTRIBUTE ( "Use longitude instead." )
Declared In
OYMBeacon.h
status
Variable defining the Beacon status, if <1 can be used
@property int status
Declared In
OYMBeacon.h
– initWithEddystone:
Eddystone Beacon partial constructor. Should not be used.
- (instancetype)initWithEddystone:(ESSBeaconInfo *)eddystone
Parameters
eddystone |
Eddystone Beacon |
---|
Declared In
OYMBeacon.h
– getIdentifier
This method provides an identifier for the Beacon that can be used across the different platforms.
- (NSString *)getIdentifier
Return Value
A unique Beacon identifier
Declared In
OYMBeacon.h
Beacon Methods
– initWithCLBeacon:
OYMBeacon partial constructor. Should not be used.
- (instancetype)initWithCLBeacon:(CLBeacon *)beac
Parameters
beac |
CLBeacon to be decoded |
---|
Declared In
OYMBeacon+Beacon.h
+ getMax:
This method returns the iBeacon(s) with the highest RSSI.
+ (NSArray *)getMax:(NSDictionary *)ibeaconsDict
Parameters
ibeacons |
Dictionary containing the CLBeacon to be sorted |
---|
Return Value
The CLBeacon object(s) with the highest RSSI
Declared In
OYMBeacon+Beacon.h
– getAccuracy
This method returns the accuracy of the iBeacon.
- (double)getAccuracy
Declared In
OYMBeacon+Beacon.h