Language

WindowInsets.Builder.SetInsets(Int32, Insets) Method

Definition

Sets the insets for the specified type.

[Android.Runtime.Register("setInsets", "(ILandroid/graphics/Insets;)Landroid/view/WindowInsets$Builder;", "", ApiSince=30)]
public Android.Views.WindowInsets.Builder SetInsets(int typeMask, Android.Graphics.Insets insets);
[<Android.Runtime.Register("setInsets", "(ILandroid/graphics/Insets;)Landroid/view/WindowInsets$Builder;", "", ApiSince=30)>]
member this.SetInsets : int * Android.Graphics.Insets -> Android.Views.WindowInsets.Builder

Parameters

typeMask
Int32

The bitmask of WindowInsets.Type to set the insets for.

insets
Insets

The insets to set.

Returns

This builder.

Attributes

Remarks

For details, see the Android reference documentation for android.view.WindowInsets.Builder.setInsets.

Java documentation for android.view.WindowInsets.Builder.setInsets.

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