|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface TimeAnimator.TimeListener
Implementors of this interface can set themselves as update listeners
to a TimeAnimator
instance to receive callbacks on every animation
frame to receive the total time since the animator started and the delta time
since the last frame. The first time the listener is called, totalTime and
deltaTime should both be zero.
Method Summary | |
---|---|
void |
onTimeUpdate(TimeAnimator animation,
long totalTime,
long deltaTime)
Notifies listeners of the occurrence of another frame of the animation, along with information about the elapsed time. |
Method Detail |
---|
void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime)
Notifies listeners of the occurrence of another frame of the animation, along with information about the elapsed time.
animation
- The animator sending out the notification.totalTime
- The
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |