Class GestureDetector.OnGestureListener
public class GestureDetector.OnGestureListener : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<JVMBridgeListener>JVMBridgeListenerGestureDetector.OnGestureListener
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeListener.Dispose()JVMBridgeListener.AutoInitJVMBridgeListener.IsBridgeStaticJVMBridgeListener.IsBridgeCloseableJVMBridgeListener.IsBridgeListenerJVMBridgeBase<JVMBridgeListener>.IsAssignableFrom(IJavaType)JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom<T>()JVMBridgeBase<JVMBridgeListener>.Execute<T>(params T[])JVMBridgeBase<JVMBridgeListener>.DynBridgeClazzJVMBridgeBase<JVMBridgeListener>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeInterfaceJVMBridgeBase.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
OnOnDown
public Func<MotionEvent, bool> OnOnDown { get; set; }
Property Value
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
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
Remarks
If OnOnShowPress has a value it takes precedence over corresponding class method
OnOnSingleTapUp
public Func<MotionEvent, bool> OnOnSingleTapUp { get; set; }
Property Value
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
Returns
OnFling(MotionEvent, MotionEvent, float, float)
public virtual bool OnFling(MotionEvent arg0, MotionEvent arg1, float arg2, float arg3)
Parameters
arg0
MotionEventarg1
MotionEventarg2
floatarg3
float
Returns
OnLongPress(MotionEvent)
public virtual void OnLongPress(MotionEvent arg0)
Parameters
arg0
MotionEvent
OnScroll(MotionEvent, MotionEvent, float, float)
public virtual bool OnScroll(MotionEvent arg0, MotionEvent arg1, float arg2, float arg3)
Parameters
arg0
MotionEventarg1
MotionEventarg2
floatarg3
float
Returns
OnShowPress(MotionEvent)
public virtual void OnShowPress(MotionEvent arg0)
Parameters
arg0
MotionEvent
OnSingleTapUp(MotionEvent)
public virtual bool OnSingleTapUp(MotionEvent arg0)
Parameters
arg0
MotionEvent