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 IWebThumbnailListener
Interface 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 void
onCompleted(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.DISPOSED
exception
- The exception that occurred,null
for
orWebThumbnailState.SUCCESS
.WebThumbnailState.DISPOSED