9#import <Foundation/Foundation.h>
17@protocol MPDistanceMatrixProviderDelegate <NSObject>
29@property (nonatomic, weak, nullable) id <MPDistanceMatrixProviderDelegate>
delegate;
30@property (nonatomic, strong, nullable) NSString*
solutionId;
32@property (nonatomic, strong, nullable) NSString*
graphId;
33@property (nonatomic, strong, nullable) NSString*
vehicle;
35#pragma mark - MapsIndoors distance matrix
37- (void) getDistanceMatrixWithOrigins:(nonnull NSArray*)origins
38 destinations:(nonnull NSArray*)destinations
39 travelMode:(nonnull NSString*)travelMode
40 avoid:(nullable NSArray*)restrictions
41 depart:(nullable NSDate*)departureTime
42 arrive:(nullable NSDate*)arrivalTime
43 userRoles:(nullable NSArray<
MPUserRole*>*)userRoles
46- (void) getDistanceMatrixWithOrigins:(nonnull NSArray*)origins
47 destinations:(nonnull NSArray*)destinations
48 travelMode:(nonnull NSString*)travelMode
49 avoid:(nullable NSArray*)restrictions
50 depart:(nullable NSDate*)departureTime
51 arrive:(nullable NSDate*)arrivalTime
54- (void) getDistanceMatrixWithOrigins:(nonnull NSArray*)origins
55 destinations:(nonnull NSArray*)destinations
56 travelMode:(nonnull NSString*)travelMode;
59#pragma mark - Google distance matrix
60- (void) getGoogleDistanceMatrixWithOrigins:(nonnull NSArray*)origins
61 destinations:(nonnull NSArray*)destinations
62 travelMode:(nonnull NSString*)travelMode
63 avoid:(nullable NSArray*)restrictions
64 depart:(nullable NSDate*)departureTime
65 arrive:(nullable NSDate*)arrivalTime
68- (void) getGoogleDistanceMatrixWithOrigins:(nonnull NSArray*)origins
69 destinations:(nonnull NSArray*)destinations
70 travelMode:(nonnull NSString*)travelMode;
void(^ mpMatrixHandlerBlockType)(MPDistanceMatrixResult *_Nullable matrixResult, NSError *_Nullable error)
Definition MPDistanceMatrixProvider.h:14
Definition MPDistanceMatrixProvider.h:28
NSString * vehicle
Definition MPDistanceMatrixProvider.h:33
id< MPDistanceMatrixProviderDelegate > delegate
Definition MPDistanceMatrixProvider.h:29
NSString * graphId
Definition MPDistanceMatrixProvider.h:32
NSString * solutionId
Definition MPDistanceMatrixProvider.h:30
NSString * googleApiKey
Definition MPDistanceMatrixProvider.h:31
Definition MPDistanceMatrixResult.h:6
Definition MPUserRole.h:14