setAnimationFromJson

fun setAnimationFromJson(jsonString: String, cacheKey: String? = null)

Loads an animation from a JSON string.

Parameters

jsonString

The animation JSON.

cacheKey

The composition cache key, or null to load without a cache key.