InputDevice.SourceClassButton 欄位

定義

警告

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

輸入來源有按鈕或按鍵。

[Android.Runtime.Register("SOURCE_CLASS_BUTTON")]
[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 SourceClassButton = 1;
[<Android.Runtime.Register("SOURCE_CLASS_BUTTON")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputSourceType enum directly instead of this field.", true)>]
val mutable SourceClassButton : Android.Views.InputSourceType

欄位值

Value = 1

實作

屬性

備註

輸入來源有按鈕或按鍵。 例如:#SOURCE_KEYBOARD#SOURCE_DPAD

KeyEvent A 應該被解讀為按鍵或按鍵的動作。

#getKeyCharacterMap 來查詢裝置的按鍵和按鍵映射。

Java 文件 android.view.InputDevice.SOURCE_CLASS_BUTTON

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

適用於