語言

View.DispatchCapturedPointerEvent(MotionEvent) 方法

定義

將捕獲的指標事件傳給焦點視圖。

[Android.Runtime.Register("dispatchCapturedPointerEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchCapturedPointerEvent_Landroid_view_MotionEvent_Handler", ApiSince=26)]
public virtual bool DispatchCapturedPointerEvent(Android.Views.MotionEvent? e);
[<Android.Runtime.Register("dispatchCapturedPointerEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchCapturedPointerEvent_Landroid_view_MotionEvent_Handler", ApiSince=26)>]
abstract member DispatchCapturedPointerEvent : Android.Views.MotionEvent -> bool
override this.DispatchCapturedPointerEvent : Android.Views.MotionEvent -> bool

參數

e
MotionEvent

用於 e. 的 Android.Views.MotionEvent 值。

傳回

如果事件是由視圖處理,則為真;否則為假。

屬性

備註

將捕獲的指標事件傳給焦點視圖。

Java 文件 android.view.View.dispatchCapturedPointerEvent(android.view.MotionEvent)

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於