次の方法で共有


WindowInsets.ConsumeDisplayCutout Method

Definition

Returns a copy of this WindowInsets with the cutout fully consumed.

[Android.Runtime.Register("consumeDisplayCutout", "()Landroid/view/WindowInsets;", "", ApiSince=28)]
public Android.Views.WindowInsets ConsumeDisplayCutout ();
[<Android.Runtime.Register("consumeDisplayCutout", "()Landroid/view/WindowInsets;", "", ApiSince=28)>]
member this.ConsumeDisplayCutout : unit -> Android.Views.WindowInsets

Returns

A modified copy of this WindowInsets

Attributes

Remarks

Returns a copy of this WindowInsets with the cutout 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.consumeDisplayCutout().

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