IWindowInsetsAnimationControlListener.OnCancelled メソッド

定義

に関連付WindowInsetsController#controlWindowInsetsAnimation requestけられている が呼び出されたか、ウィンドウがインセットの制御を失ったためにandroid.os.CancellationSignal、インセットに対する制御の要求が取り消されたときに呼び出されます (e.

[Android.Runtime.Register("onCancelled", "(Landroid/view/WindowInsetsAnimationController;)V", "GetOnCancelled_Landroid_view_WindowInsetsAnimationController_Handler:Android.Views.IWindowInsetsAnimationControlListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)]
public void OnCancelled (Android.Views.IWindowInsetsAnimationController? controller);
[<Android.Runtime.Register("onCancelled", "(Landroid/view/WindowInsetsAnimationController;)V", "GetOnCancelled_Landroid_view_WindowInsetsAnimationController_Handler:Android.Views.IWindowInsetsAnimationControlListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)>]
abstract member OnCancelled : Android.Views.IWindowInsetsAnimationController -> unit

パラメーター

controller
IWindowInsetsAnimationController

取り消されたコントローラー。要求が呼び出される前に #onReady 取り消された場合は null。

属性

注釈

に関連付WindowInsetsController#controlWindowInsetsAnimation requestけられた が呼び出されたか、ウィンドウがインセットの制御を失った (フォーカスが失われたなど) ためandroid.os.CancellationSignal、インセットの制御要求が取り消されたときに呼び出されます。

このコールバックが呼び出されると、指定された WindowInsetsAnimationController はなくなります WindowInsetsAnimationController#isReady() ready

への新しい要求 WindowInsetsController#controlWindowInsetsAnimation が行われるまで、制御は回復されません。

の Java ドキュメント android.view.WindowInsetsAnimationControlListener.onCancelled(android.view.WindowInsetsAnimationController)

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象