MapsIndoors iOS SDK V3
|
#include <MPPositionProvider.h>
Instance Methods | |
(void) | - requestLocationPermissions |
(void) | - updateLocationPermissionStatus |
(void) | - startPositioning: |
(void) | - stopPositioning: |
(void) | - startPositioningAfter:arg: |
(BOOL) | - isRunning |
Properties | |
BOOL | preferAlwaysLocationPermission |
BOOL | locationServicesActive |
id< MPPositionProviderDelegate > | delegate |
MPPositionResult * | latestPositionResult |
MPPositionProviderType | providerType |
Protocol specifying how an indoor positioning provider should be implemented if the users location is to be exposed to MPMapControl
- (BOOL) isRunning |
The running state of the provider
- (void) requestLocationPermissions |
Request location services permissions
- (void) startPositioning: | (nullable NSString *) | arg |
Start the provider. The argument value is depending on the implementation.
arg | The argument value is depending on the implementation |
- (void) startPositioningAfter: | (int) | millis | |
arg: | (nullable NSString *) | arg |
Start the provider after specified number of milliseconds. The argument value is depending on the implementation.
millis | The number of milliseconds before the provider will start |
arg | The argument value is depending on the implementation |
- (void) stopPositioning: | (nullable NSString *) | arg |
Stop the provider. The argument value is depending on the implementation.
arg | The argument value is depending on the implementation |
- (void) updateLocationPermissionStatus |
Update location services permission status
|
readwritenonatomicweak |
Delegate object. The receiver of user positions.
|
readwritenonatomicstrong |
Latest position result if any.
|
readnonatomicassign |
Get location services activity status
|
readwritenonatomicassign |
Set location services flag that determines if app should request location always or only when in use
|
readwritenonatomicassign |
Provider type stored as an integer. Currently not used by MPMapControl.