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 MapSceneLightsAttributeSettingError.noLights may be returned when attempting to set light attributes in map schemes not supporting lights, for instance MapScheme.roadNetworkDay map scheme.

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

Implementation

typedef MapSceneLightsAttributeSettingCallback = void Function(MapSceneLightsAttributeSettingError? setLightError);