public interface

OnLongPressListener

implements Serializable
com.esri.android.map.event.OnLongPressListener

Class Overview

Implement this listener to handle a Long Press event on a MapView.

Summary

Public Methods
abstract boolean onLongPress(float x, float y)
Notified when a long press event occurs.

Public Methods

public abstract boolean onLongPress (float x, float y)

Notified when a long press event occurs.

Parameters
x float: the x coordinate of the touch pointer in screen pixels.
y float: the y coordinate of the touch pointer in screen pixels.
Returns
boolean True if the listener has consumed the event, false otherwise.