com.aliyun.player

## Interface IPlayer.OnThumbnailListener

- Enclosing interface:
    IPlayer

      public static interface IPlayer.OnThumbnailListener

  Thumbnail image retrieval callback.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onGetFail(long position, ErrorInfo errorInfo)` Failed to retrieve the thumbnail image.
    `void` | `onGetSuccess(long position, ThumbnailBitmapInfo result)` The thumbnail image is retrieved.

- - ### Method Detail

    - #### onGetSuccess

          void onGetSuccess(long position,
                            ThumbnailBitmapInfo result)

      The thumbnail image is retrieved.
      Parameters:
        `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.
      Parameters:
        `position` - The timestamp of the frame from which the thumbnail image is created.
        `errorInfo` - The thumbnail image. See `ErrorInfo`.