Język

AgentTaskState.ShouldLoopAnimation Method

Definition

Indicates that this state's icon animation should be looped on repeat.

[Android.Runtime.Register("shouldLoopAnimation", "()Z", "", ApiSince=37)]
public bool ShouldLoopAnimation();
[<Android.Runtime.Register("shouldLoopAnimation", "()Z", "", ApiSince=37)>]
member this.ShouldLoopAnimation : unit -> bool

Returns

true if this state's icon should continue looping as long as is allowed by the system.

Attributes

Remarks

When true, finite animations can repeat and infinite animations can continue, subject to system health and battery limits. Finite animations normally finish before a state change unless the next state requests interruption; infinite animations can stop at any frame.

When false, finite animations play once, subject to system limits, and infinite animations run briefly, for about three seconds. This setting has no effect for a static icon.

Applies to