Udostępnij za pośrednictwem


IWindowInsetsController.AddOnControllableInsetsChangedListener Method

Definition

Adds a OnControllableInsetsChangedListener to the window insets controller.

[Android.Runtime.Register("addOnControllableInsetsChangedListener", "(Landroid/view/WindowInsetsController$OnControllableInsetsChangedListener;)V", "GetAddOnControllableInsetsChangedListener_Landroid_view_WindowInsetsController_OnControllableInsetsChangedListener_Handler:Android.Views.IWindowInsetsControllerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)]
public void AddOnControllableInsetsChangedListener (Android.Views.IWindowInsetsController.IOnControllableInsetsChangedListener listener);
[<Android.Runtime.Register("addOnControllableInsetsChangedListener", "(Landroid/view/WindowInsetsController$OnControllableInsetsChangedListener;)V", "GetAddOnControllableInsetsChangedListener_Landroid_view_WindowInsetsController_OnControllableInsetsChangedListener_Handler:Android.Views.IWindowInsetsControllerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)>]
abstract member AddOnControllableInsetsChangedListener : Android.Views.IWindowInsetsController.IOnControllableInsetsChangedListener -> unit

Parameters

Attributes

Remarks

Java documentation for android.view.WindowInsetsController.addOnControllableInsetsChangedListener(android.view.OnControllableInsetsChangedListener).

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