共用方式為


MotionEvent.ButtonPrimary 欄位

定義

警告

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

按鈕常數:主要按鈕(滑鼠左鍵)。

[Android.Runtime.Register("BUTTON_PRIMARY")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.MotionEventButtonState enum directly instead of this field.", true)]
public const Android.Views.MotionEventButtonState ButtonPrimary = 1;
[<Android.Runtime.Register("BUTTON_PRIMARY")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.MotionEventButtonState enum directly instead of this field.", true)>]
val mutable ButtonPrimary : Android.Views.MotionEventButtonState

欄位值

Value = 1

實作

屬性

備註

按鈕常數:主要按鈕(滑鼠左鍵)。

此按鈕常數未設定,以回應手指或手寫筆提示的簡單觸控。 用戶必須實際按下按鈕。

android.view.MotionEvent.BUTTON_PRIMARYJava 檔。

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

適用於

另請參閱