-
- All Implemented Interfaces:
-
com.airbnb.lottie.configurations.reducemotion.ReducedMotionOption
public class SystemReducedMotionOption implements ReducedMotionOption
Lottie animations with a "reduced motion" marker will play that marker instead of any other animations. This class uses getAnimationScale to determine if animations are disabled and if it should play the reduced motion marker. If the animation is provided a "reduced motion" marker name, they will be shown instead of the first or last frame. Supported marker names are case insensitive, and include: - reduced motion - reducedMotion - reduced_motion - reduced-motion
-
-
Method Summary
Modifier and Type Method Description ReducedMotionModegetCurrentReducedMotionMode(@Nullable() Context context)Returns the current reduced motion mode. -
-
Method Detail
-
getCurrentReducedMotionMode
ReducedMotionMode getCurrentReducedMotionMode(@Nullable() Context context)
Returns the current reduced motion mode.
-
-
-
-