IWindowInsetsAnimationControlListener.OnReady Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the animation is ready to be controlled.
[Android.Runtime.Register("onReady", "(Landroid/view/WindowInsetsAnimationController;I)V", "GetOnReady_Landroid_view_WindowInsetsAnimationController_IHandler:Android.Views.IWindowInsetsAnimationControlListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)]
public void OnReady (Android.Views.IWindowInsetsAnimationController controller, int types);
[<Android.Runtime.Register("onReady", "(Landroid/view/WindowInsetsAnimationController;I)V", "GetOnReady_Landroid_view_WindowInsetsAnimationController_IHandler:Android.Views.IWindowInsetsAnimationControlListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)>]
abstract member OnReady : Android.Views.IWindowInsetsAnimationController * int -> unit
Parameters
- controller
- IWindowInsetsAnimationController
The controller to control the inset animation.
- types
- Int32
The WindowInsets.Type
s it was able to gain control over. Note that this
may be different than the types passed into
WindowInsetsController#controlWindowInsetsAnimation
in case the window
wasn't able to gain the controls because it wasn't the IME target or not
currently the window that's controlling the system bars.
- Attributes
Remarks
Called when the animation is ready to be controlled. This may be delayed when the IME needs to redraw because of an EditorInfo
change, or when the window is starting up.
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.