语言

View.SetWindowInsetsAnimationCallback(WindowInsetsAnimation+Callback) 方法

定义

设置有关 WindowInsetsAnimation.Callback 导致内嵌的窗口动画的通知。

[Android.Runtime.Register("setWindowInsetsAnimationCallback", "(Landroid/view/WindowInsetsAnimation$Callback;)V", "GetSetWindowInsetsAnimationCallback_Landroid_view_WindowInsetsAnimation_Callback_Handler", ApiSince=30)]
public virtual void SetWindowInsetsAnimationCallback(Android.Views.WindowInsetsAnimation.Callback? callback);
[<Android.Runtime.Register("setWindowInsetsAnimationCallback", "(Landroid/view/WindowInsetsAnimation$Callback;)V", "GetSetWindowInsetsAnimationCallback_Landroid_view_WindowInsetsAnimation_Callback_Handler", ApiSince=30)>]
abstract member SetWindowInsetsAnimationCallback : Android.Views.WindowInsetsAnimation.Callback -> unit
override this.SetWindowInsetsAnimationCallback : Android.Views.WindowInsetsAnimation.Callback -> unit

参数

callback
WindowInsetsAnimation.Callback

要设置的回调。

特性

注解

Java文档android.view.View.setWindowInsetsAnimationCallback(android.view.WindowInsetsAnimation.Callback)。

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

适用于