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 Summary
Modifier and TypeMethodDescriptionvoid
onCompleted
(WebThumbnail thumbnail, WebThumbnailState state, Throwable exception) Called upon completion of the thumbnail image generation process.
Method Details
onCompleted
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