Sdílet prostřednictvím


TouchDelegate Constructors

Definition

Overloads

TouchDelegate(Rect, View)

Constructor

TouchDelegate(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

TouchDelegate(Rect, View)

Constructor

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Rect;Landroid/view/View;)V", "")]
public TouchDelegate (Android.Graphics.Rect? bounds, Android.Views.View? delegateView);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Rect;Landroid/view/View;)V", "")>]
new Android.Views.TouchDelegate : Android.Graphics.Rect * Android.Views.View -> Android.Views.TouchDelegate

Parameters

bounds
Rect

Bounds in local coordinates of the containing view that should be mapped to the delegate view

delegateView
View

The view that should receive motion events

Attributes

Remarks

Constructor

Java documentation for android.view.TouchDelegate.TouchDelegate(android.graphics.Rect, android.view.View).

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

TouchDelegate(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected TouchDelegate (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.TouchDelegate : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.TouchDelegate

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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