Android APIs
public static final class

MediaBrowserService.BrowserRoot

extends Object
java.lang.Object
   ↳ android.service.media.MediaBrowserService.BrowserRoot

Class Overview


Contains information that the browser service needs to send to the client when first connected.

Summary


Public Constructors
MediaBrowserService.BrowserRoot(String rootId, Bundle extras)
Constructs a browser root.
Public Methods
Bundle getExtras()
Gets any extras about the brwoser service.
String getRootId()
Gets the root id for browsing.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors


public MediaBrowserService.BrowserRoot (String rootId, Bundle extras)

Added in API level 21

Constructs a browser root.

Parameters
rootId The root id for browsing.
extras Any extras about the browser service.

Public Methods


public Bundle getExtras ()

Added in API level 21

Gets any extras about the brwoser service.

public String getRootId ()

Added in API level 21

Gets the root id for browsing.