AuthorizedFeaturesCallback typedef

AuthorizedFeaturesCallback = void Function(List<LayerConfigurationFeature>? features, AuthorizationError? error)

Callback used to retrieve allowed features.

This callback is called on the main thread asynchronously when retrieving allowed features has completed.

  • features List of authorized features.

  • error Represents the operation status. It is 'null' for an operation that succeeds.

Implementation

typedef AuthorizedFeaturesCallback = void Function(List<LayerConfigurationFeature>? features, AuthorizationError? error);