com.aliyun.player

## 接口 IPlayer.OnThumbnailListener

- 封闭接口:
    IPlayer

      public static interface IPlayer.OnThumbnailListener

  Thumbnail image retrieval callback.

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `onGetFail(long position, ErrorInfo errorInfo)` Failed to retrieve the thumbnail image.
    `void` | `onGetSuccess(long position, ThumbnailBitmapInfo result)` The thumbnail image is retrieved.

- - ### 方法详细资料

    - #### onGetSuccess

          void onGetSuccess(long position,
                            ThumbnailBitmapInfo result)

      The thumbnail image is retrieved.
      参数:
        `position` - The timestamp of the frame from which the thumbnail image is created.
        `result` - The thumbnail image. See `ThumbnailBitmapInfo`.

    - #### onGetFail

          void onGetFail(long position,
                         ErrorInfo errorInfo)

      Failed to retrieve the thumbnail image.
      参数:
        `position` - The timestamp of the frame from which the thumbnail image is created.
        `errorInfo` - The thumbnail image. See `ErrorInfo`.