AgentTaskState.Builder.SetShouldLoopAnimation(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets whether the state icon animation should repeat.
[Android.Runtime.Register("setShouldLoopAnimation", "(Z)Landroid/agenticon/AgentTaskState$Builder;", "", ApiSince=37)]
public Android.AgentIcon.AgentTaskState.Builder SetShouldLoopAnimation(bool shouldLoopAnimation);
[<Android.Runtime.Register("setShouldLoopAnimation", "(Z)Landroid/agenticon/AgentTaskState$Builder;", "", ApiSince=37)>]
member this.SetShouldLoopAnimation : bool -> Android.AgentIcon.AgentTaskState.Builder
Parameters
- shouldLoopAnimation
- Boolean
true to request repetition or continued animation within system limits; false for normal non-looping playback.
Returns
This builder.
- Attributes
Remarks
With looping enabled, the system limits repetitions of finite animations and the run time of infinite animations. Finite animations normally finish before a state change unless the next state requests interruption; infinite animations can stop at any frame.
With looping disabled, finite animations play once, subject to system limits, and infinite animations run briefly, for about three seconds. Static icons ignore this setting.