Inherits from SBMTrigger : SBModel : JSONModel
Declared in SBModel.h

Tasks

Properties

major

@property (nonatomic) int major

minor

@property (nonatomic) int minor

uuid

@property (strong, nonatomic) NSString *uuid

Instance Methods

UUID

- (NSUUID *)UUID

initWithCLBeacon:

- (instancetype)initWithCLBeacon:(CLBeacon *)beacon
Discussion

Initializer for SBMBeacon with a CLBeacon object

Parameters

beacon

A CLBeacon object

Return Value

A SBMBeacon object

Declared In

SBModel.h

initWithString:

- (instancetype)initWithString:(NSString *)fullUUID
Discussion

Initializer for SBMBeacon with full UUID string.

Parameters

fullUUID

The full UUID string (hyphenated or not)

Return Value

Returns a SBMBeacon object. The return can also be nil if the full UUID is invalid

Declared In

SBModel.h