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。
MotionEvent A 應依階層結構將顯示單元View中的絕對座標解釋為。 當手指觸碰螢幕或按下/放開選擇鍵時,指標會顯示上下。
用來 #getMotionRange 查詢指向裝置的距離。 有些裝置允許在顯示區域外觸控,因此有效範圍可能比實際顯示大小稍小或稍大。
Java 文件 android.view.InputDevice.SOURCE_CLASS_POINTER。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。