SWRLBeaconAdvertisement Class Reference
Inherits from | NSObject |
---|---|
Conforms to | NSCopying |
Declared in | SWRLBeaconAdvertisement.h SWRLBeaconAdvertisement.m |
Overview
A SWRLBeaconAdvertisement is an object which represents a Bluetooth Beacon advertisement in a normalized way for consumption by the rest of the framework. Beacon protocols broadcast beacon identity information and optionally other attributes, like telemetry (temperature, time, battery, etc).
Accessing Advertisement Attributes
identifier
The protocol specific identifier, represented as a urn. For the most part these are opaque and are not processed on the client other than to test for equality.
@property (nonatomic, readonly) NSString *identifier
Declared In
SWRLBeaconAdvertisement.h
detected
A timestamp using timeIntervalSince1970 indicating when the advertisement was detected.
@property (nonatomic, readonly) NSTimeInterval detected
Declared In
SWRLBeaconAdvertisement.h
rssi
The signal strength (RSSI) as reported by the operating system.
@property (nonatomic, readonly) int rssi
Declared In
SWRLBeaconAdvertisement.h
dbm1
The measured power included for some beacon protocols.
@property (nonatomic, readonly) int dbm1
Declared In
SWRLBeaconAdvertisement.h
extraInfo
Extra out-of-band data. Like Eddystone TLM packet data. Base-64 encoded.
@property (nonatomic, readonly) NSString *extraInfo
Declared In
SWRLBeaconAdvertisement.h
device
The address or idetnfiier of the device generating these advertisements
@property (nonatomic, readonly) NSUUID *device
Declared In
SWRLBeaconAdvertisement.h
connectable
YES it the beacon is in a connectable state
@property (nonatomic, readonly) BOOL connectable
Declared In
SWRLBeaconAdvertisement.h