다음을 통해 공유


SplashScreenView.IconAnimationDuration Property

Definition

Returns the duration of the icon animation if icon is animatable.

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

Attributes

Remarks

Returns the duration of the icon animation if icon is animatable.

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