Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

MediaBrowserCompat.ItemCallback

public static abstract class MediaBrowserCompat.ItemCallback
extends Object

java.lang.Object
   ↳ android.support.v4.media.MediaBrowserCompat.ItemCallback


Callback for receiving the result of MediaBrowserCompat.getItem(String, MediaBrowserCompat.ItemCallback).

Summary

Public constructors

MediaBrowserCompat.ItemCallback()

Public methods

void onError(String itemId)

Called when the item doesn't exist or there was an error retrieving it.

void onItemLoaded(MediaBrowserCompat.MediaItem item)

Called when the item has been returned by the browser service.

Inherited methods

Public constructors

MediaBrowserCompat.ItemCallback

public MediaBrowserCompat.ItemCallback ()

Public methods

onError

public void onError (String itemId)

Called when the item doesn't exist or there was an error retrieving it.

Parameters
itemId String: The media id of the media item which could not be loaded.

onItemLoaded

public void onItemLoaded (MediaBrowserCompat.MediaItem item)

Called when the item has been returned by the browser service.

Parameters
item MediaBrowserCompat.MediaItem: The item that was returned or null if it doesn't exist.