다음을 통해 공유


BackEvent(Single, Single, Single, BackEventEdge) Constructor

Definition

Creates a new BackMotionEvent instance.

[Android.Runtime.Register(".ctor", "(FFFI)V", "", ApiSince=34)]
public BackEvent (float touchX, float touchY, float progress, Android.Window.BackEventEdge swipeEdge);
[<Android.Runtime.Register(".ctor", "(FFFI)V", "", ApiSince=34)>]
new Android.Window.BackEvent : single * single * single * Android.Window.BackEventEdge -> Android.Window.BackEvent

Parameters

touchX
Single

Absolute X location of the touch point of this event.

touchY
Single

Absolute Y location of the touch point of this event.

progress
Single

Value between 0 and 1 on how far along the back gesture is.

swipeEdge
BackEventEdge

Indicates which edge the swipe starts from.

Attributes

Remarks

Creates a new BackMotionEvent instance.

Java documentation for android.window.BackEvent.BackEvent(float, float, float, int).

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