ResourceBuilders.AndroidLottieResourceByResId


@RequiresSchemaVersion(major = 1, minor = 500)
class ResourceBuilders.AndroidLottieResourceByResId


A Lottie resource that is read from a raw Android resource ID.

Summary

Public functions

DynamicBuilders.DynamicFloat?

Gets a androidx.wear.protolayout.expression.DynamicBuilders.DynamicFloat, normally transformed from certain states with the data binding pipeline to control the progress of the animation.

Int

Gets the Android resource ID, e.g. R.raw.foo.

TriggerBuilders.Trigger?

Gets the trigger to start the animation.

String

Public functions

getProgress

Added in 1.3.0-alpha07
fun getProgress(): DynamicBuilders.DynamicFloat?

Gets a androidx.wear.protolayout.expression.DynamicBuilders.DynamicFloat, normally transformed from certain states with the data binding pipeline to control the progress of the animation.

getRawResourceId

Added in 1.3.0-alpha07
@RawRes
fun getRawResourceId(): Int

Gets the Android resource ID, e.g. R.raw.foo.

getStartTrigger

Added in 1.3.0-alpha07
fun getStartTrigger(): TriggerBuilders.Trigger?

Gets the trigger to start the animation.

toString

fun toString(): String