UBUriBeacon Class Reference
Inherits from | NSObject |
Declared in | UBUriBeacon.h |
Overview
UBUriBeacon holds the decoded content of a UriBeacon and some information related to the physical device such as the identifier and the received signal strength indicator.
Tasks
-
– initWithURI:txPowerLevel:
-
– initWithURI:txPowerLevel:flags:
-
identifier
property -
RSSI
property -
URI
property -
txPowerLevel
property -
flags
property -
– isValid
Properties
RSSI
When UBUriBeacon is returned from [UBUriBeaconScanner beacons]
,
the value is the current received signal strength indicator of the
related bluetooth device, in decibels.
@property (nonatomic, assign) NSInteger RSSI
Declared In
UBUriBeacon.h
flags
Flags. The flags need to be set to 0.
@property (nonatomic, assign) UBUriBeaconFlags flags
Declared In
UBUriBeacon.h
Instance Methods
initWithURI:txPowerLevel:
Initializes a UBUriBeacon with a URI and a transmit power.
- (id)initWithURI:(NSURL *)URI txPowerLevel:(int)txPowerLevel
Declared In
UBUriBeacon.h
initWithURI:txPowerLevel:flags:
- (id)initWithURI:(NSURL *)URI txPowerLevel:(int)txPowerLevel flags:(UBUriBeaconFlags)flags
Parameters
- URI
URI of the beacon.
- txPowerLevel
Transmit power level of the beacon.
- flags
Flags of the beacon. It should be set to 0.
Declared In
UBUriBeacon.h