ArcGIS Runtime SDK for iOS: AGSLocalItem.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSLocalItem.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/AGSItem.h>
29 
30 
31 
36 typedef NS_ENUM(NSInteger, AGSLocalItemType) {
42 };
43 
50 @interface AGSLocalItem : AGSItem
51 
52 #pragma mark -
53 #pragma mark initializers
54 
55 
56 
57 #pragma mark -
58 #pragma mark properties
59 
66 @property (nullable, nonatomic, strong, readonly) NSURL *portalURL;
67 
71 @property (nonatomic, copy, readonly) NSString *originalPortalItemID;
72 
76 @property (nonatomic, strong, readonly) NSURL *fileURL;
77 
81 @property (nonatomic, assign, readonly) AGSLocalItemType type;
82 
83 @end
84 
85 
AGSLocalItemType
Definition: AGSLocalItem.h:36
@ AGSLocalItemTypeMobileMap
Definition: AGSLocalItem.h:38
@ AGSLocalItemTypeUnknown
Definition: AGSLocalItem.h:37
@ AGSLocalItemTypeMobileScenePackage
Definition: AGSLocalItem.h:41
@ AGSLocalItemTypeMobileScene
Definition: AGSLocalItem.h:39
@ AGSLocalItemTypeMobileMapPackage
Definition: AGSLocalItem.h:40
Object representing a unit of content.
Definition: AGSItem.h:43
A unit of content on-disk.
Definition: AGSLocalItem.h:51
AGSLocalItemType type
Definition: AGSLocalItem.h:81
NSURL * fileURL
Definition: AGSLocalItem.h:76
NSURL * portalURL
Definition: AGSLocalItem.h:66
NSString * originalPortalItemID
Definition: AGSLocalItem.h:71