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)` The callback when an error occurs.
    `void` | `onThumbnailReady(Bitmap frameBitmap, long time, int index)` The callback when the thumbnail image is obtained successfully.

- - ### Method Detail

    - #### onThumbnailReady

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

      The callback when the thumbnail image is obtained successfully.
      Parameters:
        `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[]

    - #### onError

          void onError(int errorCode)

      The callback when an error occurs.
      Parameters:
        `errorCode` - The error code.