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 *identifierDeclared In
SWRLBeaconAdvertisement.h
detected
A timestamp using timeIntervalSince1970 indicating when the advertisement was detected.
@property (nonatomic, readonly) NSTimeInterval detectedDeclared In
SWRLBeaconAdvertisement.h
rssi
The signal strength (RSSI) as reported by the operating system.
@property (nonatomic, readonly) int rssiDeclared In
SWRLBeaconAdvertisement.h
dbm1
The measured power included for some beacon protocols.
@property (nonatomic, readonly) int dbm1Declared In
SWRLBeaconAdvertisement.h
extraInfo
Extra out-of-band data. Like Eddystone TLM packet data. Base-64 encoded.
@property (nonatomic, readonly) NSString *extraInfoDeclared In
SWRLBeaconAdvertisement.h
device
The address or idetnfiier of the device generating these advertisements
@property (nonatomic, readonly) NSUUID *deviceDeclared In
SWRLBeaconAdvertisement.h
connectable
YES it the beacon is in a connectable state
@property (nonatomic, readonly) BOOL connectableDeclared In
SWRLBeaconAdvertisement.h