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 來查詢位置範圍。

Java 文件 android.view.InputDevice.SOURCE_CLASS_POSITION

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於