MapsIndoors iOS SDK V3
|
#include <MPLocationSource.h>
Instance Methods | |
(NSArray< MPLocation * > *) | - getLocations |
(void) | - addLocationsObserver: |
(void) | - removeLocationsObserver: |
(MPLocationSourceStatus) | - status |
(int) | - sourceId |
Location source protocol.
|
required |
Add an observer that gets callbacks about updates, additions and deletions to locations in this location source
observer | The observer object |
|
required |
Get the locations available from the location source at this point in time
|
required |
Remove an observer that gets callbacks about updates, additions and deletions to locations in this location source
observer | The observer object to remove |
|
required |
Get the id of the location source
|
required |
Get the status of the location source: .available available and expected to provide data .unavailable unavailable but expected to provide data under normal circumstances .initialising processing and expected to provide data when initialised .inactive intentionally inactive and not expected to provide data