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 block
- (void)planRouteWithQuery:(TTRouteQuery *_Nonnull)query completionHandler:(void (^_Nonnull)(TTRouteResult *_Nullable, int *_Nullable))completionHandler;
Object containing the data needed to perform a route query.
CompletionHandler that informs the subscriber when a route result is available. It contains a TTRouteResult object.