IWindowInsetsController.ControlWindowInsetsAnimation メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
システム内のウィンドウの位置を変更して、アプリケーション コントロール ウィンドウがフレーム単位でアニメーションをインセットできるようにします。これにより、インセットが直接発生します。
[Android.Runtime.Register("controlWindowInsetsAnimation", "(IJLandroid/view/animation/Interpolator;Landroid/os/CancellationSignal;Landroid/view/WindowInsetsAnimationControlListener;)V", "GetControlWindowInsetsAnimation_IJLandroid_view_animation_Interpolator_Landroid_os_CancellationSignal_Landroid_view_WindowInsetsAnimationControlListener_Handler:Android.Views.IWindowInsetsControllerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)]
public void ControlWindowInsetsAnimation(int types, long durationMillis, Android.Views.Animations.IInterpolator? interpolator, Android.OS.CancellationSignal? cancellationSignal, Android.Views.IWindowInsetsAnimationControlListener listener);
[<Android.Runtime.Register("controlWindowInsetsAnimation", "(IJLandroid/view/animation/Interpolator;Landroid/os/CancellationSignal;Landroid/view/WindowInsetsAnimationControlListener;)V", "GetControlWindowInsetsAnimation_IJLandroid_view_animation_Interpolator_Landroid_os_CancellationSignal_Landroid_view_WindowInsetsAnimationControlListener_Handler:Android.Views.IWindowInsetsControllerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)>]
abstract member ControlWindowInsetsAnimation : int * int64 * Android.Views.Animations.IInterpolator * Android.OS.CancellationSignal * Android.Views.IWindowInsetsAnimationControlListener -> unit
パラメーター
- types
- Int32
アプリケーションが制御を要求した WindowInsets.Type。
- durationMillis
- Int64
java.util.concurrent.TimeUnit#MILLISECONDSのアニメーションの継続時間。アニメーションに所定の期間がない場合は -1。 この値は次の値に渡されます。 WindowInsetsAnimation#getDurationMillis()
- interpolator
- IInterpolator
このアニメーションに使用される補間器。または、このアニメーションが補間曲線に従っていない場合に null します。 この値は WindowInsetsAnimation#getInterpolator() に渡され、 WindowInsetsAnimation#getInterpolatedFraction()の計算に使用されます。
- cancellationSignal
- CancellationSignal
コントロールを取得する要求を取り消すために呼び出し元が使用できるキャンセルシグナル、または制御を取得した後にコントロールを取り消すことができるキャンセルシグナル。
他のコールバックの中でも、ウィンドウを制御する準備ができたときに呼び出される WindowInsetsAnimationControlListener 。
- 属性
注釈
システム内のウィンドウの位置を変更して、アプリケーション コントロール ウィンドウがフレーム単位でアニメーションをインセットできるようにします。これにより、インセットが直接発生します。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。