java.lang.Object | |
↳ | com.facebook.fresco.animation.bitmap.wrapper.AnimatedDrawableBackendAnimationInformation |
AnimationInformation
that wraps an AnimatedDrawableBackend
.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.facebook.fresco.animation.backend.AnimationInformation
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AnimatedDrawableBackendAnimationInformation(AnimatedDrawableBackend animatedDrawableBackend) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int |
getFrameCount()
Get the number of frames for the animation
| ||||||||||
int |
getFrameDurationMs(int frameNumber)
Get the frame duration for a given frame number in milliseconds.
| ||||||||||
int |
getLoopCount()
Get the number of loops the animation has or
LOOP_COUNT_INFINITE for infinite looping. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.facebook.fresco.animation.backend.AnimationInformation
|
Get the number of frames for the animation
Get the frame duration for a given frame number in milliseconds.
frameNumber | the frame to get the duration for |
---|
Get the number of loops the animation has or LOOP_COUNT_INFINITE
for infinite looping.
LOOP_COUNT_INFINITE