public class

PlaybackSeekDataProvider.ResultCallback

extends java.lang.Object

 java.lang.Object

↳androidx.leanback.widget.PlaybackSeekDataProvider.ResultCallback

Overview

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

Summary

Constructors
publicResultCallback()

Methods
public voidonThumbnailLoaded(Bitmap bitmap, int index)

Client of thumbnail bitmap being loaded.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public ResultCallback()

Methods

public void onThumbnailLoaded(Bitmap bitmap, int index)

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

Parameters:

bitmap: Result of bitmap.
index: Index of PlaybackSeekDataProvider.getSeekPositions().