Table of Contents

Class GestureDetector.OnGestureListener

Namespace
Android.View
Assembly
MASES.Netdroid.dll
public class GestureDetector.OnGestureListener : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<JVMBridgeListener>
JVMBridgeListener
GestureDetector.OnGestureListener
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeListener.Dispose()
JVMBridgeListener.AutoInit
JVMBridgeListener.IsBridgeStatic
JVMBridgeListener.IsBridgeCloseable
JVMBridgeListener.IsBridgeListener
JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom(IJavaType)
JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom<T>()
JVMBridgeBase<JVMBridgeListener>.Execute<T>(params T[])
JVMBridgeBase<JVMBridgeListener>.DynBridgeClazz
JVMBridgeBase<JVMBridgeListener>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeInterface
JVMBridgeBase.IsBridgeAbstract
Extension Methods

Constructors

OnGestureListener()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public OnGestureListener()

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

OnOnDown

public Func<MotionEvent, bool> OnOnDown { get; set; }

Property Value

Func<MotionEvent, bool>

Remarks

If OnOnDown has a value it takes precedence over corresponding class method

OnOnFling

public Func<MotionEvent, MotionEvent, float, float, bool> OnOnFling { get; set; }

Property Value

Func<MotionEvent, MotionEvent, float, float, bool>

Remarks

If OnOnFling has a value it takes precedence over corresponding class method

OnOnLongPress

public Action<MotionEvent> OnOnLongPress { get; set; }

Property Value

Action<MotionEvent>

Remarks

If OnOnLongPress has a value it takes precedence over corresponding class method

OnOnScroll

public Func<MotionEvent, MotionEvent, float, float, bool> OnOnScroll { get; set; }

Property Value

Func<MotionEvent, MotionEvent, float, float, bool>

Remarks

If OnOnScroll has a value it takes precedence over corresponding class method

OnOnShowPress

public Action<MotionEvent> OnOnShowPress { get; set; }

Property Value

Action<MotionEvent>

Remarks

If OnOnShowPress has a value it takes precedence over corresponding class method

OnOnSingleTapUp

public Func<MotionEvent, bool> OnOnSingleTapUp { get; set; }

Property Value

Func<MotionEvent, bool>

Remarks

If OnOnSingleTapUp has a value it takes precedence over corresponding class method

Methods

InitializeHandlers()

Handlers initializer for GestureDetector.OnGestureListener

protected virtual void InitializeHandlers()

OnDown(MotionEvent)

public virtual bool OnDown(MotionEvent arg0)

Parameters

arg0 MotionEvent

MotionEvent

Returns

bool

bool

OnFling(MotionEvent, MotionEvent, float, float)

public virtual bool OnFling(MotionEvent arg0, MotionEvent arg1, float arg2, float arg3)

Parameters

arg0 MotionEvent

MotionEvent

arg1 MotionEvent

MotionEvent

arg2 float

float

arg3 float

float

Returns

bool

bool

OnLongPress(MotionEvent)

public virtual void OnLongPress(MotionEvent arg0)

Parameters

arg0 MotionEvent

MotionEvent

OnScroll(MotionEvent, MotionEvent, float, float)

public virtual bool OnScroll(MotionEvent arg0, MotionEvent arg1, float arg2, float arg3)

Parameters

arg0 MotionEvent

MotionEvent

arg1 MotionEvent

MotionEvent

arg2 float

float

arg3 float

float

Returns

bool

bool

OnShowPress(MotionEvent)

public virtual void OnShowPress(MotionEvent arg0)

Parameters

arg0 MotionEvent

MotionEvent

OnSingleTapUp(MotionEvent)

public virtual bool OnSingleTapUp(MotionEvent arg0)

Parameters

arg0 MotionEvent

MotionEvent

Returns

bool

bool