GestureDetector.IOnContextClickListener.OnContextClick(MotionEvent) Method

Definition

Notified when a context click occurs.

[Android.Runtime.Register("onContextClick", "(Landroid/view/MotionEvent;)Z", "GetOnContextClick_Landroid_view_MotionEvent_Handler:Android.Views.GestureDetector/IOnContextClickListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)]
public bool OnContextClick (Android.Views.MotionEvent e);
[<Android.Runtime.Register("onContextClick", "(Landroid/view/MotionEvent;)Z", "GetOnContextClick_Landroid_view_MotionEvent_Handler:Android.Views.GestureDetector/IOnContextClickListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)>]
abstract member OnContextClick : Android.Views.MotionEvent -> bool

Parameters

e
MotionEvent

The motion event that occurred during the context click.

Returns

true if the event is consumed, else false

Attributes

Remarks

Notified when a context click occurs.

Java documentation for android.view.GestureDetector.OnContextClickListener.onContextClick(android.view.MotionEvent).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to