public static interface AliyunIThumbnailFetcher.OnThumbnailCompletion
Modifier and Type | Method and Description |
---|---|
void |
onError(int errorCode)
The callback when an error occurs.
|
void |
onThumbnailReady(Bitmap frameBitmap,
long time,
int index)
The callback when the thumbnail image is obtained successfully.
|
void onThumbnailReady(Bitmap frameBitmap, long time, int index)
frameBitmap
- The thumbnail bitmap.time
- The time when the thumbnail image appears in the video.index
- The index of the thumbnail in request times. If you call AliyunIThumbnailFetcher.requestThumbnailImage(long[], OnThumbnailCompletion)
, the time stamp is returned at the subscript of the array long[]void onError(int errorCode)
errorCode
- The error code.