ArcGIS Runtime SDK for iOS: AGSAttachment.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSAttachment.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 1995-2020 ESRI
3 
4  TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
5  Unpublished material - all rights reserved under the
6  Copyright Laws of the United States and applicable international
7  laws, treaties, and conventions.
8 
9  For additional information, contact:
10  Environmental Systems Research Institute, Inc.
11  Attn: Contracts and Legal Services Department
12  380 New York Street
13  Redlands, California, 92373
14  USA
15 
16  email: contracts@esri.com
17  */
18 
19 #import <ArcGIS/AGSObject.h>
20 
21 @protocol AGSCancelable;
22  //Required for Globals API doc
24 
32 
33 
34 
35 #pragma mark -
36 #pragma mark initializers
37 
38 
39 
40 #pragma mark -
41 #pragma mark properties
42 
46 @property (nonatomic, copy, readonly) NSString *contentType;
47 
51 @property (nonatomic, copy, readonly) NSString *name;
52 
56 @property (nonatomic, assign, readonly) NSInteger size;
57 
62 @property (nonatomic, assign, readonly) BOOL hasFetchedData;
63 
67 @property (nonatomic, assign, readonly) NSInteger attachmentID;
68 
69 #pragma mark -
70 #pragma mark methods
71 
77 -(id<AGSCancelable>)fetchDataWithCompletion:(nullable void(^)(NSData *__nullable result, NSError *__nullable error))completion;
78 
79 
80 
81 @end
Information about a feature attachment.
Definition: AGSAttachment.h:31
NSInteger size
Definition: AGSAttachment.h:56
NSInteger attachmentID
Definition: AGSAttachment.h:67
Definition: AGSObject.h:21
NSString * contentType
Definition: AGSAttachment.h:46
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:32
BOOL hasFetchedData
Definition: AGSAttachment.h:62
NSString * name
Definition: AGSAttachment.h:51