public static interface AliyunIThumbnailFetcher.OnThumbnailCompletion
| Modifier and Type | Method and Description |
|---|---|
void |
onError(int errorCode)
错误回调
|
void |
onThumbnailReady(Bitmap frameBitmap,
long time,
int index)
缩略图获取成功回调
|
void onThumbnailReady(Bitmap frameBitmap,
long time,
int index)
frameBitmap - 缩略图位图time - 该缩略图对应视频中的时间刻度,单位毫秒index - 返回该缩略图对应的的下标,如果是调用 AliyunIThumbnailFetcher.requestThumbnailImage(long[], OnThumbnailCompletion),则返回在 long [] 数组中,该时间戳在数组的下标void onError(int errorCode)
errorCode - 错误码