com.aliyun.svideosdk.common

## Interface AliyunIThumbnailFetcher.OnThumbnailCompletion

- Enclosing interface:
    AliyunIThumbnailFetcher

      public static interface AliyunIThumbnailFetcher.OnThumbnailCompletion

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onError(int errorCode)` 错误回调
    `void` | `onThumbnailReady(Bitmap frameBitmap, long time, int index)` 缩略图获取成功回调

- - ### Method Detail

    - #### onThumbnailReady

          void onThumbnailReady(Bitmap frameBitmap,
                                long time,
                                int index)

      缩略图获取成功回调
      Parameters:
        `frameBitmap` - 缩略图位图
        `time` - 该缩略图对应视频中的时间刻度,单位毫秒
        `index` - 返回该缩略图对应的的下标，如果是调用 `AliyunIThumbnailFetcher.requestThumbnailImage(long[], OnThumbnailCompletion)`，则返回在 long [] 数组中，该时间戳在数组的下标

    - #### onError

          void onError(int errorCode)

      错误回调
      Parameters:
        `errorCode` - 错误码