View.DispatchCapturedPointerEvent(MotionEvent) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將捕獲的指標事件傳給焦點視圖。
[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. 的 Android.Views.MotionEvent 值。
傳回
如果事件是由視圖處理,則為真;否則為假。
- 屬性
備註
將捕獲的指標事件傳給焦點視圖。
Java 文件 android.view.View.dispatchCapturedPointerEvent(android.view.MotionEvent)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。