MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
MPDirectionsQuery.h
Go to the documentation of this file.
1//
2// MPDirectionsQuery.h
3// MapsIndoors
4//
5// Created by Daniel Nielsen on 26/01/2018.
6// Copyright © 2018 MapsPeople A/S. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "MPLocation.h"
11#import "MPDefines.h"
12
13
14@class MPUserRole;
15
16
24
28@interface MPDirectionsQuery : NSObject
29
30+ (nonnull instancetype)new NS_UNAVAILABLE;
31-(nonnull instancetype) __unavailable init;
32
40-(nonnull instancetype) initWithOrigin:(nonnull MPLocation*)origin destination:(nonnull MPLocation*)destination;
48-(nonnull instancetype) initWithOriginPoint:(nonnull MPPoint*)origin destination:(nonnull MPPoint*)destination;
49
53@property (nonatomic, strong, nullable) NSArray<MPHighwayType>* avoidWayTypes;
57@property (nonatomic, strong, nonnull) MPLocation* origin;
61@property (nonatomic, strong, nonnull) MPLocation* destination;
65@property (nonatomic, strong, nullable) NSDate* arrival;
69@property (nonatomic, strong, nullable) NSDate* departure;
73@property (nonatomic) MPTravelMode travelMode;
74
78@property (nonatomic, strong, nullable) NSArray<MPUserRole*>* userRoles;
79
80@end
81
MPTravelMode
Definition MPDirectionsQuery.h:17
@ MPTravelModeUnknown
Definition MPDirectionsQuery.h:18
@ MPTravelModeWalking
Definition MPDirectionsQuery.h:19
@ MPTravelModeDriving
Definition MPDirectionsQuery.h:21
@ MPTravelModeBicycling
Definition MPDirectionsQuery.h:20
@ MPTravelModeTransit
Definition MPDirectionsQuery.h:22
Definition MPDirectionsQuery.h:29
MPLocation * destination
Definition MPDirectionsQuery.h:61
NSArray< MPHighwayType > * avoidWayTypes
Definition MPDirectionsQuery.h:53
NSDate * arrival
Definition MPDirectionsQuery.h:65
NSDate * departure
Definition MPDirectionsQuery.h:69
nonnull instancetype init()
MPLocation * origin
Definition MPDirectionsQuery.h:57
NSArray< MPUserRole * > * userRoles
Definition MPDirectionsQuery.h:78
MPTravelMode travelMode
Definition MPDirectionsQuery.h:73
nonnull instancetype NS_UNAVAILABLE()
Definition MPLocation.h:38
Definition MPPoint.h:23
Definition MPUserRole.h:14