Language

SplashScreenView.IconAnimationDuration Property

Definition

Gets the icon animation duration if it is available.

public Java.Time.Duration? IconAnimationDuration { [Android.Runtime.Register("getIconAnimationDuration", "()Ljava/time/Duration;", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getIconAnimationDuration", "()Ljava/time/Duration;", "", ApiSince=31)>]
member this.IconAnimationDuration : Java.Time.Duration

Property Value

The icon animation duration, or null if it is unavailable. The value can be null or a zero duration when the icon is not animatable.

Attributes

Remarks

Gets the icon animation duration if it is available.

Note the return value can be null or 0 if the android.R.attr#windowSplashScreenAnimatedIcon is not android.graphics.drawable.AnimationDrawable or android.graphics.drawable.AnimatedVectorDrawable.

Java documentation for android.window.SplashScreenView.getIconAnimationDuration().

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