LottieAnimationSpec

sealed class LottieAnimationSpec

Specification for a Lottie animation. Each subclass represents a different source.

Types

Asset
Link copied to clipboard
data class Asset(assetName: String) : LottieAnimationSpec
File
Link copied to clipboard
data class File(fileName: String) : LottieAnimationSpec
RawRes
Link copied to clipboard
data class RawRes(@RawRes() resId: Int) : LottieAnimationSpec
Url
Link copied to clipboard
data class Url(url: String) : LottieAnimationSpec

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Inheritors

LottieAnimationSpec
Link copied to clipboard
LottieAnimationSpec
Link copied to clipboard
LottieAnimationSpec
Link copied to clipboard
LottieAnimationSpec
Link copied to clipboard