public abstract static class MediaBrowserCompat.ItemCallback extends Object
MediaBrowserCompat.getItem(java.lang.String, android.support.v4.media.MediaBrowserCompat.ItemCallback)
.Constructor and Description |
---|
ItemCallback() |
Modifier and Type | Method and Description |
---|---|
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.
|
public void onItemLoaded(MediaBrowserCompat.MediaItem item)
item
- The item that was returned or null if it doesn't exist.