ToolkitIconLoopTrigger

What starts the continuous playback of an icon that declares ToolkitIcon.Animated.loop.

This is when the loop begins, not what one cycle looks like: the cycle stays the job of ToolkitIconReplayMode. An icon that does not loop at all ignores this value.

Entries

Link copied to clipboard

Start looping as soon as the icon is composed. This is the default, and it fits an icon that reports something the app is already doing, such as a sync or a recording indicator.

Link copied to clipboard

Stay on the resting frame until the component is clicked or becomes selected, then loop for as long as it stays composed. Use it where the animation illustrates the action the person just took rather than ongoing work, such as a gallery of animations that would otherwise all play at once.

Companion properties

Link copied to clipboard

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard