GoogleMap.OnInfoWindowLongClickListener

  • GoogleMap.OnInfoWindowLongClickListener is an interface for callbacks when a user long presses on a marker's info window.

  • The onInfoWindowLongClick method is triggered by a long-press gesture on a marker's info window.

  • The onInfoWindowLongClick method is called on the Android UI thread and receives the Marker to which the info window is anchored.

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.