Item

sealed class Item

An object that represents an item.

Since

200.1.0

See also

Inheritors

Properties

Link copied to clipboard

The information on the source of the item and its copyright status.

Link copied to clipboard

The date the item was created.

Link copied to clipboard

The description of the specified item.

Link copied to clipboard

The extent of the specified item.

Link copied to clipboard

The item ID of the specified item. Item ID can only be set on not loaded item.

Link copied to clipboard

The date the item was last modified.

Link copied to clipboard

The name of this item.

Link copied to clipboard

The short summary description of the specified item. A short summary description of the item.

Link copied to clipboard

The spatial reference name of the specified item. The coordinate system of the specified item.

Link copied to clipboard

The user defined tags that describe the specified item.

Link copied to clipboard

The terms of use of the item. It is stored in the "licenseInfo" property in json. The property can contain HTML markup.

Link copied to clipboard

The thumbnail of the item.

Link copied to clipboard

The title of the specified item. This is the name that's displayed to users and by which they refer to the item. Every item must have a title.

Link copied to clipboard

An array of keywords that further describes the type of this item. Each item is tagged with a set of type keywords that are derived based on its primary type. The type keywords of the specified item.

Functions

Link copied to clipboard
suspend fun fetchData(): Result<ByteArray>

Fetches the item's data.

Link copied to clipboard

Sets the thumbnail of the item with the specified image. This method invokes Bitmap.compress and may be long running.

Link copied to clipboard
abstract suspend fun updateItemProperties(): Result<Unit>

Executes an asynchronous operation to update any item properties that have been changed (using the setter methods). This causes the values that have been changed to be updated on the portal (for PortalItems) or on disk (for LocalItems).