InputDevice.SourceClassPosition 字段

定义

注意

This constant will be removed in the future version. Use Android.Views.InputSourceType enum directly instead of this field.

输入源是与显示器(不同) #SOURCE_CLASS_POINTER关联的绝对定位设备。

[Android.Runtime.Register("SOURCE_CLASS_POSITION")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputSourceType enum directly instead of this field.", true)]
public const Android.Views.InputSourceType SourceClassPosition = 8;
[<Android.Runtime.Register("SOURCE_CLASS_POSITION")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputSourceType enum directly instead of this field.", true)>]
val mutable SourceClassPosition : Android.Views.InputSourceType

字段值

Value = 8

实现

属性

注解

输入源是与显示器(不同) #SOURCE_CLASS_POINTER关联的绝对定位设备。

应将 A MotionEvent 解释为特定于设备的图面单位中的绝对坐标。

用于 #getMotionRange 查询位置范围。

适用于 . 的 android.view.InputDevice.SOURCE_CLASS_POSITIONJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于