语言

IWindowInsetsAnimationController.CurrentInsets 属性

定义

检索当前内嵌。 请注意,这些内嵌始终相对于窗口,这与相对于 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

属性值

当前显示帧的当前内集。 随着动画的进行,这些内集将发生变化,以反映受控窗口提供的当前内嵌。 此值不能为 null。

特性

注解

有关详细信息,请参阅 Android.view.WindowInsetsAnimationController.getCurrentInsets 的 Android 参考文档。

Java android.view.WindowInsetsAnimationController.getCurrentInsets 的文档。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于