Package 

Class LottieValueAnimator

    • Method Summary

      Modifier and Type Method Description
      float getSpeed() Returns the current speed.
      void setSpeed(float speed)
      float getFrame()
      void setFrame(float frame)
      float getMinFrame()
      void setMinFrame(int minFrame)
      float getMaxFrame()
      void setMaxFrame(float maxFrame)
      void setComposition(LottieComposition composition)
      void setUseCompositionFrameRate(boolean useCompositionFrameRate)
      Object getAnimatedValue() Returns a float representing the current value of the animation from 0 to 1regardless of the animation speed, direction, or min and max frames.
      float getAnimatedValueAbsolute() Returns the current value of the animation from 0 to 1 regardlessof the animation speed, direction, or min and max frames.
      float getAnimatedFraction() Returns the current value of the currently playing animation taking intoaccount direction, min and max frames.
      long getDuration()
      boolean isRunning()
      void doFrame(long frameTimeNanos)
      void clearComposition()
      void setMinAndMaxFrames(float minFrame, float maxFrame)
      void reverseAnimationSpeed()
      void setRepeatMode(int value)
      void playAnimation()
      void endAnimation()
      void pauseAnimation()
      void resumeAnimation()
      void cancel()
      • Methods inherited from class com.airbnb.lottie.utils.BaseLottieAnimator

        addListener, addPauseListener, addUpdateListener, getStartDelay, removeAllListeners, removeAllUpdateListeners, removeListener, removePauseListener, removeUpdateListener, setDuration, setInterpolator, setStartDelay
      • Methods inherited from class android.animation.ValueAnimator

        addUpdateListener, areAnimatorsEnabled, cancel, clone, end, getAnimatedFraction, getAnimatedValue, getCurrentPlayTime, getDuration, getDurationScale, getFrameDelay, getInterpolator, getRepeatCount, getRepeatMode, getStartDelay, getTotalDuration, getValues, isRunning, isStarted, ofArgb, ofFloat, ofInt, ofObject, ofPropertyValuesHolder, pause, registerDurationScaleChangeListener, removeAllUpdateListeners, removeUpdateListener, resume, reverse, setCurrentFraction, setCurrentPlayTime, setDuration, setEvaluator, setFloatValues, setFrameDelay, setIntValues, setInterpolator, setObjectValues, setRepeatCount, setRepeatMode, setStartDelay, setValues, start, toString, unregisterDurationScaleChangeListener
      • Methods inherited from class android.animation.Animator

        addListener, addPauseListener, clone, getListeners, isPaused, removeAllListeners, removeListener, removePauseListener, setDuration, setTarget, setupEndValues, setupStartValues
      • Methods inherited from class android.view.Choreographer.FrameCallback

        doFrame
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait