語言

WindowInsetsAnimation(Int32, IInterpolator, Int64) 建構函式

定義

建立新的 WindowInsetsAnimation 物件。

[Android.Runtime.Register(".ctor", "(ILandroid/view/animation/Interpolator;J)V", "", ApiSince=30)]
public WindowInsetsAnimation(int typeMask, Android.Views.Animations.IInterpolator? interpolator, long durationMillis);
[<Android.Runtime.Register(".ctor", "(ILandroid/view/animation/Interpolator;J)V", "", ApiSince=30)>]
new Android.Views.WindowInsetsAnimation : int * Android.Views.Animations.IInterpolator * int64 -> Android.Views.WindowInsetsAnimation

參數

typeMask
Int32

就是 s 的 WindowInsets.Type位元遮罩,正在動畫化。

interpolator
IInterpolator

動畫的插值器。

durationMillis
Int64

動畫的持續時間為 java.util.concurrent.TimeUnit#MILLISECONDS。

屬性

備註

建立新的 WindowInsetsAnimation 物件。

這應該只用於測試,因為系統通常會用 建立這個物件讓應用程式聽取 Callback。

Java 文件 android.view.WindowInsetsAnimation.WindowInsetsAnimation(int, android.view.animation.Interpolator, long)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於