Package com.iizix.server.webthumbs
Interface IWebThumbnailListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IWebThumbnailListenerInterface used to listen to the completion of the loading of the thumbnail.- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonCompleted(WebThumbnail thumbnail, WebThumbnailState state, java.lang.Throwable exception)Called upon completion of the thumbnail image generation process.
Method Detail
onCompleted
void onCompleted(WebThumbnail thumbnail, WebThumbnailState state, java.lang.Throwable exception)
Called upon completion of the thumbnail image generation process.- Parameters:
thumbnail- The thumbnail in question.state- The state:,WebThumbnailState.SUCCESS, orWebThumbnailState.ERROR.WebThumbnailState.DISPOSEDexception- The exception that occurred,nullfororWebThumbnailState.SUCCESS.WebThumbnailState.DISPOSED