Example usage for Java android.media.browse MediaBrowser fields, constructors, methods, implement or subclass
The text is from its open source code.
MediaBrowser(Context context, ComponentName serviceComponent, ConnectionCallback callback, Bundle rootHints) Creates a media browser for the specified media browser service. |
String | getRoot() Gets the root id. |
boolean | isConnected() Returns whether the browser is connected to the service. |
void | subscribe(@NonNull String parentId, @NonNull SubscriptionCallback callback) Queries for information about the media items that are contained within the specified id and subscribes to receive updates when they change. |
void | unsubscribe(@NonNull String parentId) Unsubscribes for changes to the children of the specified media id. |