Android Guides | Samples

Android.Views.View.IOnTouchListener

Interface definition for a callback to be invoked when a touch event is dispatched to this view.

See Also: View+IOnTouchListener

Syntax

[Android.Runtime.Register("android/view/View$OnTouchListener", "", "Android.Views.View/IOnTouchListenerInvoker")]
public interface View.IOnTouchListener : IJavaObject, IDisposable

Remarks

Interface definition for a callback to be invoked when a touch event is dispatched to this view. The callback will be invoked before the touch event is given to the view.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.Views.View.IOnTouchListener are listed below.

Public Methods

OnTouch(View, MotionEvent) : Boolean
Called when a touch event is dispatched to a view.