sequence

@JvmStatic
fun sequence(with: List<AnimationResource>): AnimationResource

Creates a sequence of multiple AnimationResource objects in the given list order.

Return

The new AnimationResource representing the sequenced animation resources.

Parameters

with

The list of AnimationResource objects to be sequenced, in order.

Throws

IllegalStateException

If any resource in with is closed or invalid.

If sequencing fails at the native layer.