View.DispatchScrollCaptureSearch(Rect, Point, IConsumer) Method

Definition

Dispatch a scroll capture search request down the view hierarchy.

[Android.Runtime.Register("dispatchScrollCaptureSearch", "(Landroid/graphics/Rect;Landroid/graphics/Point;Ljava/util/function/Consumer;)V", "GetDispatchScrollCaptureSearch_Landroid_graphics_Rect_Landroid_graphics_Point_Ljava_util_function_Consumer_Handler", ApiSince=31)]
public virtual void DispatchScrollCaptureSearch (Android.Graphics.Rect localVisibleRect, Android.Graphics.Point windowOffset, Java.Util.Functions.IConsumer targets);
[<Android.Runtime.Register("dispatchScrollCaptureSearch", "(Landroid/graphics/Rect;Landroid/graphics/Point;Ljava/util/function/Consumer;)V", "GetDispatchScrollCaptureSearch_Landroid_graphics_Rect_Landroid_graphics_Point_Ljava_util_function_Consumer_Handler", ApiSince=31)>]
abstract member DispatchScrollCaptureSearch : Android.Graphics.Rect * Android.Graphics.Point * Java.Util.Functions.IConsumer -> unit
override this.DispatchScrollCaptureSearch : Android.Graphics.Rect * Android.Graphics.Point * Java.Util.Functions.IConsumer -> unit

Parameters

localVisibleRect
Rect

the visible area of this ViewGroup in local coordinates, according to the parent

windowOffset
Point

the offset of this view within the window

targets
IConsumer

accepts potential scroll capture targets; Consumer#accept results.accept may be called zero or more times on the calling thread before onScrollCaptureSearch returns

Attributes

Remarks

Dispatch a scroll capture search request down the view hierarchy.

Java documentation for android.view.View.dispatchScrollCaptureSearch(android.graphics.Rect, android.graphics.Point, java.util.function.Consumer<android.view.ScrollCaptureTarget>).

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