PlaybackSeekDataProvider.ResultCallback

class PlaybackSeekDataProvider.ResultCallback


Client to receive result for getThumbnail.

Summary

Public constructors

Public functions

Unit
onThumbnailLoaded(bitmap: Bitmap!, index: Int)

Client of thumbnail bitmap being loaded.

Public constructors

ResultCallback

Added in 1.1.0
ResultCallback()

Public functions

onThumbnailLoaded

Added in 1.1.0
fun onThumbnailLoaded(bitmap: Bitmap!, index: Int): Unit

Client of thumbnail bitmap being loaded. PlaybackSeekDataProvider must invoke this method in UI thread such as in onPostExecute.

Parameters
bitmap: Bitmap!

Result of bitmap.

index: Int

Index of getSeekPositions.