touchgfx::AnimatedImage::setDoneAction() method
@fn void AnimatedImage::setDoneAction(GenericCallback& callback) Associates an action to be performed when the animation of the AnimatedImage is done. Associates an action to be performed when the animation of the AnimatedImage is done.
void setDoneAction(GenericCallback< const AnimatedImage& >& callback); Arguments
callback
The callback is executed when done. The callback is given the animated image.