25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSLoadableBase.h>
27 #import <ArcGIS/AGSJSONSerializable.h>
28 #import <ArcGIS/AGSImage.h>
29 #import <ArcGIS/AGSCancelable.h>
50 #pragma mark initializers
57 -(instancetype)initWithItem:(
AGSItem*)item;
77 +(instancetype)featureCollectionWithItem:(
AGSItem*)item;
84 +(instancetype)featureCollectionWithFeatureCollectionTables:(NSArray<
AGSFeatureCollectionTable*>*)featureCollectionTables;
87 #pragma mark properties
92 @property (nullable, nonatomic, strong, readwrite)
AGSItem *
item;
97 @property (nonatomic, strong, readonly) NSMutableArray<AGSFeatureCollectionTable*> *
tables;
102 #pragma mark - Save/SaveAs
122 tags:(NSArray<NSString*> *)tags
124 itemDescription:(NSString*)itemDescription
125 thumbnail:(nullable
AGSImage *)thumbnail
126 completion:(nullable
void(^)(NSError* __nullable error))completion;
138 -(id<
AGSCancelable>)saveWithCompletion:(nullable
void(^)(NSError* __nullable error))completion;
#define AGSImage
Definition: AGSImage.h:34
A lightweight collection of features.
Definition: AGSFeatureCollection.h:45
AGSItem * item
Definition: AGSFeatureCollection.h:92
instancetype featureCollection()
NSMutableArray< AGSFeatureCollectionTable * > * tables
Definition: AGSFeatureCollection.h:97
An individual table that contains features belonging to a feature collection.
Definition: AGSFeatureCollectionTable.h:46
Object representing a unit of content.
Definition: AGSItem.h:43
A base class for loadables.
Definition: AGSLoadableBase.h:45
Represents a folder of content within the Portal or Organization.
Definition: AGSPortalFolder.h:38
An object representing a portal for ArcGIS.
Definition: AGSPortal.h:98
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38
A protocol to convert objects to and from JSON.
Definition: AGSJSONSerializable.h:38