Java android.support.v4.media MediaBrowserCompat fields, constructors, methods, implement or subclass

Example usage for Java android.support.v4.media MediaBrowserCompat fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.support.v4.media MediaBrowserCompat.

The text is from its open source code.

Field

StringEXTRA_PAGE
Used as an int extra field to denote the page number to subscribe.
StringEXTRA_PAGE_SIZE
Used as an int extra field to denote the number of media items in a page.

Constructor

Method

voidconnect()
Connects to the media browse service.
voiddisconnect()
Disconnects from the media browse service.
BundlegetExtras()
Gets any extras for the media service.
voidgetItem(final @NonNull String mediaId, @NonNull final ItemCallback cb)
Retrieves a specific MediaItem from the connected service.
StringgetRoot()
Gets the root id.
booleanisConnected()
Returns whether the browser is connected to the service.
voidsubscribe(@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.
voidunsubscribe(@NonNull String parentId)
Unsubscribes for changes to the children of the specified media id.
voidunsubscribe(@NonNull String parentId, @NonNull SubscriptionCallback callback)
Unsubscribes for changes to the children of the specified media id.