get Feature State
suspend fun <FS : FeatureState> getFeatureState(featuresetHolder: FeaturesetHolder<FS>, featureId: String, featureNamespace: String? = null): FS
Gets the state map of a feature from a featureset asynchronously.
Return
A concrete instance of FeatureState.
Parameters
featureset Holder
FeaturesetHolder object representing either a featureset or a single layer.
feature Id
The feature identifier of the feature whose state should be queried.
feature Namespace
Optional feature namespace. Defaults to NULL. Namespace represents the feature namespace defined by the Selector within a featureset to which this feature belongs. If the underlying source is the same for multiple selectors within a featureset, the same featureNamespace should be used across those selectors. Defining a featureNamespace value for the Selector is recommended, especially when multiple selectors exist in a featureset, as it can enhance the efficiency of feature operations.