共用方式為


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)。

MotionEvent應該將 解譯為裝置特定表面單位中的絕對座標。

使用 #getMotionRange 來查詢位置範圍。

android.view.InputDevice.SOURCE_CLASS_POSITIONJava 檔。

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

適用於