27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSObject.h>
29 #import <ArcGIS/AGSImage.h>
30 #import <ArcGIS/AGSCancelable.h>
46 #pragma mark initializers
51 #pragma mark properties
56 @property (nonatomic, copy, readonly) NSString *
itemID;
61 @property (nonatomic, copy, readwrite) NSString *
title;
66 @property (nonatomic, copy, readwrite) NSString *
snippet;
86 @property (nonatomic, copy, readwrite) NSArray<NSString*> *
tags;
96 @property (nullable, nonatomic, strong, readonly) NSDate *
created;
101 @property (nullable, nonatomic, strong, readonly) NSDate *
modified;
120 @property (nonatomic, copy, readonly) NSString *
name;
126 @property (nonatomic, copy, readwrite) NSArray<NSString *> *
typeKeywords;
135 -(void)setThumbnailWithImage:(nullable
AGSImage*)image;
142 -(id<
AGSCancelable>)fetchDataWithCompletion:(
void(^)(NSData * __nullable data, NSError * __nullable error))completion;
159 -(id<
AGSCancelable>)updateItemPropertiesWithCompletion:(nullable
void(^)(NSError * __nullable error))completion;
#define AGSImage
Definition: AGSImage.h:34
A geometry that represents a rectangular shape.
Definition: AGSEnvelope.h:55
Object representing a unit of content.
Definition: AGSItem.h:43
NSString * snippet
Definition: AGSItem.h:66
NSString * title
Definition: AGSItem.h:61
AGSEnvelope * extent
Definition: AGSItem.h:81
NSString * itemDescription
Definition: AGSItem.h:71
NSDate * modified
Definition: AGSItem.h:101
NSDate * created
Definition: AGSItem.h:96
NSString * itemID
Definition: AGSItem.h:56
NSArray< NSString * > * typeKeywords
Definition: AGSItem.h:126
NSString * spatialReferenceName
Definition: AGSItem.h:91
NSString * accessInformation
Definition: AGSItem.h:76
AGSLoadableImage * thumbnail
Definition: AGSItem.h:108
NSString * name
Definition: AGSItem.h:120
NSArray< NSString * > * tags
Definition: AGSItem.h:86
NSString * termsOfUse
Definition: AGSItem.h:115
An image that is loaded asynchronously.
Definition: AGSLoadableImage.h:35
Definition: AGSObject.h:28
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38