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

Tasks

Properties

latitude

@property (nonatomic) CLLocationDegrees latitude

longitude

@property (nonatomic) CLLocationDegrees longitude

radius

@property (nonatomic) CLLocationDistance radius

Instance Methods

initWithGeoHash:

- (instancetype)initWithGeoHash:(NSString *)geohash
Discussion

Initializer for SBMGeofence from geohash and radius

Parameters

geohash

14-characters length string containing geohash and radius (8 characters for the geohash and 6 characters for the radius)

Return Value

Returns a SBMGeofence object. The return can also be nil if the geohash is invalid

Declared In

SBModel.h

initWithRegion:

- (instancetype)initWithRegion:(CLCircularRegion *)region
Discussion

Initializer for the SBMGeofence

Parameters

region

A CLCircularRegion object

Return Value

A SBMGeofence object

Declared In

SBModel.h