Language

IWindowInsetsAnimationController.CurrentInsets Property

Definition

Retrieves the current insets. Note that these insets are always relative to the window, which is the same as being relative to View.getRootView

public Android.Graphics.Insets CurrentInsets { [Android.Runtime.Register("getCurrentInsets", "()Landroid/graphics/Insets;", "GetGetCurrentInsetsHandler:Android.Views.IWindowInsetsAnimationControllerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getCurrentInsets", "()Landroid/graphics/Insets;", "GetGetCurrentInsetsHandler:Android.Views.IWindowInsetsAnimationControllerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)>]
member this.CurrentInsets : Android.Graphics.Insets

Property Value

The current insets on the currently showing frame. These insets will change as the animation progresses to reflect the current insets provided by the controlled window. This value cannot be null.

Attributes

Remarks

For details, see the Android reference documentation for android.view.WindowInsetsAnimationController.getCurrentInsets.

Java documentation for android.view.WindowInsetsAnimationController.getCurrentInsets.

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