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.

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

URI

URI of the beacon.

@property (nonatomic, copy) NSURL *URI

Declared In

UBUriBeacon.h

flags

Flags. The flags need to be set to 0.

@property (nonatomic, assign) UBUriBeaconFlags flags

Declared In

UBUriBeacon.h

identifier

iOS bluetooth device identifier.

@property (nonatomic, copy) NSUUID *identifier

Declared In

UBUriBeacon.h

txPowerLevel

Transmit power level.

@property (nonatomic, assign) int txPowerLevel

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

Parameters

URI

URI of the beacon.

txPowerLevel

Transmit power level of the beacon.

Declared In

UBUriBeacon.h

initWithURI:txPowerLevel:flags:

Initializes a UBUriBeacon with a URI, a transmit power and 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

isValid

returns YES if it’s going to fit in a bluetooth LE advertisement packet.

- (BOOL)isValid

Declared In

UBUriBeacon.h