MapsIndoors iOS SDK V3
|
#include <MPVenueProvider.h>
Instance Methods | |
(void) | - getVenues |
(void) | - getBuildingWithinBounds: |
(void) | - getBuildings |
(void) | - getBuildingWithId: |
(void) | - getVenueWithId: |
(void) | - getVenuesWithCompletion: |
(void) | - getBuildingWithinBounds:completionHandler: |
(void) | - getBuildingsWithCompletion: |
(void) | - getBuildingWithId:completionHandler: |
(void) | - getVenueWithId:completionHandler: |
(void) | - getDataFromPoint:completionHandler: |
Class Methods | |
(nullable NSDictionary *) | + getDataFromPoint: |
(BOOL) | + isOfflineDataAvailableForSolutionId:language: |
Properties | |
id< MPVenueProviderDelegate > | delegate |
Venue provider interface, that defines a delegate and a method for venue queries.
- (void) getBuildings |
Get buildings from this provider
- (void) getBuildingsWithCompletion: | (nullable mpBuildingListHandlerBlockType) | handler |
Get buildings from this provider
handler | Buildings fetch callback block |
- (void) getBuildingWithId: | (nonnull NSString *) | buildingId |
Get a single building detail object
buildingId | Building id |
- (void) getBuildingWithId: | (nonnull NSString *) | buildingId | |
completionHandler: | (nullable mpBuildingDetailsHandlerBlockType) | handler |
Get single building detail object
buildingId | Building id |
handler | Building details fetch callback block |
- (void) getBuildingWithinBounds: | (nonnull MPMapExtend *) | mapExtend |
Get a single building within given bounds
mapExtend | The geographic bounds, defined by north, south, west and east |
- (void) getBuildingWithinBounds: | (nonnull MPMapExtend *) | mapExtend | |
completionHandler: | (nullable mpBuildingDetailsHandlerBlockType) | handler |
Get a single building within given bounds
mapExtend | The geographic bounds, defined by north, south, west and east |
handler | Building fetch callback block |
+ (nullable NSDictionary *) getDataFromPoint: | (nonnull MPPoint *) | point |
Synchronously get all possible data related to the provided geographical point.
point | Geographic point |
- (void) getDataFromPoint: | (nonnull MPPoint *) | point | |
completionHandler: | (nullable mpGeocodeHandlerBlockType) | completionHandler |
Get all possible data related to the provided geographical point. Callback arguments will be nullable venue, building and floor objects.
point | Geographic point |
completionHandler | Data fetch callback block. Arguments will be nullable venue, building and floor objects. |
- (void) getVenues |
Get venues from this provider
- (void) getVenuesWithCompletion: | (nullable mpVenueListHandlerBlockType) | handler |
Get all venues from this provider
handler | Venue fetch callback block |
- (void) getVenueWithId: | (nonnull NSString *) | venueId |
Get a single venue object
venueId | Venue id |
- (void) getVenueWithId: | (nonnull NSString *) | venueId | |
completionHandler: | (nullable mpVenueDetailsHandlerBlockType) | handler |
Get single venue details object
venueId | Venue id |
handler | Venue details fetch callback block |
+ (BOOL) isOfflineDataAvailableForSolutionId: | (nonnull NSString *) | solutionId | |
language: | (nonnull NSString *) | language |
Determine if cached or preloaded data is available for the given solutionId.
solutionId | solutionId to checkfor offline data availability. |
language | language to check for offline availability. |
|
readwritenonatomicweak |
Venue provider delegate.