다음을 통해 공유


WindowInsets.GetInsets(Int32) Method

Definition

Returns the insets of a specific set of windows causing insets, denoted by the typeMask bit mask of Types.

[Android.Runtime.Register("getInsets", "(I)Landroid/graphics/Insets;", "", ApiSince=30)]
public Android.Graphics.Insets GetInsets (int typeMask);
[<Android.Runtime.Register("getInsets", "(I)Landroid/graphics/Insets;", "", ApiSince=30)>]
member this.GetInsets : int -> Android.Graphics.Insets

Parameters

typeMask
Int32

Bit mask of Types to query the insets for.

Returns

The insets.

Attributes

Remarks

Returns the insets of a specific set of windows causing insets, denoted by the typeMask bit mask of Types.

Java documentation for android.view.WindowInsets.getInsets(int).

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