MotionEvent.AxisGestureScrollXDistance Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.Views.Axis enum directly instead of this field.
Axis constant: X scroll distance axis of a motion event.
[Android.Runtime.Register("AXIS_GESTURE_SCROLL_X_DISTANCE", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.Axis enum directly instead of this field.", true)]
public const Android.Views.Axis AxisGestureScrollXDistance = 50;
[<Android.Runtime.Register("AXIS_GESTURE_SCROLL_X_DISTANCE", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.Axis enum directly instead of this field.", true)>]
val mutable AxisGestureScrollXDistance : Android.Views.Axis
Field Value
Value = 50Implements
- Attributes
Remarks
Axis constant: X scroll distance axis of a motion event.
<ul> <li>For a touch pad, reports the distance that should be scrolled in the X axis as a result of the user's two-finger scroll gesture, in display pixels. </ul> These values are relative to the state from the last event, not accumulated, so developers should make sure to process this axis value for all batched historical events.
Java documentation for android.view.MotionEvent.AXIS_GESTURE_SCROLL_X_DISTANCE
.
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.