public
static
abstract
class
MediaBrowser.ItemCallback
extends Object
java.lang.Object | |
↳ | android.media.browse.MediaBrowser.ItemCallback |
Callback for receiving the result of getItem(String, MediaBrowser.ItemCallback)
.
Public constructors | |
---|---|
MediaBrowser.ItemCallback()
|
Public methods | |
---|---|
void
|
onError(String itemId)
Called when the item doesn't exist or there was an error retrieving it. |
void
|
onItemLoaded(MediaBrowser.MediaItem item)
Called when the item has been returned by the browser service. |
Inherited methods | |
---|---|
From
class
java.lang.Object
|
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.
|
void onItemLoaded (MediaBrowser.MediaItem item)
Called when the item has been returned by the browser service.
Parameters | |
---|---|
item |
MediaBrowser.MediaItem :
The item that was returned or null if it doesn't exist.
|