Udostępnij za pośrednictwem


WindowInsets.GetInsetsIgnoringVisibility(Int32) Method

Definition

Returns the insets a specific set of windows can cause, denoted by the typeMask bit mask of Types, regardless of whether that type is currently visible or not.

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

Parameters

typeMask
Int32

Bit mask of Types to query the insets for.

Returns

The insets.

Attributes

Remarks

Returns the insets a specific set of windows can cause, denoted by the typeMask bit mask of Types, regardless of whether that type is currently visible or not.

The insets represents the area of a a window that that <b>may</b> be partially or fully obscured by the system window identified by type. This value does not change based on the visibility state of those elements. For example, if the status bar is normally shown, but temporarily hidden, the inset returned here will still provide the inset associated with the status bar being shown.

Java documentation for android.view.WindowInsets.getInsetsIgnoringVisibility(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