GoogleMap.OnInfoWindowLongClickListener

  • GoogleMap.OnInfoWindowLongClickListener is an interface used to handle long clicks on a marker's info window.

  • The onInfoWindowLongClick method is triggered when a user long presses on an info window, providing access to the associated marker.

  • This interaction is handled on the Android UI thread for immediate response.

public static interface GoogleMap.OnInfoWindowLongClickListener

Callback interface for when the user long presses on a marker's info window.

Public Method Summary

abstract void
onInfoWindowLongClick(Marker marker)
Called when the user makes a long-press gesture on the marker's info window.

Public Methods

public abstract void onInfoWindowLongClick (Marker marker)

Called when the user makes a long-press gesture on the marker's info window.

This is called on the Android UI thread.

Parameters
marker The marker to which the info window is anchored.