EILIndoorLocationManager Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | EILIndoorLocationManager.h EILIndoorLocationManager.m |
Other Methods
delegate
The delegate object to receive position update events.
@property (nonatomic, weak, nullable) id<EILIndoorLocationManagerDelegate> delegateDeclared In
EILIndoorLocationManager.h
– start
Starts Indoor Location Manager.
- (void)startDiscussion
Starting Indoor Location Manager early allows it to warm-up and later on deliver without delay Indoor Location status change and position updates.
Declared In
EILIndoorLocationManager.h
– stop
Completely stops Indoor Location Manager.
- (void)stopDiscussion
Invoking this method will stop all Indoor Location monitoring and position updates.
Declared In
EILIndoorLocationManager.h
isRunning
Informs whether Indoor Location Manager is currently running.
@property (nonatomic, assign, readonly) BOOL isRunningDeclared In
EILIndoorLocationManager.h
Indoor Location Monitoring
– startMonitoringForLocation:
Starts monitoring the specified Indoor Location allowing you determine if you are inside or outside monitored location.
- (void)startMonitoringForLocation:(EILLocation *)locationParameters
location |
The |
|---|
Discussion
The current state, i.e., inside/outside, is available on-demand, by calling the stateForLocation: method.
If the Indoor Location Manager is not started this method will start it.
Starting monitoring for Indoor Location early allows position updates to be delivered without delay later on.
Starting monitoring for a location already monitored will do nothing.
See Also
Declared In
EILIndoorLocationManager.h
– stopMonitoringForLocation:
Stops monitoring the specified Indoor Location.
- (void)stopMonitoringForLocation:(EILLocation *)locationParameters
location |
The |
|---|
See Also
Declared In
EILIndoorLocationManager.h
monitoredLocations
The set of all monitored Indoor Locations.
@property (nonatomic, strong, readonly) NSSet<EILLocation*> *monitoredLocationsDeclared In
EILIndoorLocationManager.h
– stateForLocation:
Determines state for the monitored location.
- (EILLocationState)stateForLocation:(EILLocation *)locationParameters
location |
An |
|---|
Return Value
State in which the monitored location is.
Discussion
If the location is not monitored EILLocationStateUnknown will be returned.
Declared In
EILIndoorLocationManager.h
– stateForLocationWithIdentifier:
Determines state for the monitored location identified by its identifier.
- (EILLocationState)stateForLocationWithIdentifier:(NSString *)locationIdentifierParameters
locationIdentifier |
An identifier of the location for which state should be determined. |
|---|
Return Value
State in which the monitored location is.
Discussion
Each location saved in Estimote Cloud is given a unique string identifier that corresponds to the identifier property of EILLocation. You can find it on cloud.estimote.com, on the “Locations” screen, and use it with the Indoor SDK to, among other things, fetch your stored location from Estimote Cloud.
If the location is not monitored EILLocationStateUnknown will be returned.
Declared In
EILIndoorLocationManager.h
Indoor Location Position Updates
mode
Mode of EILIndoorLocationManager position updates delivery.
@property (nonatomic, assign) EILIndoorLocationManagerMode modeDiscussion
Default mode of EILIndoorLocationManager is EILIndoorLocationManagerModeNormal.
Switching mode while delivery of position updates is in progress will effectively restart position updates with new mode.
See Also
Declared In
EILIndoorLocationManager.h
provideOrientationForLightMode
@property (nonatomic, assign) BOOL provideOrientationForLightModeDiscussion
Default value is NO.
If set to YES, for a brief moment after the start of positioning the orientation may be EIL_ORIENTATION_UNDEFINED.
Declared In
EILIndoorLocationManager.h
+ supportedModes
Supported modes (EILIndoorLocationManagerMode) for the device.
+ (NSArray<NSNumber*> *)supportedModesReturn Value
An array of supported modes (EILIndoorLocationManagerMode) encoded as NSNumber * objects.
Declared In
EILIndoorLocationManager.h
– startPositionUpdatesForLocation:
Starts the delivery of position updates for the specified location.
- (void)startPositionUpdatesForLocation:(EILLocation *)locationParameters
location |
The location. |
|---|
Discussion
If the Indoor Location Manager is not started invoking this method will start it.
Only one location is supported at the same time. Calling this method without previously stopping position updates will have no effect.
Calling this method without calling start startMonitoringForLocation: will result in approximately 6 s delay before first position updates are provided. Starting monitoring earlier will reduce this time by the amount of time monitoring was running.
Declared In
EILIndoorLocationManager.h
– stopPositionUpdates
Stops the delivery of position updates.
- (void)stopPositionUpdatesDeclared In
EILIndoorLocationManager.h
_0
If run in Experimental With ARKit positioning mode this property exposes internal ARKit session. For the EILIndoorLocationManager to work correctly it should be never started or stopped manually. Please rely on the startPositionUpdatesForLocation: and stopPositionUpdates methods of EILIndoorLocationManager.
@property (nonatomic, strong, readonly) ARSession *NS_AVAILABLE_IOS ( 11 _0Declared In
EILIndoorLocationManager.h
– indoorLocationPointFromARKitPoint:
Method for coordinate transformation between ARKit and Indoor Location.
- (EILPoint *)indoorLocationPointFromARKitPoint:(EILPoint *)arkitPointParameters
arkitPoint |
Position in ARKit coordinate system. |
|---|
Return Value
Position in Indoor Location coordinate system.
Declared In
EILIndoorLocationManager.h
– ARKitPointFromIndoorLocationPoint:
Method for coordinate transformation between ARKit and Indoor Location.
- (EILPoint *)ARKitPointFromIndoorLocationPoint:(EILPoint *)indoorLocationPointParameters
indoorLocationPoint |
Position in Indoor Location coordinate system. |
|---|
Return Value
Position in ARKit coordinate system.
Declared In
EILIndoorLocationManager.h