Window.ICallback.OnPointerCaptureChanged(Boolean) Method

Definition

Called when pointer capture is enabled or disabled for the current window.

[Android.Runtime.Register("onPointerCaptureChanged", "(Z)V", "GetOnPointerCaptureChanged_ZHandler:Android.Views.Window/ICallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public virtual void OnPointerCaptureChanged (bool hasCapture);
[<Android.Runtime.Register("onPointerCaptureChanged", "(Z)V", "GetOnPointerCaptureChanged_ZHandler:Android.Views.Window/ICallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member OnPointerCaptureChanged : bool -> unit
override this.OnPointerCaptureChanged : bool -> unit

Parameters

hasCapture
Boolean

True if the window has pointer capture.

Attributes

Remarks

Called when pointer capture is enabled or disabled for the current window.

Java documentation for android.view.Window.Callback.onPointerCaptureChanged(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to