setBoundingRectsIgnoringVisibility

@NonNull
open fun setBoundingRectsIgnoringVisibility(typeMask: Int, @NonNull rects: @NonNull List<Rect>): @NonNull WindowInsetsCompat.Builder

Sets the bounding rects ignoring visibility.

Parameters

typeMask

the inset types to which these rects apply. All types specified in this mask will have their existing bounding rects overridden and replaced by the provided rects array.

rects

the bounding rects.

See also

Throws

If typeMask contains ime. Maximum bounding rects are not available for this type as the height of the IME is dynamic depending on the EditorInfo of the currently focused view, as well as the UI state of the IME.