Interface MapSceneLights.AttributeSettingCallback

Enclosing class:
MapSceneLights
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface MapSceneLights.AttributeSettingCallback

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This callback function allows handling errors that occur during the setting of light attributes.
  • Method Details

    • onAttributeSetting

      void onAttributeSetting(@Nullable MapSceneLights.AttributeSettingError setLightError)

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

      Parameters:
      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.