WindowInsetsAnimation(Int32, IInterpolator, Int64) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立新的 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。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。