Obsolete Members for PreplannedMapArea

The following members of QML type PreplannedMapArea are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Properties

Methods

Property Documentation

contentItemsResult : ImmutablePortalItemListModel

This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Returns an immutable list of portal items fetched by a contentItems operation (read-only).

Obtain this property after the contentItemsStatusChanged signal emits, and the contentItemsStatus is Enums.TaskStatusCompleted.

Replaced in Esri.ArcGISRuntime 100.14 by loading the PreplannedMapArea and accessing the items with packageItems.

This property was introduced in Esri.ArcGISRuntime 100.3.


contentItemsStatus : PortalItem

This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Returns the status of the contentItems asynchronous operation (read-only).

Check this status when the contentItemsStatusChanged signal emits, to determine if the operation is complete, in progress, or has errored.

Replaced in Esri.ArcGISRuntime 100.14 by loading the PreplannedMapArea and accessing the items with packageItems.

This property was introduced in Esri.ArcGISRuntime 100.3.

See also Enums.TaskStatus.


Method Documentation

string contentItems()

This method is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Starts a task that fetches the content items for this preplanned map area.

This method populates an ImmutablePortalItemListModel with the content items for this preplanned area. Contains a list of package items for this preplanned map area, if there are any. The package items will also be available in packageItems. The results of this operation are cached, so the same portal item instances will be returned with each subsequent call of this method.

The list model is returned to the app through the property contentItemsResult. Monitor the signal contentItemsStatusChanged. When the status changes to Enums.TaskStatusCompleted, the contentItemsResult property is populated. The results of this operation are cached, so the same portal item instances will be returned with each subsequent call of this method.

Returns a task ID that can be used to cancel the contentItems task.

Replaced in Esri.ArcGISRuntime 100.14 by loading the PreplannedMapArea and accessing the items with packageItems.

This method was introduced in Esri.ArcGISRuntime 100.3.


Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.