InputDevice.SourceClassPointer 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.Views.InputSourceType enum directly instead of this field.
输入源是与显示器关联的指向设备。
[Android.Runtime.Register("SOURCE_CLASS_POINTER")]
[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 SourceClassPointer = 2;
[<Android.Runtime.Register("SOURCE_CLASS_POINTER")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputSourceType enum directly instead of this field.", true)>]
val mutable SourceClassPointer : Android.Views.InputSourceType
字段值
Value = 2实现
- 属性
注解
输入源是与显示器关联的指向设备。 示例:#SOURCE_TOUCHSCREEN、#SOURCE_MOUSE。
应根据View层次结构在显示单位中将 A MotionEvent 解释为绝对坐标。 指针向下/向上指示手指触摸显示器或按下/释放选择按钮时。
用于 #getMotionRange 查询指向设备的范围。 某些设备允许在显示区域外进行触摸,因此有效范围可能略小或大于实际显示大小。
适用于 . 的 android.view.InputDevice.SOURCE_CLASS_POINTERJava 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。