ArcGIS Runtime SDK for iOS: AGSOGCFeatureCollectionTable.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSOGCFeatureCollectionTable.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2021 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/AGSFeatureTable.h>
29 #import <ArcGIS/AGSRemoteResource.h>
30 
31 
32 
35 @class AGSQueryParameters;
36 
69 
70 #pragma mark -
71 #pragma mark initializers
72 
73 
74 
79 - (instancetype)initWithFeatureCollectionInfo:(AGSOGCFeatureCollectionInfo *)featureCollectionInfo;
80 
85 + (instancetype)OGCFeatureCollectionTableWithFeatureCollectionInfo:(AGSOGCFeatureCollectionInfo *)featureCollectionInfo;
86 
92 - (instancetype)initWithURL:(NSURL *)URL
93  collectionID:(NSString *)collectionID;
94 
100 + (instancetype)OGCFeatureCollectionTableWithURL:(NSURL *)URL
101  collectionID:(NSString *)collectionID;
102 
103 #pragma mark -
104 #pragma mark properties
105 
109 @property (nullable, nonatomic, strong, readonly) AGSOGCFeatureCollectionInfo *featureCollectionInfo;
110 
115 @property (nonatomic, assign, readwrite) AGSFeatureRequestMode featureRequestMode;
116 
117 #pragma mark -
118 #pragma mark methods
119 
132 - (id<AGSCancelable>)populateFromServiceWithParameters:(nullable AGSQueryParameters *)parameters
133  clearCache:(BOOL)clearCache
134  outfields:(nullable NSArray<NSString *> *)outfields
135  completion:(void(^)(AGSFeatureQueryResult * __nullable result, NSError * __nullable error))completion;
136 
137 @end
138 
139 
AGSFeatureRequestMode
Definition: AGSFeatureTable.h:39
Result of queries that return features.
Definition: AGSFeatureQueryResult.h:49
A source for dataset containing geographic features or non-spatial records.
Definition: AGSFeatureTable.h:66
Metadata of a layer (feature collection) in an OGC API - Features service.
Definition: AGSOGCFeatureCollectionInfo.h:42
An OGC API - Features feature collection table.
Definition: AGSOGCFeatureCollectionTable.h:68
AGSFeatureRequestMode featureRequestMode
Definition: AGSOGCFeatureCollectionTable.h:115
AGSOGCFeatureCollectionInfo * featureCollectionInfo
Definition: AGSOGCFeatureCollectionTable.h:109
Parameters to perform a query using AGSFeatureTable.
Definition: AGSQueryParameters.h:45
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38
A protocol adopted by classes that access remote network resources that have the potential to be secu...
Definition: AGSRemoteResource.h:40