Dela via


WindowInsets.ConsumeSystemWindowInsets Method

Definition

Returns a copy of this WindowInsets with the system window insets fully consumed.

[Android.Runtime.Register("consumeSystemWindowInsets", "()Landroid/view/WindowInsets;", "")]
public Android.Views.WindowInsets ConsumeSystemWindowInsets ();
[<Android.Runtime.Register("consumeSystemWindowInsets", "()Landroid/view/WindowInsets;", "")>]
member this.ConsumeSystemWindowInsets : unit -> Android.Views.WindowInsets

Returns

A modified copy of this WindowInsets

Attributes

Remarks

Returns a copy of this WindowInsets with the system window insets fully consumed.

This member is deprecated. Consuming of different parts individually of a WindowInsets instance is deprecated, since WindowInsets contains many different insets. Use #CONSUMED instead to stop dispatching insets.

Java documentation for android.view.WindowInsets.consumeSystemWindowInsets().

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