TTBatchRoute
@interface TTBatchRoute : NSObject
TomTom Route API main object. Contains methods to use Tomtom’s online route engine and provides support for both async and sync calls.
-
Route with async callback
Declaration
Objective-C
- (void)batchRouteWithQuery:(TTBatchRouteQuery *_Nonnull)query;
Swift
func batchRoute(with query: TTBatchRouteQuery)
Parameters
query
Object containing the data needed to perform a route query.
-
Cancels the current routing request
Declaration
Objective-C
- (void)cancel;
Swift
func cancel()