Sdílet prostřednictvím


MotionEvent.AxisToString(Axis) Method

Definition

Returns a string that represents the symbolic name of the specified axis such as "AXIS_X" or an equivalent numeric constant such as "42" if unknown.

[Android.Runtime.Register("axisToString", "(I)Ljava/lang/String;", "")]
public static string? AxisToString (Android.Views.Axis axis);
[<Android.Runtime.Register("axisToString", "(I)Ljava/lang/String;", "")>]
static member AxisToString : Android.Views.Axis -> string

Parameters

axis
Axis

The axis.

Returns

The symbolic name of the specified axis.

Attributes

Remarks

Returns a string that represents the symbolic name of the specified axis such as "AXIS_X" or an equivalent numeric constant such as "42" if unknown.

Java documentation for android.view.MotionEvent.axisToString(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