Google 致力于为黑人社区推动种族平等。查看具体举措
added in version 26.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

PlaybackSeekDataProvider.ResultCallback

public static class PlaybackSeekDataProvider.ResultCallback
extends Object

java.lang.Object
   ↳ android.support.v17.leanback.widget.PlaybackSeekDataProvider.ResultCallback


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

Summary

Public constructors

PlaybackSeekDataProvider.ResultCallback()

Public methods

void onThumbnailLoaded(Bitmap bitmap, int index)

Client of thumbnail bitmap being loaded.

Inherited methods

From class java.lang.Object

Public constructors

PlaybackSeekDataProvider.ResultCallback

added in version 26.1.0
PlaybackSeekDataProvider.ResultCallback ()

Public methods

onThumbnailLoaded

added in version 26.1.0
void onThumbnailLoaded (Bitmap bitmap, 
                int index)

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

Parameters
bitmap Bitmap: Result of bitmap.

index int: Index of getSeekPositions().