|
MapsIndoors iOS SDK V3
|
#include <MPLocationsProvider.h>
Instance Methods | |
| (void) | - getLocationsAsync:language: |
| (void) | - getLocations |
| (void) | - getLocationsAsync:language:completionHandler: |
| (void) | - getLocationsWithCompletion: |
| (void) | - getLocationDetailsAsync:withId:language: |
| (void) | - getLocationWithId: |
| (void) | - getLocationDetailsAsync:withId:language:completionHandler: |
| (void) | - getLocationWithId:completionHandler: |
| (void) | - getLocationsWithIds:completionHandler: |
| (void) | - getLocationsUsingQueryAsync:language: |
| (void) | - getLocationsUsingQuery: |
| (void) | - getLocationsUsingQueryAsync:language:completionHandler: |
| (void) | - getLocationsUsingQuery:completionHandler: |
Class Methods | |
| (BOOL) | + isOfflineDataAvailableForSolutionId:language: |
Properties | |
| id< MPLocationsProviderDelegate > | delegate |
Locations provider protocol.
| - (void) getLocationDetailsAsync: | (nonnull NSString *) | solutionId | |
| withId: | (nonnull NSString *) | locationId | |
| language: | (nonnull NSString *) | language |
Method to query a unique location from the provider based on an id.
| solutionId | The MapsIndoors solution ID. |
| locationId | The MapsIndoors location ID. |
| language | The language code. Must be one of the MapsIndoors solutions supported content languages. |
| - (void) getLocationDetailsAsync: | (nonnull NSString *) | solutionId | |
| withId: | (nonnull NSString *) | locationId | |
| language: | (nonnull NSString *) | language | |
| completionHandler: | (nullable mpLocationDetailsHandlerBlockType) | handler |
Method to query a unique location from the provider based on an id.
| solutionId | The MapsIndoors solution ID. |
| locationId | The MapsIndoors location ID. |
| language | The language code. Must be one of the MapsIndoors solutions supported content languages. |
| handler | The handler callback block. Contains the MPLocation object (can be nil) and an NSError object (can be nil). |
| - (void) getLocations |
Method to initiate fetching of all locations from the provider in the current translation ([MapsIndoors getLanguage]).
| - (void) getLocationsAsync: | (nonnull NSString *) | solutionId | |
| language: | (nonnull NSString *) | language |
Method to initiate fetching of all locations from the provider in a specific translation.
| solutionId | The MapsIndoors solution ID. |
| language | The language code. Must be one of the MapsIndoors solutions supported content languages. |
| - (void) getLocationsAsync: | (nonnull NSString *) | solutionId | |
| language: | (nonnull NSString *) | language | |
| completionHandler: | (nullable mpLocationListHandlerBlockType) | handler |
Method to initiate fetching of all locations from the provider in a specific translation.
| solutionId | The MapsIndoors solution ID. |
| language | The language code. Must be one of the MapsIndoors solutions supported content languages. |
| handler | The handler callback block. Contains the MPLocation object (can be nil) and an NSError object (can be nil). |
| - (void) getLocationsUsingQuery: | (nonnull MPLocationQuery *) | locationQuery |
Method to query a subset of locations from the provider. Data is returned in the current translation ([MapsIndoors getLanguage]).
| locationQuery | Locations query object. Must at least define your MapsIndoors solution ID (MPLocationQuery.solutionId) |
| - (void) getLocationsUsingQuery: | (nonnull MPLocationQuery *) | locationQuery | |
| completionHandler: | (nullable mpLocationListHandlerBlockType) | handler |
Method to query a subset of locations from the provider. Data is returned in the current translation ([MapsIndoors getLanguage]).
| locationQuery | Locations query object. Must at least define your MapsIndoors solution ID (MPLocationQuery.solutionId) |
| handler | The handler callback block. Contains the MPLocationDataset object (can be nil) and an NSError object (can be nil). |
| - (void) getLocationsUsingQueryAsync: | (nonnull MPLocationQuery *) | locationQuery | |
| language: | (nonnull NSString *) | language |
Method to query a subset of locations from the provider.
| locationQuery | Locations query object. Must at least define your MapsIndoors solution ID (MPLocationQuery.solutionId) |
| language | The language code. Must be one of the MapsIndoors solutions supported content languages. |
| - (void) getLocationsUsingQueryAsync: | (nonnull MPLocationQuery *) | locationQuery | |
| language: | (nonnull NSString *) | language | |
| completionHandler: | (nullable mpLocationListHandlerBlockType) | handler |
Method to query a subset of locations from the provider.
| locationQuery | Locations query object. Must at least define your MapsIndoors solution ID (MPLocationQuery.solutionId) |
| language | The language code. Must be one of the MapsIndoors solutions supported content languages. |
| handler | The handler callback block. Contains the MPLocationDataset object (can be nil) and an NSError object (can be nil). |
| - (void) getLocationsWithCompletion: | (nullable mpLocationListHandlerBlockType) | handler |
Method to initiate fetching of all locations from the provider in the current translation ([MapsIndoors getLanguage]).
| handler | The handler callback block. Contains the MPLocation object (can be nil) and an NSError object (can be nil). |
| - (void) getLocationsWithIds: | (nonnull NSArray< NSString * > *) | locationIds | |
| completionHandler: | (nonnull mpLocationListHandlerBlockType) | completionHandler |
Method to query for a batch of locations given their ids. Data is returned in the current translation ([MapsIndoors getLanguage]). The order of the returned locations is indeterminate, and not in the order of the locationIds parameter.
| locationIds | The MapsIndoors location ID. |
| completionHandler | callback for result delivery. |
| - (void) getLocationWithId: | (nonnull NSString *) | locationId |
Method to query a unique location from the provider based on an id. Data is returned in the current translation ([MapsIndoors getLanguage]).
| locationId | The MapsIndoors location ID. |
| - (void) getLocationWithId: | (nonnull NSString *) | locationId | |
| completionHandler: | (nullable mpLocationDetailsHandlerBlockType) | completionHandler |
Method to query a unique location from the provider based on an id. Data is returned in the current translation ([MapsIndoors getLanguage]).
| locationId | The MapsIndoors location ID. |
| completionHandler | callback for result delivery. |
| + (BOOL) isOfflineDataAvailableForSolutionId: | (nonnull NSString *) | solutionId | |
| language: | (nonnull NSString *) | language |
Determine if cached or preloaded data is available for the given solutionId.
| solutionId | SolutionId to check for offline data availability. |
| language | Language to check for offline data availability. |
|
readwritenonatomicweak |