9#import <Foundation/Foundation.h>
20@protocol MPRoutingProviderDelegate <NSObject>
26- (void) onRouteResultReady: (nonnull
MPRoute*)route;
40@property (nonatomic, weak, nullable) id <MPRoutingProviderDelegate>
delegate;
41@property (nonatomic, strong, nullable) NSString*
solutionId;
43@property (nonatomic, strong, nullable) NSString*
venue;
44@property (nonatomic, strong, nullable) NSString*
vehicle;
45@property (nonatomic, strong, nullable) NSString*
language;
48#pragma mark - Initializers
49- (nullable instancetype) initWithArea:(nonnull NSString *)venueName;
50- (nullable instancetype) initWithMapsIndoorsSolutionId:(nonnull NSString *)solutionId googleApiKey: (nonnull NSString*) googleApiKey;
52#pragma mark - Delegate-based routing methods
53- (void) getRoutingFrom:(nonnull
MPPoint*)from to:(nonnull
MPPoint*)to by:(nonnull NSString*)mode avoid:(nullable NSArray*)restrictions;
54- (void) getRoutingFrom:(nonnull
MPPoint*)from to:(nonnull
MPPoint*)to by:(nonnull NSString*)mode avoid:(nullable NSArray*)restrictions depart:(nullable NSDate*)departureTime arrive:(nullable NSDate*)arrivalTime;
55- (void) getRoutingFrom:(nonnull
MPPoint*)from to:(nonnull
MPPoint*)to by:(nonnull NSString*)mode avoid:(nullable NSArray*)restrictions depart:(nullable NSDate*)departureTime arrive:(nullable NSDate*)arrivalTime userRoles:(nullable NSArray<
MPUserRole*>*)userRoles;
56- (void) getGoogleRoutingFrom:(nonnull NSString*)from to:(nonnull NSString*)to by:(nonnull NSString*)mode avoid:(nullable NSArray*)restrictions;
57- (void) getGoogleRoutingFrom:(nonnull NSString*)from to:(nonnull NSString*)to by:(nonnull NSString*)mode avoid:(nullable NSArray*)restrictions depart:(nullable NSDate*)departureTime arrive:(nullable NSDate*)arrivalTime;
59#pragma mark - completion handler based routing methods
60- (void) getRoutingFrom:(nonnull
MPPoint*)from to:(nonnull
MPPoint*)to by:(nonnull NSString*)mode avoid:(nullable NSArray*)restrictions completionHandler:(nullable
mpRouteHandlerBlockType)handler;
61- (void) getRoutingFrom:(nonnull
MPPoint*)from to:(nonnull
MPPoint*)to by:(nonnull NSString*)mode avoid:(nullable NSArray*)restrictions depart:(nullable NSDate*)departureTime arrive:(nullable NSDate*)arrivalTime completionHandler:(nullable
mpRouteHandlerBlockType)handler;
62- (void) getRoutingFrom:(nonnull
MPPoint*)from to:(nonnull
MPPoint*)to by:(nonnull NSString*)mode avoid:(nullable NSArray*)restrictions depart:(nullable NSDate*)departureTime arrive:(nullable NSDate*)arrivalTime userRoles:(nullable NSArray<
MPUserRole*>*)userRoles completionHandler:(nullable
mpRouteHandlerBlockType)handler;
63- (void) getGoogleRoutingFrom:(nonnull NSString*)from to:(nonnull NSString*)to by:(nonnull NSString*)mode avoid:(nullable NSArray*)restrictions completionHandler:(nullable
mpRouteHandlerBlockType)handler;
64- (void) getGoogleRoutingFrom:(nonnull NSString*)from to:(nonnull NSString*)to by:(nonnull NSString*)mode avoid:(nullable NSArray*)restrictions depart:(nullable NSDate*)departureTime arrive:(nullable NSDate*)arrivalTime completionHandler:(nullable
mpRouteHandlerBlockType)handler;
void(^ mpRouteHandlerBlockType)(MPRoute *_Nullable route, NSError *_Nullable error)
Definition MPRoutingProvider.h:35
Definition MPRoutingProvider.h:39
id< MPRoutingProviderDelegate > delegate
Definition MPRoutingProvider.h:40
NSString * googleApiKey
Definition MPRoutingProvider.h:42
NSString * vehicle
Definition MPRoutingProvider.h:44
NSString * language
Definition MPRoutingProvider.h:45
NSString * solutionId
Definition MPRoutingProvider.h:41
NSString * venue
Definition MPRoutingProvider.h:43
Definition MPUserRole.h:14