Share via


BackEvent.TouchX Property

Definition

Returns the absolute X location of the touch point, or NaN if the event is from a button press.

public float TouchX { [Android.Runtime.Register("getTouchX", "()F", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getTouchX", "()F", "", ApiSince=34)>]
member this.TouchX : single

Property Value

Attributes

Remarks

Returns the absolute X location of the touch point, or NaN if the event is from a button press.

Java documentation for android.window.BackEvent.getTouchX().

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