ZoomButtonsController.OnTouch(View, MotionEvent) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
ZoomButtonsController 實作了 OnTouchListener,但這不需要在其公開 API 中顯示。
[Android.Runtime.Register("onTouch", "(Landroid/view/View;Landroid/view/MotionEvent;)Z", "GetOnTouch_Landroid_view_View_Landroid_view_MotionEvent_Handler")]
public virtual bool OnTouch(Android.Views.View? v, Android.Views.MotionEvent? e);
[<Android.Runtime.Register("onTouch", "(Landroid/view/View;Landroid/view/MotionEvent;)Z", "GetOnTouch_Landroid_view_View_Landroid_view_MotionEvent_Handler")>]
abstract member OnTouch : Android.Views.View * Android.Views.MotionEvent -> bool
override this.OnTouch : Android.Views.View * Android.Views.MotionEvent -> bool
參數
- v
- View
檢視:觸控事件被派遣到的視圖。
就是 e 值。
傳回
若聽者已消費事件,則為真;否則為假。
實作
- 屬性
備註
的 android.widget.ZoomButtonsController.onTouch(android.view.View, android.view.MotionEvent)Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。