ArcGIS Runtime SDK for iOS
100.15
|
A unit of content on-disk.
Instances of this class represent a unit of content locally on-disk. It is similar to AGSPortalItem
except it is local on the device instead of being remote on a portal.
Instance Methods | |
(id< AGSCancelable >) | - fetchDataWithCompletion: |
(void) | - setThumbnailWithImage: |
(id< AGSCancelable >) | - updateItemPropertiesWithCompletion: |
Properties | |
NSString * | accessInformation |
NSDate * | created |
AGSEnvelope * | extent |
NSURL * | fileURL |
NSString * | itemDescription |
NSString * | itemID |
NSDate * | modified |
NSString * | name |
NSString * | originalPortalItemID |
NSURL * | portalURL |
NSString * | snippet |
NSString * | spatialReferenceName |
NSArray< NSString * > * | tags |
NSString * | termsOfUse |
AGSLoadableImage * | thumbnail |
NSString * | title |
AGSLocalItemType | type |
NSArray< NSString * > * | typeKeywords |
- (id<AGSCancelable>) fetchDataWithCompletion: | (void(^)(NSData *__nullable data, NSError *__nullable error)) | completion |
Kicks off an operation to fetch the raw bytes for the item. The completion block is invoked when the operation completes successfully or if an error is encountered.
completion | block that is invoked when operation finishes |
- (void) setThumbnailWithImage: | (nullable AGSImage *) | image |
Sets the thumbnail for this item.
image | The NSImage/UIImage representing the thumbnail. The recommended image size is 200 pixels wide by 133 pixels high. Acceptable image formats are PNG, GIF, and JPEG. The maximum file size for an image is 1 MB. |
|
readwritenonatomiccopyinherited |
The access information about the item.
|
readnonatomicstronginherited |
Date on which the item was first saved.
|
readwritenonatomicstronginherited |
The default extent of the item. Only applicable to certain item types.
|
readnonatomicstrong |
The file URL of this local item.
|
readwritenonatomiccopyinherited |
The description of the item, if any.
|
readnonatomiccopyinherited |
The ID of the item.
|
readnonatomicstronginherited |
Date on which the item was modified.
|
readnonatomiccopyinherited |
The file name of the item for file types.
|
readnonatomiccopy |
The item ID of the portal item that this local item originated from.
|
readnonatomicstrong |
The URL of the portal from which this local item was downloaded. This property can be used in conjunction with the AGSLocalItem::originalPortalItemID
to find the URL of the portal from which this local item was downloaded. This can be useful when following offline map workflows as it allows you to find the URL of the online web map. This property will be nil when the local item was not created from an online resource - for example if exported from ArcGIS Pro.
|
readwritenonatomiccopyinherited |
Snippet or summary of the item with a character limit of 250 characters.
|
readwritenonatomiccopyinherited |
Spatial reference of the geographic content
|
readwritenonatomiccopyinherited |
The user defined tags that describe the specified item.
|
readwritenonatomiccopyinherited |
The terms of use of the item. It is stored in the "licenseInfo" property in json. The property can contain HTML markup.
|
readnonatomicstronginherited |
The thumbnail image of the item. The image needs to be loaded asynchronously by calling loadWithCompletion: (AGSLoadable-p)
If it is nil, there is no item thumbnail.
|
readwritenonatomiccopyinherited |
Title of the item.
|
readnonatomicassign |
The type of content that is local
|
readwritenonatomiccopyinherited |
An array of keywords that further describes the type of item. Each item is tagged with a set of type keywords that are derived based on its primary type.