ArcGIS Runtime SDK for iOS: AGSPreplannedMapArea(AGSDeprecated) Category Reference
ArcGIS Runtime SDK for iOS  100.14
AGSPreplannedMapArea(AGSDeprecated) Category Reference

Instance Methods

(id< AGSCancelable >) - getContentItemsWithCompletion:
 

Method Documentation

◆ getContentItemsWithCompletion:

- (id<AGSCancelable>) getContentItemsWithCompletion: (void(^)(NSArray< AGSPortalItem * > *__nullable contentItems, NSError *__nullable error))  completion

Retrieves a list of items representing map content for this preplanned map area, if there are any. The content items will be cached so the same instances will be returned with each subsequent call of this method.

Parameters
completionA block that is invoked with the results if the operation succeeds, or an error if it fails.
Returns
An operation that can be canceled.
Since
100.3
Deprecated:
100.14.0. Replaced by loading the AGSPreplannedMapArea and accessing the items with AGSPreplannedMapArea::packageItems.

Extends class AGSPreplannedMapArea.