ArcGIS Runtime SDK for iOS: AGSGPXLocationDataSource.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSGPXLocationDataSource.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2022 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24 
25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSSimulatedLocationDataSource.h>
27 #import <ArcGIS/AGSRemoteResource.h>
28  //Required for Globals API doc
30 
43 
44 
45 #pragma mark -
46 #pragma mark initializers
47 
52 -(instancetype)initWithURL:(NSURL*)URL;
53 
58 -(instancetype)initWithName:(NSString*)name;
59 
64 -(instancetype)initWithData:(NSData*)gpxData;
65 
66 
71 +(instancetype)GPXLocationDataSourceWithURL:(NSURL*)URL;
72 
77 +(instancetype)GPXLocationDataSourceWithName:(NSString*)name;
78 
83 +(instancetype)GPXLocationDataSourceWithData:(NSData*)gpxData;
84 
85 #pragma mark -
86 #pragma mark properties
87 
91 @property (nullable, nonatomic, strong, readonly) NSURL *URL;
92 
96 @property (nullable, nonatomic, strong, readwrite) AGSCredential *credential;
97 
103 @property (nullable, nonatomic, strong, readwrite) AGSRequestConfiguration *requestConfiguration;
104 
105 #pragma mark -
106 #pragma mark methods
107 
108 
109 @end
NSURL * URL
Definition: AGSElevationServiceInfo.h:73
Represents an credential to access a secured resource.
Definition: AGSCredential.h:52
Simulates location updates based on a GPX file.
Definition: AGSGPXLocationDataSource.h:42
AGSRequestConfiguration * requestConfiguration
Definition: AGSGPXLocationDataSource.h:103
AGSCredential * credential
Definition: AGSGPXLocationDataSource.h:96
Networking related configuration of resources.
Definition: AGSRequestConfiguration.h:42
Simulates location updates based on a list of locations or a polyline geometry.
Definition: AGSSimulatedLocationDataSource.h:44
A protocol adopted by classes that access remote network resources that have the potential to be secu...
Definition: AGSRemoteResource.h:40