LimeRegionObjectProtocol Protocol Reference
Conforms to | NSObject |
Declared in | LimeObject.h |
Overview
Copyright © 2015, Lime - HighTech Solutions s.r.o. (www.lime-company.eu).
All rights reserved. This source code can be used only for purposes specified by the given license contract signed by the rightful deputy of Lime - HighTech Solutions s.r.o. This source code can be used only by the owner of the license.
Any disputes arising in respect of this agreement (license) shall be brought before the Municipal Court of Prague.
Tasks
-
– rid
required method -
– identifierLookup
required method -
– identifierType
required method -
– distanceUsingContext:
required method
Instance Methods
distanceUsingContext:
Compute a distance from the region entity using a provided context object, such as an instance of CLBeacon or CLLocation representing the current user location. Distance is always calculated from the center of the region entity to the location provided by context.
- (CLLocationDistance)distanceUsingContext:(id)context
Parameters
- context
A context used for computing the distance from (such as current location or beacon information.
Return Value
Distance from the region entity using a provided context object.
Discussion
Compute a distance from the region entity using a provided context object, such as an instance of CLBeacon or CLLocation representing the current user location. Distance is always calculated from the center of the region entity to the location provided by context.
Declared In
LimeObject.h
identifierLookup
Identifier used for a unique region entity lookup - for iBeacon, this may be a derivative of uuid, major and minor, for geofence, this must be a geofence rid.
- (NSString *)identifierLookup
Return Value
Identifier used for a unique region entity lookup.
Discussion
Identifier used for a unique region entity lookup - for iBeacon, this may be a derivative of uuid, major and minor, for geofence, this must be a geofence rid.
Declared In
LimeObject.h
identifierType
Identifier of a region entity type. These are the values used by individual entities: “ibeacon” for iBeacons, “geofence” for geofences.
- (NSString *)identifierType
Return Value
Identifier of a region entity type.
Discussion
Identifier of a region entity type. These are the values used by individual entities: “ibeacon” for iBeacons, “geofence” for geofences.
Declared In
LimeObject.h
rid
Unique region entity identifier as returned by Lime servers. Note that different types of entities (such as beacons vs. geofences) may have the same rid value.
- (NSNumber *)rid
Return Value
Unique region entity identifier.
Discussion
Unique region entity identifier as returned by Lime servers. Note that different types of entities (such as beacons vs. geofences) may have the same rid value.
Declared In
LimeObject.h