| com.facebook.fresco.animation.backend.AnimationInformation |
Known Indirect Subclasses
|
Basic animation metadata: Frame and loop count & duration
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | LOOP_COUNT_INFINITE | Loop count to be returned by getLoopCount() when the animation should be repeated
indefinitely. |
|||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract int |
getFrameCount()
Get the number of frames for the animation
| ||||||||||
| abstract int |
getFrameDurationMs(int frameNumber)
Get the frame duration for a given frame number in milliseconds.
| ||||||||||
| abstract int |
getLoopCount()
Get the number of loops the animation has or
LOOP_COUNT_INFINITE for infinite looping. | ||||||||||
Loop count to be returned by getLoopCount() when the animation should be repeated
indefinitely.
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