Inherits from CLBeaconRegion
Declared in BWBeaconRegion.h

Instance Methods

getMajor

Use this method to retrieve major value of BWBeaconRegion. This value can also be retrieved from major property of BWBeaconRegion class.

- (CLBeaconMajorValue)getMajor

Return Value

major value as CLBeaconMajorValue

Discussion

Most significant value associated with the beacon.

Declared In

BWBeaconRegion.h

getMinor

Use this method to retrieve minor value of BWBeaconRegion. This value can also be retrieved from minor property of BWBeaconRegion class.

- (CLBeaconMinorValue)getMinor

Return Value

minor value as CLBeaconMinorValue

Discussion

Least significant value associated with the beacon.

Declared In

BWBeaconRegion.h

getProximityUuid

Use this method to retrieve proximity UUID of BWBeaconRegion. This value can also be retrieved from proximityUUID property of BWBeaconRegion class.

- (NSUUID *)getProximityUuid

Return Value

an NSUUID proximity UUID.

Declared In

BWBeaconRegion.h

getRegionString

This method returns region string in following format.
“proximityUuid: — major: — minor: —”

- (NSString *)getRegionString

Return Value

an NSString representing region in specified format.

Declared In

BWBeaconRegion.h

initWithCLBeaconRegion:

Initialize a BWBeaconRegion with a CLBeaconRegion

- (id)initWithCLBeaconRegion:(CLBeaconRegion *)region

Parameters

region

a CLBeaconRegion object

Return Value

a BWBeaconRegion instance

Declared In

BWBeaconRegion.h

matchesBWBeaconRegion:

This method determines if another region is same as this region. It compares region’s proximityUUID, major value, minor value and region identifier.

- (BOOL)matchesBWBeaconRegion:(BWBeaconRegion *)region

Parameters

region

a CLBeaconRegion object

Return Value

YES if regions match otherwise NO.

Declared In

BWBeaconRegion.h