WindowInsetsAnimation(Int32, IInterpolator, Int64) Constructor

Definition

Creates a new WindowInsetsAnimation object.

[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

Parameters

typeMask
Int32

The bitmask of WindowInsets.Types that are animating.

interpolator
IInterpolator

The interpolator of the animation.

durationMillis
Int64

The duration of the animation in java.util.concurrent.TimeUnit#MILLISECONDS.

Attributes

Remarks

Creates a new WindowInsetsAnimation object.

This should only be used for testing, as usually the system creates this object for the application to listen to with Callback.

Java documentation for android.view.WindowInsetsAnimation.WindowInsetsAnimation(int, android.view.animation.Interpolator, long).

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