Language

AnimatedImageDrawable.IsRunning Property

Definition

Return whether the animation is currently running.

public virtual bool IsRunning { [Android.Runtime.Register("isRunning", "()Z", "GetIsRunningHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("isRunning", "()Z", "GetIsRunningHandler", ApiSince=28)>]
member this.IsRunning : bool

Property Value

True if the animation is running; false if it is stopped.

Implements

Attributes

Remarks

Return whether the animation is currently running.

When created by decoding an image, the animation must be started by calling Start.

This property throws an exception if the drawable is empty.

Java documentation for android.graphics.drawable.AnimatedImageDrawable.isRunning().

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