FileDocCategorySizeDatePackage
IMediaBrowserServiceCallbacks.javaAPI DocAndroid 5.1 API5751Sat Mar 14 05:48:12 GMT 2015android.service.media

IMediaBrowserServiceCallbacks

public interface IMediaBrowserServiceCallbacks implements android.os.IInterface
Media API allows clients to browse through hierarchy of a user"s media collection, playback a specific media entry and interact with the now playing queue.
hide

Fields Summary
Constructors Summary
Methods Summary
public voidonConnect(java.lang.String root, android.media.session.MediaSession.Token session, android.os.Bundle extras)
Invoked when the connected has been established.

param
root The root media id for browsing.
param
session The {@link MediaSession.Token media session token} that can be used to control the playback of the media app.
param
extra Extras returned by the media service.

public voidonConnectFailed()

public voidonLoadChildren(java.lang.String mediaId, android.content.pm.ParceledListSlice list)