共用方式為


IWindowInsetsController.IOnControllableInsetsChangedListener.OnControllableInsetsChanged Method

Definition

Called when the set of controllable WindowInsets.Type changes.

[Android.Runtime.Register("onControllableInsetsChanged", "(Landroid/view/WindowInsetsController;I)V", "GetOnControllableInsetsChanged_Landroid_view_WindowInsetsController_IHandler:Android.Views.IWindowInsetsController/IOnControllableInsetsChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)]
public void OnControllableInsetsChanged (Android.Views.IWindowInsetsController controller, int typeMask);
[<Android.Runtime.Register("onControllableInsetsChanged", "(Landroid/view/WindowInsetsController;I)V", "GetOnControllableInsetsChanged_Landroid_view_WindowInsetsController_IHandler:Android.Views.IWindowInsetsController/IOnControllableInsetsChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)>]
abstract member OnControllableInsetsChanged : Android.Views.IWindowInsetsController * int -> unit

Parameters

controller
IWindowInsetsController

The controller for which the set of controllable WindowInsets.Types are changing.

typeMask
Int32

Bitwise type-mask of the WindowInsets.Types the controller is currently able to control.

Attributes

Remarks

Called when the set of controllable WindowInsets.Type changes.

Java documentation for android.view.WindowInsetsController.OnControllableInsetsChangedListener.onControllableInsetsChanged(android.view.WindowInsetsController, int).

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