-
- All Implemented Interfaces:
-
androidx.compose.runtime.State
@Stable() public interface LottieAnimationState implements State<Float>
LottieAnimationState is a value holder that contains information about the current Lottie animation.
The primary values are LottieAnimationState.progress and LottieAnimationState.composition. These value should be passed into the main LottieAnimation composable.
-
-
Method Summary
Modifier and Type Method Description abstract BooleangetIsPlaying()abstract FloatgetProgress()abstract IntegergetIteration()abstract IntegergetIterations()abstract BooleangetReverseOnRepeat()abstract LottieClipSpecgetClipSpec()abstract FloatgetSpeed()abstract BooleangetUseCompositionFrameRate()abstract LottieCompositiongetComposition()LonggetLastFrameNanos()abstract BooleangetIsAtEnd()abstract FloatgetValue()-
-
Method Detail
-
getIsPlaying
abstract Boolean getIsPlaying()
-
getProgress
abstract Float getProgress()
-
getIteration
abstract Integer getIteration()
-
getIterations
abstract Integer getIterations()
-
getReverseOnRepeat
abstract Boolean getReverseOnRepeat()
-
getClipSpec
abstract LottieClipSpec getClipSpec()
-
getUseCompositionFrameRate
abstract Boolean getUseCompositionFrameRate()
-
getComposition
abstract LottieComposition getComposition()
-
getLastFrameNanos
Long getLastFrameNanos()
-
getIsAtEnd
abstract Boolean getIsAtEnd()
-
-
-
-