MapSceneLightsAttributeSettingCallback typedef

MapSceneLightsAttributeSettingCallback = void Function(MapSceneLightsAttributeSettingError? setLightError)

This callback function allows handling errors that occur during the setting of light attributes.

  • setLightError The cause for the failure when setting the light attributes, or null if no error occurred.

Note: The error code NO_LIGHTS may be returned when attempting to set light attributes in map schemes that do not support lights, for instance road.network map scheme.

Please refer to the error code documentation for further details on error handling.

Implementation

typedef MapSceneLightsAttributeSettingCallback = void Function(MapSceneLightsAttributeSettingError? setLightError);