TTBatchRoute
@interface TTBatchRoute
TomTom Route API main object. Contains methods to use TomTom’s online route engine and provides support for both async and sync calls.
-
Register delegate to receive callbacks with result or error response.
Declaration
Objective-C
@property (readwrite, nonatomic) id<TTBatchRouteResponseDelegate> _Nullable delegate;
Swift
weak var delegate: TTBatchRouteResponseDelegate? { get set }
-
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.