getAttributes

suspend fun getAttributes(variableName: String, attributeNameSource: FeatureTable): Result<List<String>>

An array of attributes used in the script for a given profile variable. To fully support the wildcard expansion in the expects statement, calculation of used attributes on a profile variable requires an object that can supply a full set of attribute names.

Return

The task object representing the asynchronous retrieval of the attributes looked up on a profile variable in the script. The value of the task result is a List object.

Since

200.1.0

Parameters

variableName

The name of the profile variable whose used attributes are required.

attributeNameSource

A com.arcgismaps.data.FeatureTable from which we can obtain a list of all attribute names for the profile variable.


suspend fun getAttributes(variableName: String, attributeNameSource: GeoElement): Result<List<String>>

An array of attributes used in the script for a given profile variable. To fully support the wildcard expansion in the expects statement, calculation of used attributes on a profile variable requires an object that can supply a full set of attribute names.

Return

The task object representing the asynchronous retrieval of the attributes looked up on a profile variable in the script. The value of the task result is a List object.

Since

200.1.0

Parameters

variableName

The name of the profile variable whose used attributes are required.

attributeNameSource

A com.arcgismaps.mapping.GeoElement from which we can obtain a list of all attribute names for the profile variable.