ResourceBuilders.AndroidAnimatedImageResourceByResId


@RequiresSchemaVersion(major = 1, minor = 200)
@ProtoLayoutExperimental
class ResourceBuilders.AndroidAnimatedImageResourceByResId


A non-seekable animated image resource that maps to an Android drawable by resource ID. The animation is started with given trigger, fire and forget.

Summary

Public functions

Boolean
equals(obj: Any?)
Int

Gets the format for the animated image.

@DrawableRes Int

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

TriggerBuilders.Trigger?

Gets the trigger to start the animation.

Int
String

Public functions

equals

fun equals(obj: Any?): Boolean

getAnimatedImageFormat

Added in 1.0.0
fun getAnimatedImageFormat(): Int

Gets the format for the animated image.

getResourceId

Added in 1.0.0
fun getResourceId(): @DrawableRes Int

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

getStartTrigger

Added in 1.0.0
fun getStartTrigger(): TriggerBuilders.Trigger?

Gets the trigger to start the animation.

hashCode

fun hashCode(): Int

toString

fun toString(): String