DisplayCutout.Builder.SetSafeInsets(Insets) Method

Definition

Set the safe insets. If not set, the default value is Insets.NONE .

[Android.Runtime.Register("setSafeInsets", "(Landroid/graphics/Insets;)Landroid/view/DisplayCutout$Builder;", "", ApiSince=33)]
public Android.Views.DisplayCutout.Builder SetSafeInsets(Android.Graphics.Insets safeInsets);
[<Android.Runtime.Register("setSafeInsets", "(Landroid/graphics/Insets;)Landroid/view/DisplayCutout$Builder;", "", ApiSince=33)>]
member this.SetSafeInsets : Android.Graphics.Insets -> Android.Views.DisplayCutout.Builder

Parameters

safeInsets
Insets

The Android.Graphics.Insets value used for safe insets.

Returns

The result of the set safe insets operation.

Attributes

Remarks

For details, see the Android reference documentation for android.view.DisplayCutout.Builder.setSafeInsets.

Java documentation for android.view.DisplayCutout.Builder.setSafeInsets.

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