25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSLoadableRemoteResourceBase.h>
27 #import <ArcGIS/AGSAPIKeyResource.h>
28 #import <ArcGIS/AGSCancelable.h>
52 #pragma mark initializers
76 -(instancetype)initWithFileURLToDatabase:(NSURL*)fileURLToDatabase networkName:(NSString*)networkName;
84 +(instancetype)routeTaskWithFileURLToDatabase:(NSURL*)fileURLToDatabase networkName:(NSString*)networkName;
91 -(instancetype)initWithDatabaseName:(NSString*)databaseName networkName:(NSString*)networkName;
99 +(instancetype)routeTaskWithDatabaseName:(NSString*)databaseName networkName:(NSString*)networkName;
105 -(instancetype)initWithURL:(NSURL*)URL;
112 +(instancetype)routeTaskWithURL:(NSURL*)URL;
115 #pragma mark properties
144 completion:(
void(^)(
AGSRouteParameters * __nullable routeParams, NSError * __nullable error))completion;
152 completion:(
void(^)(
AGSRouteParameters * __nullable routeParams, NSError * __nullable error))completion;
160 completion:(
void(^)(
AGSRouteResult * __nullable routeResult, NSError * __nullable error))completion;
168 completion:(
void(^)(
AGSRouteResult * __nullable routeResult, NSError * __nullable error))completion;
A lightweight collection of features.
Definition: AGSFeatureCollection.h:45
Definition: AGSLoadableRemoteResourceBase.h:35
Object representing a unit of content in an ArcGIS portal.
Definition: AGSPortalItem.h:93
Input parameters for AGSRouteTask.
Definition: AGSRouteParameters.h:49
Result returned by AGSRouteTask.
Definition: AGSRouteResult.h:43
A task to compute routes and turn-by-turn directions.
Definition: AGSRouteTask.h:49
AGSRouteTaskInfo * routeTaskInfo()
AGSTransportationNetworkDataset * transportationNetworkDataset
Definition: AGSRouteTask.h:121
Metadata about the network analyst service or dataset used by AGSRouteTask.
Definition: AGSRouteTaskInfo.h:44
A transportation network dataset.
Definition: AGSTransportationNetworkDataset.h:37
An interface for getting and setting the API key of an object.
Definition: AGSAPIKeyResource.h:36
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38