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.
Interface used to listen to the completion of the loading of the thumbnail.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- void- onCompleted- (WebThumbnail thumbnail, WebThumbnailState state, Throwable exception) Called upon completion of the thumbnail image generation process.
- Method Details- onCompletedCalled upon completion of the thumbnail image generation process.- Parameters:
- thumbnail- The thumbnail in question.
- state- The state:- WebThumbnailState.SUCCESS- WebThumbnailState.ERROR- WebThumbnailState.DISPOSED
- exception- The exception that occurred,- nullfor- WebThumbnailState.SUCCESS- WebThumbnailState.DISPOSED