Share via


Window.RegisterScrollCaptureCallback(IScrollCaptureCallback) Method

Definition

Used to provide scroll capture support for an arbitrary window.

[Android.Runtime.Register("registerScrollCaptureCallback", "(Landroid/view/ScrollCaptureCallback;)V", "GetRegisterScrollCaptureCallback_Landroid_view_ScrollCaptureCallback_Handler", ApiSince=31)]
public virtual void RegisterScrollCaptureCallback (Android.Views.IScrollCaptureCallback callback);
[<Android.Runtime.Register("registerScrollCaptureCallback", "(Landroid/view/ScrollCaptureCallback;)V", "GetRegisterScrollCaptureCallback_Landroid_view_ScrollCaptureCallback_Handler", ApiSince=31)>]
abstract member RegisterScrollCaptureCallback : Android.Views.IScrollCaptureCallback -> unit
override this.RegisterScrollCaptureCallback : Android.Views.IScrollCaptureCallback -> unit

Parameters

callback
IScrollCaptureCallback

the callback to add

Attributes

Remarks

Used to provide scroll capture support for an arbitrary window. This registeres the given callback with the root view of the window.

Java documentation for android.view.Window.registerScrollCaptureCallback(android.view.ScrollCaptureCallback).

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