MotionEvent.PointerCoords.GetAxisValue(Axis) Method

Definition

Gets the value associated with the specified axis.

[Android.Runtime.Register("getAxisValue", "(I)F", "")]
public float GetAxisValue (Android.Views.Axis axis);
[<Android.Runtime.Register("getAxisValue", "(I)F", "")>]
member this.GetAxisValue : Android.Views.Axis -> single

Parameters

axis
Axis

The axis identifier for the axis value to retrieve.

Returns

Single
Attributes

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

See also