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 System.Int32 value used for type mask.

insets
Insets

The Android.Graphics.Insets value used for insets.

Returns

The result of the set insets operation.

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