Class AttributionDialogManager

java.lang.Object
com.trimblemaps.mapsdk.maps.AttributionDialogManager
All Implemented Interfaces:
android.content.DialogInterface.OnClickListener, android.view.View.OnClickListener

public class AttributionDialogManager extends Object implements android.view.View.OnClickListener, android.content.DialogInterface.OnClickListener
Responsible for managing attribution interactions on the map.

When the user clicks the attribution icon, onClick(View) will be invoked. An attribution dialog will be shown to the user with contents based on the attributions found in the map style.

  • Constructor Details

    • AttributionDialogManager

      public AttributionDialogManager(@NonNull android.content.Context context, @NonNull TrimbleMapsMap trimbleMapsMap)
  • Method Details

    • onClick

      public void onClick(@NonNull android.view.View view)
      Specified by:
      onClick in interface android.view.View.OnClickListener
    • showAttributionDialog

      protected void showAttributionDialog(@NonNull String[] attributionTitles)
    • onClick

      public void onClick(android.content.DialogInterface dialog, int which)
      Specified by:
      onClick in interface android.content.DialogInterface.OnClickListener
    • onStop

      public void onStop()