ArcGIS Runtime SDK for iOS: AGSOfflineMapParametersKey.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSOfflineMapParametersKey.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  //Required for Globals API doc
26 
27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSObject.h>
29 
30 
31 
35 typedef NS_ENUM(NSInteger, AGSOfflineMapParametersType) {
40 };
41 
42 @class AGSLayer;
44 @class AGSUtilityNetwork;
45 
54 @interface AGSOfflineMapParametersKey : AGSObject <NSCopying>
55 
56 #pragma mark -
57 #pragma mark initializers
58 
59 
60 
65 -(instancetype)initWithLayer:(AGSLayer *)layer;
66 
71 -(instancetype)initWithServiceFeatureTable:(AGSServiceFeatureTable *)serviceFeatureTable;
72 
85 - (nullable instancetype)initWithUtilityNetwork:(AGSUtilityNetwork *)utilityNetwork;
86 
92 +(instancetype)offlineMapParametersKeyWithLayer:(AGSLayer *)layer;
93 
99 +(instancetype)offlineMapParametersKeyWithServiceFeatureTable:(AGSServiceFeatureTable *)serviceFeatureTable;
100 
113 + (nullable instancetype)offlineMapParametersKeyWithUtilityNetwork:(AGSUtilityNetwork *)utilityNetwork;
114 
115 #pragma mark -
116 #pragma mark properties
117 
122 @property (nonatomic, strong, readonly) NSURL *serviceURL;
123 
128 @property (nonatomic, assign, readonly) AGSOfflineMapParametersType type;
129 
130 #pragma mark -
131 #pragma mark methods
132 
138 -(BOOL)isEqualToOfflineMapParametersKey:(AGSOfflineMapParametersKey*)other;
139 
140 @end
141 
142 
AGSOfflineMapParametersType
Definition: AGSOfflineMapParametersKey.h:35
@ AGSOfflineMapParametersTypeExportVectorTiles
Definition: AGSOfflineMapParametersKey.h:37
@ AGSOfflineMapParametersTypeGenerateGeodatabase
Definition: AGSOfflineMapParametersKey.h:36
@ AGSOfflineMapParametersTypeExportTileCache
Definition: AGSOfflineMapParametersKey.h:38
@ AGSOfflineMapParametersTypeUnknown
Definition: AGSOfflineMapParametersKey.h:39
An abstract base class for all layers.
Definition: AGSLayer.h:201
Definition: AGSObject.h:28
Represents a key associated with a generate offline map parameters override.
Definition: AGSOfflineMapParametersKey.h:54
NSURL * serviceURL
Definition: AGSOfflineMapParametersKey.h:122
AGSOfflineMapParametersType type
Definition: AGSOfflineMapParametersKey.h:128
A dataset from an individual layer or table in an ArcGIS map or feature service.
Definition: AGSServiceFeatureTable.h:117
A utility network.
Definition: AGSUtilityNetwork.h:57