語言

View.OnCapturedPointerEvent(MotionEvent) 方法

定義

實作此方法以處理捕獲指標事件

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

參數

e
MotionEvent

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

傳回

如果事件被處理,則為真;否則為假。

屬性

備註

實作此方法以處理捕獲指標事件

Java 文件 android.view.View.onCapturedPointerEvent(android.view.MotionEvent)。

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

適用於