Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
Android 0.0.0 Developer Preview
belongs to Maven artifact androidx.leanback:leanback:1.1.0-alpha01

PlaybackSeekDataProvider.ResultCallback

public static class PlaybackSeekDataProvider.ResultCallback
extends Object

java.lang.Object
   ↳ androidx.leanback.widget.PlaybackSeekDataProvider.ResultCallback


Client to receive result for PlaybackSeekDataProvider.getThumbnail(int, ResultCallback).

Summary

Public constructors

PlaybackSeekDataProvider.ResultCallback()

Public methods

void onThumbnailLoaded(Bitmap bitmap, int index)

Client of thumbnail bitmap being loaded.

Inherited methods

Public constructors

PlaybackSeekDataProvider.ResultCallback

public PlaybackSeekDataProvider.ResultCallback ()

Public methods

onThumbnailLoaded

public void onThumbnailLoaded (Bitmap bitmap, 
                int index)

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

Parameters
bitmap Bitmap: Result of bitmap.

index int: Index of PlaybackSeekDataProvider.getSeekPositions().