Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

ResultCallback

open class ResultCallback
kotlin.Any
   ↳ androidx.leanback.widget.PlaybackSeekDataProvider.ResultCallback

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

Summary

Public constructors

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

Public methods
open Unit
onThumbnailLoaded(bitmap: Bitmap!, index: Int)

Client of thumbnail bitmap being loaded.

Public constructors

<init>

ResultCallback()

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

Public methods

onThumbnailLoaded

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

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

Parameters
bitmap Bitmap!: Result of bitmap.
index Int: Index of getSeekPositions().