# MediaBrowserServiceCompat

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  
belongs to Maven artifact com.android.support:support-media-compat:28.0.0-alpha1  
Summary:[Nested Classes](https://developer.android.com/reference/android/support/v4-media/MediaBrowserServiceCompat#nestedclasses)\|[Constants](https://developer.android.com/reference/android/support/v4-media/MediaBrowserServiceCompat#constants)\|[Inherited Constants](https://developer.android.com/reference/android/support/v4-media/MediaBrowserServiceCompat#inhconstants)\|[Ctors](https://developer.android.com/reference/android/support/v4-media/MediaBrowserServiceCompat#pubctors)\|[Methods](https://developer.android.com/reference/android/support/v4-media/MediaBrowserServiceCompat#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/support/v4-media/MediaBrowserServiceCompat#inhmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/v4-media/MediaBrowserServiceCompat#)  

# MediaBrowserServiceCompat

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

`
public


abstract
class
MediaBrowserServiceCompat
`  
`


``


``


``

extends `[Service](https://developer.android.com/reference/android/app/Service.html)`


``


`

|---|---|---|---|----------------------------------------------------|
| java.lang.Object                                               |||||
| ↳ | [android.content.Context](https://developer.android.com/reference/android/content/Context.html) ||||
|   | ↳ | [android.content.ContextWrapper](https://developer.android.com/reference/android/content/ContextWrapper.html) |||
|   |   | ↳ | [android.app.Service](https://developer.android.com/reference/android/app/Service.html) ||
|   |   |   | ↳ | android.support.v4.media.MediaBrowserServiceCompat |

<br />

*** ** * ** ***

Base class for media browse services.

Media browse services enable applications to browse media content provided by an application and ask the application to start playing it. They may also be used to control content that is already playing by way of a[MediaSessionCompat](https://developer.android.com/reference/android/support/v4/media/session/MediaSessionCompat).
To extend this class, you must declare the service in your manifest file with an intent filter with the[SERVICE_INTERFACE](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat#SERVICE_INTERFACE)action. For example:

<br />

```
 <service android:name=".MyMediaBrowserServiceCompat"
          android:label="@string/service_name" >
     <intent-filter>
         <action android:name="android.media.browse.MediaBrowserService" />
     </intent-filter>
 </service>
 
```  

### Developer Guides

For information about building your media application, read the[Media Apps](https://developer.android.com/guide/topics/media-apps)developer guide.

<br />

## Summary

|                                                                                                                                                          ### Nested classes                                                                                                                                                          ||
|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` class` | [MediaBrowserServiceCompat.BrowserRoot](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.BrowserRoot) Contains information that the browser service needs to send to the client when first connected.                                                                            |
| ` class` | [MediaBrowserServiceCompat.Result](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result)`<T>` Completion handler for asynchronous callback methods in[MediaBrowserServiceCompat](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat). |

|                                                                                                                                ### Constants                                                                                                                                 ||
|----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `String` | [SERVICE_INTERFACE](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat#SERVICE_INTERFACE) The[Intent](https://developer.android.com/reference/android/content/Intent.html)that must be declared as handled by the service. |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ### Inherited constants                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4-media/MediaBrowserServiceCompat#)From class` android.app.Service ` |-------|-------------------------------------| | `int` | `START_CONTINUATION_MASK` <br />    | | `int` | `START_FLAG_REDELIVERY` <br />      | | `int` | `START_FLAG_RETRY` <br />           | | `int` | `START_NOT_STICKY` <br />           | | `int` | `START_REDELIVER_INTENT` <br />     | | `int` | `START_STICKY` <br />               | | `int` | `START_STICKY_COMPATIBILITY` <br /> | | `int` | `STOP_FOREGROUND_DETACH` <br />     | | `int` | `STOP_FOREGROUND_REMOVE` <br />     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4-media/MediaBrowserServiceCompat#)From class` android.content.Context ` |----------|-------------------------------------------| | `String` | `ACCESSIBILITY_SERVICE` <br />            | | `String` | `ACCOUNT_SERVICE` <br />                  | | `String` | `ACTIVITY_SERVICE` <br />                 | | `String` | `ALARM_SERVICE` <br />                    | | `String` | `APPWIDGET_SERVICE` <br />                | | `String` | `APP_OPS_SERVICE` <br />                  | | `String` | `AUDIO_SERVICE` <br />                    | | `String` | `BATTERY_SERVICE` <br />                  | | `int`    | `BIND_ABOVE_CLIENT` <br />                | | `int`    | `BIND_ADJUST_WITH_ACTIVITY` <br />        | | `int`    | `BIND_ALLOW_OOM_MANAGEMENT` <br />        | | `int`    | `BIND_AUTO_CREATE` <br />                 | | `int`    | `BIND_DEBUG_UNBIND` <br />                | | `int`    | `BIND_EXTERNAL_SERVICE` <br />            | | `int`    | `BIND_IMPORTANT` <br />                   | | `int`    | `BIND_NOT_FOREGROUND` <br />              | | `int`    | `BIND_WAIVE_PRIORITY` <br />              | | `String` | `BLUETOOTH_SERVICE` <br />                | | `String` | `CAMERA_SERVICE` <br />                   | | `String` | `CAPTIONING_SERVICE` <br />               | | `String` | `CARRIER_CONFIG_SERVICE` <br />           | | `String` | `CLIPBOARD_SERVICE` <br />                | | `String` | `COMPANION_DEVICE_SERVICE` <br />         | | `String` | `CONNECTIVITY_SERVICE` <br />             | | `String` | `CONSUMER_IR_SERVICE` <br />              | | `int`    | `CONTEXT_IGNORE_SECURITY` <br />          | | `int`    | `CONTEXT_INCLUDE_CODE` <br />             | | `int`    | `CONTEXT_RESTRICTED` <br />               | | `String` | `CROSS_PROFILE_APPS_SERVICE` <br />       | | `String` | `DEVICE_POLICY_SERVICE` <br />            | | `String` | `DISPLAY_SERVICE` <br />                  | | `String` | `DOWNLOAD_SERVICE` <br />                 | | `String` | `DROPBOX_SERVICE` <br />                  | | `String` | `FINGERPRINT_SERVICE` <br />              | | `String` | `HARDWARE_PROPERTIES_SERVICE` <br />      | | `String` | `INPUT_METHOD_SERVICE` <br />             | | `String` | `INPUT_SERVICE` <br />                    | | `String` | `IPSEC_SERVICE` <br />                    | | `String` | `JOB_SCHEDULER_SERVICE` <br />            | | `String` | `KEYGUARD_SERVICE` <br />                 | | `String` | `LAUNCHER_APPS_SERVICE` <br />            | | `String` | `LAYOUT_INFLATER_SERVICE` <br />          | | `String` | `LOCATION_SERVICE` <br />                 | | `String` | `MEDIA_PROJECTION_SERVICE` <br />         | | `String` | `MEDIA_ROUTER_SERVICE` <br />             | | `String` | `MEDIA_SESSION_SERVICE` <br />            | | `String` | `MIDI_SERVICE` <br />                     | | `int`    | `MODE_APPEND` <br />                      | | `int`    | `MODE_ENABLE_WRITE_AHEAD_LOGGING` <br />  | | `int`    | `MODE_MULTI_PROCESS` <br />               | | `int`    | `MODE_NO_LOCALIZED_COLLATORS` <br />      | | `int`    | `MODE_PRIVATE` <br />                     | | `int`    | `MODE_WORLD_READABLE` <br />              | | `int`    | `MODE_WORLD_WRITEABLE` <br />             | | `String` | `NETWORK_STATS_SERVICE` <br />            | | `String` | `NFC_SERVICE` <br />                      | | `String` | `NOTIFICATION_SERVICE` <br />             | | `String` | `NSD_SERVICE` <br />                      | | `String` | `POWER_SERVICE` <br />                    | | `String` | `PRINT_SERVICE` <br />                    | | `int`    | `RECEIVER_VISIBLE_TO_INSTANT_APPS` <br /> | | `String` | `RESTRICTIONS_SERVICE` <br />             | | `String` | `SEARCH_SERVICE` <br />                   | | `String` | `SENSOR_SERVICE` <br />                   | | `String` | `SHORTCUT_SERVICE` <br />                 | | `String` | `STORAGE_SERVICE` <br />                  | | `String` | `STORAGE_STATS_SERVICE` <br />            | | `String` | `SYSTEM_HEALTH_SERVICE` <br />            | | `String` | `TELECOM_SERVICE` <br />                  | | `String` | `TELEPHONY_SERVICE` <br />                | | `String` | `TELEPHONY_SUBSCRIPTION_SERVICE` <br />   | | `String` | `TEXT_CLASSIFICATION_SERVICE` <br />      | | `String` | `TEXT_SERVICES_MANAGER_SERVICE` <br />    | | `String` | `TV_INPUT_SERVICE` <br />                 | | `String` | `UI_MODE_SERVICE` <br />                  | | `String` | `USAGE_STATS_SERVICE` <br />              | | `String` | `USB_SERVICE` <br />                      | | `String` | `USER_SERVICE` <br />                     | | `String` | `VIBRATOR_SERVICE` <br />                 | | `String` | `WALLPAPER_SERVICE` <br />                | | `String` | `WIFI_AWARE_SERVICE` <br />               | | `String` | `WIFI_P2P_SERVICE` <br />                 | | `String` | `WIFI_RTT_RANGING_SERVICE` <br />         | | `String` | `WIFI_SERVICE` <br />                     | | `String` | `WINDOW_SERVICE` <br />                   | |
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4-media/MediaBrowserServiceCompat#)From interface` android.content.ComponentCallbacks2 ` |-------|---------------------------------------| | `int` | `TRIM_MEMORY_BACKGROUND` <br />       | | `int` | `TRIM_MEMORY_COMPLETE` <br />         | | `int` | `TRIM_MEMORY_MODERATE` <br />         | | `int` | `TRIM_MEMORY_RUNNING_CRITICAL` <br /> | | `int` | `TRIM_MEMORY_RUNNING_LOW` <br />      | | `int` | `TRIM_MEMORY_RUNNING_MODERATE` <br /> | | `int` | `TRIM_MEMORY_UI_HIDDEN` <br />        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |

|                                                                    ### Public constructors                                                                     ||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[MediaBrowserServiceCompat](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat#MediaBrowserServiceCompat())`() ` |

|                                                                                                                                                                                                                                                                                                                                                                                                                                          ### Public methods                                                                                                                                                                                                                                                                                                                                                                                                                                           ||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` void`                                                                                                                                                     | ` `[dump](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat#dump(java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[]))`(FileDescriptor fd, PrintWriter writer, String[] args) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ` final `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)                                                                           | ` `[getBrowserRootHints](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat#getBrowserRootHints())`() ` Gets the root hints sent from the currently connected[MediaBrowserCompat](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat).                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ` `[MediaSessionCompat.Token](https://developer.android.com/reference/android/support/v4/media/session/MediaSessionCompat.Token)                            | ` `[getSessionToken](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat#getSessionToken())`() ` Gets the session token, or null if it has not yet been created or if it has been destroyed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ` void`                                                                                                                                                     | ` `[notifyChildrenChanged](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat#notifyChildrenChanged(java.lang.String))`(String parentId) ` Notifies all connected media browsers that the children of the specified parent id have changed in some way.                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ` void`                                                                                                                                                     | ` `[notifyChildrenChanged](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat#notifyChildrenChanged(java.lang.String, android.os.Bundle))`(String parentId, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` options) ` Notifies all connected media browsers that the children of the specified parent id have changed in some way.                                                                                                                                                                                                                                                                                                                                   |
| ` `[IBinder](https://developer.android.com/reference/android/os/IBinder.html)                                                                               | ` `[onBind](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat#onBind(android.content.Intent))`(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` intent) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` void`                                                                                                                                                     | ` `[onCreate](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat#onCreate())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ` void`                                                                                                                                                     | ` `[onCustomAction](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat#onCustomAction(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserServiceCompat.Result<android.os.Bundle>))`(String action, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` extras, `[Result](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result)`<`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)`> result) ` Called to request a custom action to this service.                                                                                                                              |
| ` abstract `[MediaBrowserServiceCompat.BrowserRoot](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.BrowserRoot) | ` `[onGetRoot](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat#onGetRoot(java.lang.String, int, android.os.Bundle))`(String clientPackageName, int clientUid, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` rootHints) ` Called to get the root information for browsing by a particular client.                                                                                                                                                                                                                                                                                                                                                                 |
| ` abstract void`                                                                                                                                            | ` `[onLoadChildren](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat#onLoadChildren(java.lang.String, android.support.v4.media.MediaBrowserServiceCompat.Result<java.util.List<android.support.v4.media.MediaBrowserCompat.MediaItem>>))`(String parentId, `[Result](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result)`<List<`[MediaBrowserCompat.MediaItem](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat.MediaItem)`>> result) ` Called to get information about the children of a media item.                                                                                                        |
| ` void`                                                                                                                                                     | ` `[onLoadChildren](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat#onLoadChildren(java.lang.String, android.support.v4.media.MediaBrowserServiceCompat.Result<java.util.List<android.support.v4.media.MediaBrowserCompat.MediaItem>>, android.os.Bundle))`(String parentId, `[Result](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result)`<List<`[MediaBrowserCompat.MediaItem](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat.MediaItem)`>> result, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` options) ` Called to get information about the children of a media item. |
| ` void`                                                                                                                                                     | ` `[onLoadItem](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat#onLoadItem(java.lang.String, android.support.v4.media.MediaBrowserServiceCompat.Result<android.support.v4.media.MediaBrowserCompat.MediaItem>))`(String itemId, `[Result](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result)`<`[MediaBrowserCompat.MediaItem](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat.MediaItem)`> result) ` Called to get information about a specific media item.                                                                                                                                               |
| ` void`                                                                                                                                                     | ` `[onSearch](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat#onSearch(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserServiceCompat.Result<java.util.List<android.support.v4.media.MediaBrowserCompat.MediaItem>>))`(String query, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` extras, `[Result](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result)`<List<`[MediaBrowserCompat.MediaItem](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat.MediaItem)`>> result) ` Called to get the search result.                                              |
| ` void`                                                                                                                                                     | ` `[setSessionToken](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat#setSessionToken(android.support.v4.media.session.MediaSessionCompat.Token))`(`[MediaSessionCompat.Token](https://developer.android.com/reference/android/support/v4/media/session/MediaSessionCompat.Token)` token) ` Call to set the media session.                                                                                                                                                                                                                                                                                                                                                                     |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4-media/MediaBrowserServiceCompat#)From class` `[android.app.Service](https://developer.android.com/reference/android/app/Service.html)` ` |----------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------| | ` void`                                                                                      | ` dump(FileDescriptor arg0, PrintWriter arg1, String[] arg2) `                                                                     | | ` final `[Application](https://developer.android.com/reference/android/app/Application.html) | ` getApplication() `                                                                                                               | | ` abstract `[IBinder](https://developer.android.com/reference/android/os/IBinder.html)       | ` onBind(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                   | | ` void`                                                                                      | ` onConfigurationChanged(`[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg0) ` | | ` void`                                                                                      | ` onCreate() `                                                                                                                     | | ` void`                                                                                      | ` onDestroy() `                                                                                                                    | | ` void`                                                                                      | ` onLowMemory() `                                                                                                                  | | ` void`                                                                                      | ` onRebind(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                 | | ` void`                                                                                      | ` onStart(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, int arg1) `                        | | ` int`                                                                                       | ` onStartCommand(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, int arg1, int arg2) `       | | ` void`                                                                                      | ` onTaskRemoved(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                            | | ` void`                                                                                      | ` onTrimMemory(int arg0) `                                                                                                         | | ` boolean`                                                                                   | ` onUnbind(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                 | | ` final void`                                                                                | ` startForeground(int arg0, `[Notification](https://developer.android.com/reference/android/app/Notification.html)` arg1) `        | | ` final void`                                                                                | ` stopForeground(int arg0) `                                                                                                       | | ` final void`                                                                                | ` stopForeground(boolean arg0) `                                                                                                   | | ` final void`                                                                                | ` stopSelf() `                                                                                                                     | | ` final void`                                                                                | ` stopSelf(int arg0) `                                                                                                             | | ` final boolean`                                                                             | ` stopSelfResult(int arg0) `                                                                                                       | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4-media/MediaBrowserServiceCompat#)From class` `[android.content.ContextWrapper](https://developer.android.com/reference/android/content/ContextWrapper.html)` ` |----------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` void`                                                                                                  | ` attachBaseContext(`[Context](https://developer.android.com/reference/android/content/Context.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` boolean`                                                                                               | ` bindService(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[ServiceConnection](https://developer.android.com/reference/android/content/ServiceConnection.html)` arg1, int arg2) `                                                                                                                                                                                                                                                                                                       | | ` int`                                                                                                   | ` checkCallingOrSelfPermission(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` int`                                                                                                   | ` checkCallingOrSelfUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                         | | ` int`                                                                                                   | ` checkCallingPermission(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` int`                                                                                                   | ` checkCallingUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                               | | ` int`                                                                                                   | ` checkPermission(String arg0, int arg1, int arg2) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` int`                                                                                                   | ` checkSelfPermission(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` int`                                                                                                   | ` checkUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, String arg1, String arg2, int arg3, int arg4, int arg5) `                                                                                                                                                                                                                                                                                                                                                                        | | ` int`                                                                                                   | ` checkUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                                                                                                                                                                                                                  | | ` void`                                                                                                  | ` clearWallpaper() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` createConfigurationContext(`[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                            | | ` `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` createContextForSplit(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` createDeviceProtectedStorageContext() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` createDisplayContext(`[Display](https://developer.android.com/reference/android/view/Display.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` createPackageContext(String arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` String[]`                                                                                              | ` databaseList() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` boolean`                                                                                               | ` deleteDatabase(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` boolean`                                                                                               | ` deleteFile(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` boolean`                                                                                               | ` deleteSharedPreferences(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` void`                                                                                                  | ` enforceCallingOrSelfPermission(String arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | | ` void`                                                                                                  | ` enforceCallingOrSelfUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1, String arg2) `                                                                                                                                                                                                                                                                                                                                                                                          | | ` void`                                                                                                  | ` enforceCallingPermission(String arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` void`                                                                                                  | ` enforceCallingUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1, String arg2) `                                                                                                                                                                                                                                                                                                                                                                                                | | ` void`                                                                                                  | ` enforcePermission(String arg0, int arg1, int arg2, String arg3) `                                                                                                                                                                                                                                                                                                                                                                                                                                                               | | ` void`                                                                                                  | ` enforceUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, String arg1, String arg2, int arg3, int arg4, int arg5, String arg6) `                                                                                                                                                                                                                                                                                                                                                         | | ` void`                                                                                                  | ` enforceUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1, int arg2, int arg3, String arg4) `                                                                                                                                                                                                                                                                                                                                                                                   | | ` String[]`                                                                                              | ` fileList() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` getApplicationContext() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` `[ApplicationInfo](https://developer.android.com/reference/android/content/pm/ApplicationInfo.html)    | ` getApplicationInfo() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` `[AssetManager](https://developer.android.com/reference/android/content/res/AssetManager.html)         | ` getAssets() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` getBaseContext() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` File`                                                                                                  | ` getCacheDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` ClassLoader`                                                                                           | ` getClassLoader() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` File`                                                                                                  | ` getCodeCacheDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` `[ContentResolver](https://developer.android.com/reference/android/content/ContentResolver.html)       | ` getContentResolver() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` File`                                                                                                  | ` getDataDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` File`                                                                                                  | ` getDatabasePath(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` File`                                                                                                  | ` getDir(String arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` File`                                                                                                  | ` getExternalCacheDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` File[]`                                                                                                | ` getExternalCacheDirs() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | ` File`                                                                                                  | ` getExternalFilesDir(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` File[]`                                                                                                | ` getExternalFilesDirs(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` File[]`                                                                                                | ` getExternalMediaDirs() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | ` File`                                                                                                  | ` getFileStreamPath(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` File`                                                                                                  | ` getFilesDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` Executor`                                                                                              | ` getMainExecutor() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` `[Looper](https://developer.android.com/reference/android/os/Looper.html)                              | ` getMainLooper() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | | ` File`                                                                                                  | ` getNoBackupFilesDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` File`                                                                                                  | ` getObbDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` File[]`                                                                                                | ` getObbDirs() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` String`                                                                                                | ` getPackageCodePath() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` `[PackageManager](https://developer.android.com/reference/android/content/pm/PackageManager.html)      | ` getPackageManager() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` String`                                                                                                | ` getPackageName() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` String`                                                                                                | ` getPackageResourcePath() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | | ` `[Resources](https://developer.android.com/reference/android/content/res/Resources.html)               | ` getResources() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` `[SharedPreferences](https://developer.android.com/reference/android/content/SharedPreferences.html)   | ` getSharedPreferences(String arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` Object`                                                                                                | ` getSystemService(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` String`                                                                                                | ` getSystemServiceName(Class<?> arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` `[Resources.Theme](https://developer.android.com/reference/android/content/res/Resources.Theme.html)   | ` getTheme() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)           | ` getWallpaper() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` int`                                                                                                   | ` getWallpaperDesiredMinimumHeight() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` int`                                                                                                   | ` getWallpaperDesiredMinimumWidth() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` void`                                                                                                  | ` grantUriPermission(String arg0, `[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg1, int arg2) `                                                                                                                                                                                                                                                                                                                                                                                                         | | ` boolean`                                                                                               | ` isDeviceProtectedStorage() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` boolean`                                                                                               | ` isRestricted() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` boolean`                                                                                               | ` moveDatabaseFrom(`[Context](https://developer.android.com/reference/android/content/Context.html)` arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                         | | ` boolean`                                                                                               | ` moveSharedPreferencesFrom(`[Context](https://developer.android.com/reference/android/content/Context.html)` arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                | | ` FileInputStream`                                                                                       | ` openFileInput(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` FileOutputStream`                                                                                      | ` openFileOutput(String arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` `[SQLiteDatabase](https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html) | ` openOrCreateDatabase(String arg0, int arg1, `[SQLiteDatabase.CursorFactory](https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.CursorFactory.html)` arg2, `[DatabaseErrorHandler](https://developer.android.com/reference/android/database/DatabaseErrorHandler.html)` arg3) `                                                                                                                                                                                                                      | | ` `[SQLiteDatabase](https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html) | ` openOrCreateDatabase(String arg0, int arg1, `[SQLiteDatabase.CursorFactory](https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.CursorFactory.html)` arg2) `                                                                                                                                                                                                                                                                                                                                         | | ` `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)           | ` peekWallpaper() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | | ` `[Intent](https://developer.android.com/reference/android/content/Intent.html)                         | ` registerReceiver(`[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg0, `[IntentFilter](https://developer.android.com/reference/android/content/IntentFilter.html)` arg1) `                                                                                                                                                                                                                                                                                                | | ` `[Intent](https://developer.android.com/reference/android/content/Intent.html)                         | ` registerReceiver(`[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg0, `[IntentFilter](https://developer.android.com/reference/android/content/IntentFilter.html)` arg1, int arg2) `                                                                                                                                                                                                                                                                                      | | ` `[Intent](https://developer.android.com/reference/android/content/Intent.html)                         | ` registerReceiver(`[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg0, `[IntentFilter](https://developer.android.com/reference/android/content/IntentFilter.html)` arg1, String arg2, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg3, int arg4) `                                                                                                                                                                                      | | ` `[Intent](https://developer.android.com/reference/android/content/Intent.html)                         | ` registerReceiver(`[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg0, `[IntentFilter](https://developer.android.com/reference/android/content/IntentFilter.html)` arg1, String arg2, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg3) `                                                                                                                                                                                                | | ` void`                                                                                                  | ` removeStickyBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` void`                                                                                                  | ` removeStickyBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1) `                                                                                                                                                                                                                                                                                                                    | | ` void`                                                                                                  | ` revokeUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` void`                                                                                                  | ` revokeUriPermission(String arg0, `[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg1, int arg2) `                                                                                                                                                                                                                                                                                                                                                                                                        | | ` void`                                                                                                  | ` sendBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                              | | ` void`                                                                                                  | ` sendBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` void`                                                                                                  | ` sendBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1) `                                                                                                                                                                                                                                                                                                                            | | ` void`                                                                                                  | ` sendBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1, String arg2) `                                                                                                                                                                                                                                                                                                               | | ` void`                                                                                                  | ` sendOrderedBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, String arg1, `[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg2, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg3, int arg4, String arg5, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg6) `                                                                                                | | ` void`                                                                                                  | ` sendOrderedBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                       | | ` void`                                                                                                  | ` sendOrderedBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1, String arg2, `[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg3, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg4, int arg5, String arg6, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg7) ` | | ` void`                                                                                                  | ` sendStickyBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` void`                                                                                                  | ` sendStickyBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1) `                                                                                                                                                                                                                                                                                                                      | | ` void`                                                                                                  | ` sendStickyOrderedBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg1, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg2, int arg3, String arg4, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg5) `                                                                                                       | | ` void`                                                                                                  | ` sendStickyOrderedBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1, `[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg2, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg3, int arg4, String arg5, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg6) `        | | ` void`                                                                                                  | ` setTheme(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` void`                                                                                                  | ` setWallpaper(`[Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` void`                                                                                                  | ` setWallpaper(InputStream arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` void`                                                                                                  | ` startActivities(`[Intent[]](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                                                                                                                                                                                                                                      | | ` void`                                                                                                  | ` startActivities(`[Intent[]](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` void`                                                                                                  | ` startActivity(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` void`                                                                                                  | ` startActivity(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                                                                                                                                                                                                                                          | | ` `[ComponentName](https://developer.android.com/reference/android/content/ComponentName.html)           | ` startForegroundService(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` boolean`                                                                                               | ` startInstrumentation(`[ComponentName](https://developer.android.com/reference/android/content/ComponentName.html)` arg0, String arg1, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg2) `                                                                                                                                                                                                                                                                                                        | | ` void`                                                                                                  | ` startIntentSender(`[IntentSender](https://developer.android.com/reference/android/content/IntentSender.html)` arg0, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg1, int arg2, int arg3, int arg4) `                                                                                                                                                                                                                                                                                       | | ` void`                                                                                                  | ` startIntentSender(`[IntentSender](https://developer.android.com/reference/android/content/IntentSender.html)` arg0, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg1, int arg2, int arg3, int arg4, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg5) `                                                                                                                                                                                                      | | ` `[ComponentName](https://developer.android.com/reference/android/content/ComponentName.html)           | ` startService(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` boolean`                                                                                               | ` stopService(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` void`                                                                                                  | ` unbindService(`[ServiceConnection](https://developer.android.com/reference/android/content/ServiceConnection.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                     | | ` void`                                                                                                  | ` unregisterReceiver(`[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4-media/MediaBrowserServiceCompat#)From class` `[android.content.Context](https://developer.android.com/reference/android/content/Context.html)` ` |-------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract boolean`                                                                                               | ` bindService(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[ServiceConnection](https://developer.android.com/reference/android/content/ServiceConnection.html)` arg1, int arg2) `                                                                                                                                                                                                                                                                                                       | | ` abstract int`                                                                                                   | ` checkCallingOrSelfPermission(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` abstract int`                                                                                                   | ` checkCallingOrSelfUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                         | | ` abstract int`                                                                                                   | ` checkCallingPermission(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` abstract int`                                                                                                   | ` checkCallingUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                               | | ` abstract int`                                                                                                   | ` checkPermission(String arg0, int arg1, int arg2) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` abstract int`                                                                                                   | ` checkSelfPermission(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` abstract int`                                                                                                   | ` checkUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, String arg1, String arg2, int arg3, int arg4, int arg5) `                                                                                                                                                                                                                                                                                                                                                                        | | ` abstract int`                                                                                                   | ` checkUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                                                                                                                                                                                                                  | | ` abstract void`                                                                                                  | ` clearWallpaper() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` abstract `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` createConfigurationContext(`[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                            | | ` abstract `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` createContextForSplit(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` abstract `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` createDeviceProtectedStorageContext() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` abstract `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` createDisplayContext(`[Display](https://developer.android.com/reference/android/view/Display.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` abstract `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` createPackageContext(String arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` abstract String[]`                                                                                              | ` databaseList() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` abstract boolean`                                                                                               | ` deleteDatabase(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` abstract boolean`                                                                                               | ` deleteFile(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` abstract boolean`                                                                                               | ` deleteSharedPreferences(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` abstract void`                                                                                                  | ` enforceCallingOrSelfPermission(String arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | | ` abstract void`                                                                                                  | ` enforceCallingOrSelfUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1, String arg2) `                                                                                                                                                                                                                                                                                                                                                                                          | | ` abstract void`                                                                                                  | ` enforceCallingPermission(String arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` abstract void`                                                                                                  | ` enforceCallingUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1, String arg2) `                                                                                                                                                                                                                                                                                                                                                                                                | | ` abstract void`                                                                                                  | ` enforcePermission(String arg0, int arg1, int arg2, String arg3) `                                                                                                                                                                                                                                                                                                                                                                                                                                                               | | ` abstract void`                                                                                                  | ` enforceUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, String arg1, String arg2, int arg3, int arg4, int arg5, String arg6) `                                                                                                                                                                                                                                                                                                                                                         | | ` abstract void`                                                                                                  | ` enforceUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1, int arg2, int arg3, String arg4) `                                                                                                                                                                                                                                                                                                                                                                                   | | ` abstract String[]`                                                                                              | ` fileList() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` abstract `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` getApplicationContext() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` abstract `[ApplicationInfo](https://developer.android.com/reference/android/content/pm/ApplicationInfo.html)    | ` getApplicationInfo() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` abstract `[AssetManager](https://developer.android.com/reference/android/content/res/AssetManager.html)         | ` getAssets() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` abstract File`                                                                                                  | ` getCacheDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` abstract ClassLoader`                                                                                           | ` getClassLoader() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` abstract File`                                                                                                  | ` getCodeCacheDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` final int`                                                                                                      | ` getColor(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` final `[ColorStateList](https://developer.android.com/reference/android/content/res/ColorStateList.html)        | ` getColorStateList(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` abstract `[ContentResolver](https://developer.android.com/reference/android/content/ContentResolver.html)       | ` getContentResolver() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` abstract File`                                                                                                  | ` getDataDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` abstract File`                                                                                                  | ` getDatabasePath(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` abstract File`                                                                                                  | ` getDir(String arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` final `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)              | ` getDrawable(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` abstract File`                                                                                                  | ` getExternalCacheDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` abstract File[]`                                                                                                | ` getExternalCacheDirs() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | ` abstract File`                                                                                                  | ` getExternalFilesDir(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` abstract File[]`                                                                                                | ` getExternalFilesDirs(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` abstract File[]`                                                                                                | ` getExternalMediaDirs() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | ` abstract File`                                                                                                  | ` getFileStreamPath(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` abstract File`                                                                                                  | ` getFilesDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` Executor`                                                                                                       | ` getMainExecutor() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` abstract `[Looper](https://developer.android.com/reference/android/os/Looper.html)                              | ` getMainLooper() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | | ` abstract File`                                                                                                  | ` getNoBackupFilesDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` abstract File`                                                                                                  | ` getObbDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` abstract File[]`                                                                                                | ` getObbDirs() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` abstract String`                                                                                                | ` getPackageCodePath() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` abstract `[PackageManager](https://developer.android.com/reference/android/content/pm/PackageManager.html)      | ` getPackageManager() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` abstract String`                                                                                                | ` getPackageName() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` abstract String`                                                                                                | ` getPackageResourcePath() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | | ` abstract `[Resources](https://developer.android.com/reference/android/content/res/Resources.html)               | ` getResources() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` abstract `[SharedPreferences](https://developer.android.com/reference/android/content/SharedPreferences.html)   | ` getSharedPreferences(String arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` final String`                                                                                                   | ` getString(int arg0, Object... arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` final String`                                                                                                   | ` getString(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` final <T> T`                                                                                                    | ` getSystemService(Class<T> arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | | ` abstract Object`                                                                                                | ` getSystemService(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` abstract String`                                                                                                | ` getSystemServiceName(Class<?> arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` final CharSequence`                                                                                             | ` getText(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` abstract `[Resources.Theme](https://developer.android.com/reference/android/content/res/Resources.Theme.html)   | ` getTheme() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` abstract `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)           | ` getWallpaper() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` abstract int`                                                                                                   | ` getWallpaperDesiredMinimumHeight() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` abstract int`                                                                                                   | ` getWallpaperDesiredMinimumWidth() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` abstract void`                                                                                                  | ` grantUriPermission(String arg0, `[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg1, int arg2) `                                                                                                                                                                                                                                                                                                                                                                                                         | | ` abstract boolean`                                                                                               | ` isDeviceProtectedStorage() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` boolean`                                                                                                        | ` isRestricted() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` abstract boolean`                                                                                               | ` moveDatabaseFrom(`[Context](https://developer.android.com/reference/android/content/Context.html)` arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                         | | ` abstract boolean`                                                                                               | ` moveSharedPreferencesFrom(`[Context](https://developer.android.com/reference/android/content/Context.html)` arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                | | ` final `[TypedArray](https://developer.android.com/reference/android/content/res/TypedArray.html)                | ` obtainStyledAttributes(`[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` arg0, int[] arg1) `                                                                                                                                                                                                                                                                                                                                                                                             | | ` final `[TypedArray](https://developer.android.com/reference/android/content/res/TypedArray.html)                | ` obtainStyledAttributes(`[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` arg0, int[] arg1, int arg2, int arg3) `                                                                                                                                                                                                                                                                                                                                                                         | | ` final `[TypedArray](https://developer.android.com/reference/android/content/res/TypedArray.html)                | ` obtainStyledAttributes(int arg0, int[] arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` final `[TypedArray](https://developer.android.com/reference/android/content/res/TypedArray.html)                | ` obtainStyledAttributes(int[] arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` abstract FileInputStream`                                                                                       | ` openFileInput(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` abstract FileOutputStream`                                                                                      | ` openFileOutput(String arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` abstract `[SQLiteDatabase](https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html) | ` openOrCreateDatabase(String arg0, int arg1, `[SQLiteDatabase.CursorFactory](https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.CursorFactory.html)` arg2, `[DatabaseErrorHandler](https://developer.android.com/reference/android/database/DatabaseErrorHandler.html)` arg3) `                                                                                                                                                                                                                      | | ` abstract `[SQLiteDatabase](https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html) | ` openOrCreateDatabase(String arg0, int arg1, `[SQLiteDatabase.CursorFactory](https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.CursorFactory.html)` arg2) `                                                                                                                                                                                                                                                                                                                                         | | ` abstract `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)           | ` peekWallpaper() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | | ` void`                                                                                                           | ` registerComponentCallbacks(`[ComponentCallbacks](https://developer.android.com/reference/android/content/ComponentCallbacks.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                      | | ` abstract `[Intent](https://developer.android.com/reference/android/content/Intent.html)                         | ` registerReceiver(`[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg0, `[IntentFilter](https://developer.android.com/reference/android/content/IntentFilter.html)` arg1) `                                                                                                                                                                                                                                                                                                | | ` abstract `[Intent](https://developer.android.com/reference/android/content/Intent.html)                         | ` registerReceiver(`[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg0, `[IntentFilter](https://developer.android.com/reference/android/content/IntentFilter.html)` arg1, int arg2) `                                                                                                                                                                                                                                                                                      | | ` abstract `[Intent](https://developer.android.com/reference/android/content/Intent.html)                         | ` registerReceiver(`[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg0, `[IntentFilter](https://developer.android.com/reference/android/content/IntentFilter.html)` arg1, String arg2, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg3, int arg4) `                                                                                                                                                                                      | | ` abstract `[Intent](https://developer.android.com/reference/android/content/Intent.html)                         | ` registerReceiver(`[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg0, `[IntentFilter](https://developer.android.com/reference/android/content/IntentFilter.html)` arg1, String arg2, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg3) `                                                                                                                                                                                                | | ` abstract void`                                                                                                  | ` removeStickyBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` abstract void`                                                                                                  | ` removeStickyBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1) `                                                                                                                                                                                                                                                                                                                    | | ` abstract void`                                                                                                  | ` revokeUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` abstract void`                                                                                                  | ` revokeUriPermission(String arg0, `[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg1, int arg2) `                                                                                                                                                                                                                                                                                                                                                                                                        | | ` abstract void`                                                                                                  | ` sendBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                              | | ` abstract void`                                                                                                  | ` sendBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` abstract void`                                                                                                  | ` sendBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1) `                                                                                                                                                                                                                                                                                                                            | | ` abstract void`                                                                                                  | ` sendBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1, String arg2) `                                                                                                                                                                                                                                                                                                               | | ` abstract void`                                                                                                  | ` sendOrderedBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, String arg1, `[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg2, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg3, int arg4, String arg5, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg6) `                                                                                                | | ` abstract void`                                                                                                  | ` sendOrderedBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                       | | ` abstract void`                                                                                                  | ` sendOrderedBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1, String arg2, `[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg3, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg4, int arg5, String arg6, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg7) ` | | ` abstract void`                                                                                                  | ` sendStickyBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` abstract void`                                                                                                  | ` sendStickyBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1) `                                                                                                                                                                                                                                                                                                                      | | ` abstract void`                                                                                                  | ` sendStickyOrderedBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg1, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg2, int arg3, String arg4, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg5) `                                                                                                       | | ` abstract void`                                                                                                  | ` sendStickyOrderedBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1, `[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg2, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg3, int arg4, String arg5, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg6) `        | | ` abstract void`                                                                                                  | ` setTheme(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` abstract void`                                                                                                  | ` setWallpaper(`[Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` abstract void`                                                                                                  | ` setWallpaper(InputStream arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` abstract void`                                                                                                  | ` startActivities(`[Intent[]](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                                                                                                                                                                                                                                      | | ` abstract void`                                                                                                  | ` startActivities(`[Intent[]](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` abstract void`                                                                                                  | ` startActivity(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` abstract void`                                                                                                  | ` startActivity(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                                                                                                                                                                                                                                          | | ` abstract `[ComponentName](https://developer.android.com/reference/android/content/ComponentName.html)           | ` startForegroundService(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` abstract boolean`                                                                                               | ` startInstrumentation(`[ComponentName](https://developer.android.com/reference/android/content/ComponentName.html)` arg0, String arg1, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg2) `                                                                                                                                                                                                                                                                                                        | | ` abstract void`                                                                                                  | ` startIntentSender(`[IntentSender](https://developer.android.com/reference/android/content/IntentSender.html)` arg0, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg1, int arg2, int arg3, int arg4) `                                                                                                                                                                                                                                                                                       | | ` abstract void`                                                                                                  | ` startIntentSender(`[IntentSender](https://developer.android.com/reference/android/content/IntentSender.html)` arg0, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg1, int arg2, int arg3, int arg4, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg5) `                                                                                                                                                                                                      | | ` abstract `[ComponentName](https://developer.android.com/reference/android/content/ComponentName.html)           | ` startService(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` abstract boolean`                                                                                               | ` stopService(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` abstract void`                                                                                                  | ` unbindService(`[ServiceConnection](https://developer.android.com/reference/android/content/ServiceConnection.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                     | | ` void`                                                                                                           | ` unregisterComponentCallbacks(`[ComponentCallbacks](https://developer.android.com/reference/android/content/ComponentCallbacks.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                    | | ` abstract void`                                                                                                  | ` unregisterReceiver(`[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4-media/MediaBrowserServiceCompat#)From class` java.lang.Object ` |-------------------|-------------------------------| | ` Object`         | ` clone() `                   | | ` boolean`        | ` equals(Object arg0) `       | | ` void`           | ` finalize() `                | | ` final Class<?>` | ` getClass() `                | | ` int`            | ` hashCode() `                | | ` final void`     | ` notify() `                  | | ` final void`     | ` notifyAll() `               | | ` String`         | ` toString() `                | | ` final void`     | ` wait(long arg0, int arg1) ` | | ` final void`     | ` wait(long arg0) `           | | ` final void`     | ` wait() `                    | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4-media/MediaBrowserServiceCompat#)From interface` `[android.content.ComponentCallbacks2](https://developer.android.com/reference/android/content/ComponentCallbacks2.html)` ` |------------------|----------------------------| | ` abstract void` | ` onTrimMemory(int arg0) ` | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4-media/MediaBrowserServiceCompat#)From interface` `[android.content.ComponentCallbacks](https://developer.android.com/reference/android/content/ComponentCallbacks.html)` ` |------------------|------------------------------------------------------------------------------------------------------------------------------------| | ` abstract void` | ` onConfigurationChanged(`[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg0) ` | | ` abstract void` | ` onLowMemory() `                                                                                                                  | ||

## Constants

### SERVICE_INTERFACE

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
String SERVICE_INTERFACE
```

The[Intent](https://developer.android.com/reference/android/content/Intent.html)that must be declared as handled by the service.

<br />

Constant Value: "android.media.browse.MediaBrowserService"

## Public constructors

### MediaBrowserServiceCompat

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
MediaBrowserServiceCompat ()
```

<br />

<br />

## Public methods

### dump

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void dump (FileDescriptor fd,
                PrintWriter writer,
                String[] args)
```

<br />

<br />

|            Parameters             ||
|----------|-------------------------|
| `fd`     | `FileDescriptor` <br /> |
| `writer` | `PrintWriter` <br />    |
| `args`   | `String` <br />         |

### getBrowserRootHints

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
Bundle getBrowserRootHints ()
```

Gets the root hints sent from the currently connected[MediaBrowserCompat](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat). The root hints are service-specific arguments included in an optional bundle sent to the media browser service when connecting and retrieving the root id for browsing, or null if none. The contents of this bundle may affect the information returned when browsing.

Note that this will return null when connected to[MediaBrowser](https://developer.android.com/reference/android/media/browse/MediaBrowser.html)and running on API 23 or lower.

<br />

|                                     Returns                                      ||
|--------------------------------------------------------------------------|--------|
| [Bundle](https://developer.android.com/reference/android/os/Bundle.html) | <br /> |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Throws                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ||
|-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `IllegalStateException` | If this method is called outside of[onLoadChildren(String, MediaBrowserServiceCompat.Result>)](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat#onLoadChildren(java.lang.String, android.support.v4.media.MediaBrowserServiceCompat.Result<java.util.List<android.support.v4.media.MediaBrowserCompat.MediaItem>>)),[onLoadItem(String, MediaBrowserServiceCompat.Result)](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat#onLoadItem(java.lang.String, android.support.v4.media.MediaBrowserServiceCompat.Result<android.support.v4.media.MediaBrowserCompat.MediaItem>))or[onSearch(String, Bundle, MediaBrowserServiceCompat.Result>)](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat#onSearch(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserServiceCompat.Result<java.util.List<android.support.v4.media.MediaBrowserCompat.MediaItem>>)). |

**See also:**

- [EXTRA_RECENT](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.BrowserRoot#EXTRA_RECENT)
- [EXTRA_OFFLINE](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.BrowserRoot#EXTRA_OFFLINE)
- [EXTRA_SUGGESTED](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.BrowserRoot#EXTRA_SUGGESTED)  

### getSessionToken

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
MediaSessionCompat.Token getSessionToken ()
```

Gets the session token, or null if it has not yet been created or if it has been destroyed.

<br />

|                                                                Returns                                                                ||
|-------------------------------------------------------------------------------------------------------------------------------|--------|
| [MediaSessionCompat.Token](https://developer.android.com/reference/android/support/v4/media/session/MediaSessionCompat.Token) | <br /> |

### notifyChildrenChanged

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void notifyChildrenChanged (String parentId)
```

Notifies all connected media browsers that the children of the specified parent id have changed in some way. This will cause browsers to fetch subscribed content again.

<br />

|                                      Parameters                                      ||
|------------|--------------------------------------------------------------------------|
| `parentId` | `String`: The id of the parent media item whose children changed. <br /> |

### notifyChildrenChanged

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void notifyChildrenChanged (String parentId,
                Bundle options)
```

Notifies all connected media browsers that the children of the specified parent id have changed in some way. This will cause browsers to fetch subscribed content again.

<br />

|                                                                                 Parameters                                                                                 ||
|------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `parentId` | `String`: The id of the parent media item whose children changed. <br />                                                                                       |
| `options`  | `Bundle`: A bundle of service-specific arguments to send to the media browse. The contents of this bundle may contain the information about the change. <br /> |

### onBind

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
IBinder onBind (Intent intent)
```

<br />

<br />

|        Parameters         ||
|----------|-----------------|
| `intent` | `Intent` <br /> |

|                                      Returns                                       ||
|----------------------------------------------------------------------------|--------|
| [IBinder](https://developer.android.com/reference/android/os/IBinder.html) | <br /> |

### onCreate

```
void onCreate ()
```

<br />

<br />

### onCustomAction

added in[version 25.4.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void onCustomAction (String action,
                Bundle extras,
                Result<Bundle> result)
```

Called to request a custom action to this service.

Implementations must call either[sendResult(T)](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#sendResult(T))or[sendError(Bundle)](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#sendError(android.os.Bundle)). If the requested custom action will be an expensive operation[detach()](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#detach())may be called before returning from this function, and then the service can send the result later when the custom action is completed. Implementation can also call[sendProgressUpdate(Bundle)](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#sendProgressUpdate(android.os.Bundle))to send an interim update to the requester.

If the requested custom action is not supported by this service, call[sendError(Bundle)](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#sendError(android.os.Bundle)). The default implementation will invoke[sendError(Bundle)](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#sendError(android.os.Bundle)).

<br />

<br />

|                                                                                                      Parameters                                                                                                       ||
|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `action` | `String`: The custom action sent from the media browser. <br />                                                                                                                                             |
| `extras` | `Bundle`: The bundle of service-specific arguments sent from the media browser. <br />                                                                                                                      |
| `result` | `Result`: The[MediaBrowserServiceCompat.Result](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result)to send the result of the requested custom action. <br /> |

**See also:**

- [CUSTOM_ACTION_DOWNLOAD](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat#CUSTOM_ACTION_DOWNLOAD)
- [CUSTOM_ACTION_REMOVE_DOWNLOADED_FILE](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat#CUSTOM_ACTION_REMOVE_DOWNLOADED_FILE)  

### onGetRoot

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
MediaBrowserServiceCompat.BrowserRoot onGetRoot (String clientPackageName,
                int clientUid,
                Bundle rootHints)
```

Called to get the root information for browsing by a particular client.

The implementation should verify that the client package has permission to access browse media information before returning the root id; it should return null if the client is not allowed to access this information.

<br />

<br />

|                                                                                                                                     Parameters                                                                                                                                      ||
|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `clientPackageName` | `String`: The package name of the application which is requesting access to browse media. <br />                                                                                                                                                               |
| `clientUid`         | `int`: The uid of the application which is requesting access to browse media. <br />                                                                                                                                                                           |
| `rootHints`         | `Bundle`: An optional bundle of service-specific arguments to send to the media browse service when connecting and retrieving the root id for browsing, or null if none. The contents of this bundle may affect the information returned when browsing. <br /> |

|                                                                                                                                                                       Returns                                                                                                                                                                       ||
|-------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [MediaBrowserServiceCompat.BrowserRoot](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.BrowserRoot) | The[MediaBrowserServiceCompat.BrowserRoot](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.BrowserRoot)for accessing this app's content or null. <br /> |

**See also:**

- [EXTRA_RECENT](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.BrowserRoot#EXTRA_RECENT)
- [EXTRA_OFFLINE](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.BrowserRoot#EXTRA_OFFLINE)
- [EXTRA_SUGGESTED](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.BrowserRoot#EXTRA_SUGGESTED)  

### onLoadChildren

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void onLoadChildren (String parentId,
                Result<List<MediaBrowserCompat.MediaItem>> result)
```

Called to get information about the children of a media item.

Implementations must call[result.sendResult](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#sendResult(T))with the list of children. If loading the children will be an expensive operation that should be performed on another thread,[result.detach](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#detach())may be called before returning from this function, and then[result.sendResult](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#sendResult(T))called when the loading is complete.

In case the media item does not have any children, call[sendResult(T)](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#sendResult(T))with an empty list. When the given`parentId`is invalid, implementations must call[result.sendResult](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#sendResult(T))with`null`, which will invoke[onError(String)](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat.SubscriptionCallback#onError(java.lang.String)).

<br />

<br />

|                                           Parameters                                           ||
|------------|------------------------------------------------------------------------------------|
| `parentId` | `String`: The id of the parent media item whose children are to be queried. <br /> |
| `result`   | `Result`: The Result to send the list of children to. <br />                       |

### onLoadChildren

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void onLoadChildren (String parentId,
                Result<List<MediaBrowserCompat.MediaItem>> result,
                Bundle options)
```

Called to get information about the children of a media item.

Implementations must call[result.sendResult](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#sendResult(T))with the list of children. If loading the children will be an expensive operation that should be performed on another thread,[result.detach](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#detach())may be called before returning from this function, and then[result.sendResult](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#sendResult(T))called when the loading is complete.

In case the media item does not have any children, call[sendResult(T)](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#sendResult(T))with an empty list. When the given`parentId`is invalid, implementations must call[result.sendResult](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#sendResult(T))with`null`, which will invoke[onError(String)](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat.SubscriptionCallback#onError(java.lang.String)).

<br />

<br />

|                                                                                           Parameters                                                                                           ||
|------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `parentId` | `String`: The id of the parent media item whose children are to be queried. <br />                                                                                                 |
| `result`   | `Result`: The Result to send the list of children to. <br />                                                                                                                       |
| `options`  | `Bundle`: A bundle of service-specific arguments sent from the media browse. The information returned through the result should be affected by the contents of this bundle. <br /> |

### onLoadItem

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void onLoadItem (String itemId,
                Result<MediaBrowserCompat.MediaItem> result)
```

Called to get information about a specific media item.

Implementations must call[result.sendResult](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#sendResult(T)). If loading the item will be an expensive operation[result.detach](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#detach())may be called before returning from this function, and then[result.sendResult](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#sendResult(T))called when the item has been loaded.

When the given`itemId`is invalid, implementations must call[result.sendResult](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#sendResult(T))with`null`.

The default implementation will invoke[onError(String)](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat.ItemCallback#onError(java.lang.String)).

<br />

|                                                                                    Parameters                                                                                    ||
|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `itemId` | `String`: The id for the specific[MediaBrowserCompat.MediaItem](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat.MediaItem). <br /> |
| `result` | `Result`: The Result to send the item to, or null if the id is invalid. <br />                                                                                         |

### onSearch

added in[version 25.4.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void onSearch (String query,
                Bundle extras,
                Result<List<MediaBrowserCompat.MediaItem>> result)
```

Called to get the search result.

Implementations must call[result.sendResult](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#sendResult(T)). If the search will be an expensive operation[result.detach](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#detach())may be called before returning from this function, and then[result.sendResult](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#sendResult(T))called when the search has been completed.

In case there are no search results, call[result.sendResult](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#sendResult(T))with an empty list. In case there are some errors happened, call[result.sendResult](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result#sendResult(T))with`null`, which will invoke[onError(String, Bundle)](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat.SearchCallback#onError(java.lang.String, android.os.Bundle)).

The default implementation will invoke[onError(String, Bundle)](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat.SearchCallback#onError(java.lang.String, android.os.Bundle)).

<br />

<br />

|                                                                                          Parameters                                                                                           ||
|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `query`  | `String`: The search query sent from the media browser. It contains keywords separated by space. <br />                                                                             |
| `extras` | `Bundle`: The bundle of service-specific arguments sent from the media browser. <br />                                                                                              |
| `result` | `Result`: The[MediaBrowserServiceCompat.Result](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result)to send the search result. <br /> |

### setSessionToken

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setSessionToken (MediaSessionCompat.Token token)
```

Call to set the media session.

This should be called as soon as possible during the service's startup. It may only be called once.

<br />

|                                                                                        Parameters                                                                                         ||
|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `token` | `MediaSessionCompat.Token`: The token for the service's[MediaSessionCompat](https://developer.android.com/reference/android/support/v4/media/session/MediaSessionCompat). <br /> |

-

  ## Classes

  - [AudioAttributesCompat](https://developer.android.com/reference/android/support/v4/media/AudioAttributesCompat)
  - [AudioAttributesCompat.Builder](https://developer.android.com/reference/android/support/v4/media/AudioAttributesCompat.Builder)
  - [MediaBrowserCompat](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat)
  - [MediaBrowserCompat.ConnectionCallback](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat.ConnectionCallback)
  - [MediaBrowserCompat.CustomActionCallback](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat.CustomActionCallback)
  - [MediaBrowserCompat.ItemCallback](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat.ItemCallback)
  - [MediaBrowserCompat.MediaItem](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat.MediaItem)
  - [MediaBrowserCompat.SearchCallback](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat.SearchCallback)
  - [MediaBrowserCompat.SubscriptionCallback](https://developer.android.com/reference/android/support/v4/media/MediaBrowserCompat.SubscriptionCallback)
  - [MediaBrowserServiceCompat](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat)
  - [MediaBrowserServiceCompat.BrowserRoot](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.BrowserRoot)
  - [MediaBrowserServiceCompat.Result](https://developer.android.com/reference/android/support/v4/media/MediaBrowserServiceCompat.Result)
  - [MediaDescriptionCompat](https://developer.android.com/reference/android/support/v4/media/MediaDescriptionCompat)
  - [MediaDescriptionCompat.Builder](https://developer.android.com/reference/android/support/v4/media/MediaDescriptionCompat.Builder)
  - [MediaMetadataCompat](https://developer.android.com/reference/android/support/v4/media/MediaMetadataCompat)
  - [MediaMetadataCompat.Builder](https://developer.android.com/reference/android/support/v4/media/MediaMetadataCompat.Builder)
  - [RatingCompat](https://developer.android.com/reference/android/support/v4/media/RatingCompat)
  - [VolumeProviderCompat](https://developer.android.com/reference/android/support/v4/media/VolumeProviderCompat)
  - [VolumeProviderCompat.Callback](https://developer.android.com/reference/android/support/v4/media/VolumeProviderCompat.Callback)