public class

MapGestureDetector

extends Object
java.lang.Object
   ↳ com.esri.android.map.MapGestureDetector

This class is deprecated.
at 10.2.4 - for internal use only.

Class Overview

Used to detect various gestures and events.

Summary

Nested Classes
interface MapGestureDetector.OnGestureListener This interface is deprecated. at 10.2.4 - for internal use only.  
Public Constructors
MapGestureDetector(Context context, MapGestureDetector.OnGestureListener listener)
Creates a MapGestureDetector with the supplied listener.
Public Methods
boolean onTouchEvent(MotionEvent motionevent)
Analyzes the given motion event and, if applicable, it triggers the appropriate callbacks on the.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public MapGestureDetector (Context context, MapGestureDetector.OnGestureListener listener)

Creates a MapGestureDetector with the supplied listener. You may only use this constructor from a UI thread (this is usually the case).

Parameters
context Context: the application's context
listener MapGestureDetector.OnGestureListener: the listener invoked for all the callbacks, this object must not be populated (NOT null).

Public Methods

public boolean onTouchEvent (MotionEvent motionevent)

Analyzes the given motion event and, if applicable, it triggers the appropriate callbacks on the.

Parameters
motionevent MotionEvent: The current motion event.
Returns
boolean true if the MapGestureDetector.OnGestureListener consumed the event; otherwise false. MapGestureDetector.OnGestureListener that is supplied to this method.