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
-
– ridrequired method -
– identifierLookuprequired method -
– identifierTyperequired 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)contextParameters
- 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.hidentifierLookup
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 *)identifierLookupReturn 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.hidentifierType
Identifier of a region entity type. These are the values used by individual entities: “ibeacon” for iBeacons, “geofence” for geofences.
- (NSString *)identifierTypeReturn 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.hrid
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 *)ridReturn 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