# LifecycleService

added in[version 1.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  
belongs to Maven artifact android.arch.lifecycle:extensions:1.1.1  
Summary:[Inherited Constants](https://developer.android.com/reference/android/arch/lifecycle/LifecycleService#inhconstants)\|[Ctors](https://developer.android.com/reference/android/arch/lifecycle/LifecycleService#pubctors)\|[Methods](https://developer.android.com/reference/android/arch/lifecycle/LifecycleService#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/arch/lifecycle/LifecycleService#inhmethods)  

# LifecycleService

| The`android.arch`Architecture Components packages are no longer maintained. They have been superseded by the corresponding[androidx.\*](https://developer.android.com/jetpack/androidx/migrate)packages. See[androidx.lifecycle.LifecycleService](https://developer.android.com/reference/androidx/lifecycle/LifecycleService)instead.

`
public


class
LifecycleService
`  
`


``


``


``

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


``


implements

`[LifecycleOwner](https://developer.android.com/reference/android/arch/lifecycle/LifecycleOwner)`


`

|---|---|---|---|-----------------------------------------|
| 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.arch.lifecycle.LifecycleService |

<br />

*** ** * ** ***

A Service that is also a[LifecycleOwner](https://developer.android.com/reference/android/arch/lifecycle/LifecycleOwner).

## Summary

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ### Inherited constants                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 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 />     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| 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` | `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` | `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_SERVICE` <br />                     | | `String` | `WINDOW_SERVICE` <br />                   | |
| 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                                                      ||
|--------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[LifecycleService](https://developer.android.com/reference/android/arch/lifecycle/LifecycleService#LifecycleService())`() ` |

|                                                                                                                                                                         ### Public methods                                                                                                                                                                         ||
|------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` `[Lifecycle](https://developer.android.com/reference/android/arch/lifecycle/Lifecycle) | ` `[getLifecycle](https://developer.android.com/reference/android/arch/lifecycle/LifecycleService#getLifecycle())`() ` Returns the Lifecycle of the provider.                                                                                                            |
| ` `[IBinder](https://developer.android.com/reference/android/os/IBinder.html)            | ` `[onBind](https://developer.android.com/reference/android/arch/lifecycle/LifecycleService#onBind(android.content.Intent))`(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` intent) `                                                   |
| ` void`                                                                                  | ` `[onCreate](https://developer.android.com/reference/android/arch/lifecycle/LifecycleService#onCreate())`() `                                                                                                                                                           |
| ` void`                                                                                  | ` `[onDestroy](https://developer.android.com/reference/android/arch/lifecycle/LifecycleService#onDestroy())`() `                                                                                                                                                         |
| ` void`                                                                                  | ` `[onStart](https://developer.android.com/reference/android/arch/lifecycle/LifecycleService#onStart(android.content.Intent, int))`(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` intent, int startId) `                               |
| ` int`                                                                                   | ` `[onStartCommand](https://developer.android.com/reference/android/arch/lifecycle/LifecycleService#onStartCommand(android.content.Intent, int, int))`(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` intent, int flags, int startId) ` |

| ### Inherited methods |
|-----------------------|---|
| 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) `                                                                                                       | ||
| 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() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` `[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) `                                                                                                                                                                                                                                                                                                                                                                                                | ||
| 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() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` 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) `                                                                                                                                                                                                                                                                                                                                                                                                | ||
| 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() `                    | ||
| From interface` `[android.content.ComponentCallbacks2](https://developer.android.com/reference/android/content/ComponentCallbacks2.html)` ` |------------------|----------------------------| | ` abstract void` | ` onTrimMemory(int arg0) ` | ||
| From interface` `[android.arch.lifecycle.LifecycleOwner](https://developer.android.com/reference/android/arch/lifecycle/LifecycleOwner)` ` |---------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract `[Lifecycle](https://developer.android.com/reference/android/arch/lifecycle/Lifecycle) | ` `[getLifecycle](https://developer.android.com/reference/android/arch/lifecycle/LifecycleOwner#getLifecycle())`() ` Returns the Lifecycle of the provider. | ||
| 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() `                                                                                                                  | ||

## Public constructors

### LifecycleService

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

```
LifecycleService ()
```

<br />

<br />

## Public methods

### getLifecycle

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

```
Lifecycle getLifecycle ()
```

Returns the Lifecycle of the provider.

<br />

|                                                           Returns                                                            ||
|---------------------------------------------------------------------------------------|---------------------------------------|
| [Lifecycle](https://developer.android.com/reference/android/arch/lifecycle/Lifecycle) | The lifecycle of the provider. <br /> |

### onBind

added in[version 1.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 />

### onDestroy

```
void onDestroy ()
```

<br />

<br />

### onStart

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

```
void onStart (Intent intent, 
                int startId)
```

<br />

<br />

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

### onStartCommand

```
int onStartCommand (Intent intent, 
                int flags, 
                int startId)
```

<br />

<br />

|         Parameters         ||
|-----------|-----------------|
| `intent`  | `Intent` <br /> |
| `flags`   | `int` <br />    |
| `startId` | `int` <br />    |

|    Returns    ||
|-------|--------|
| `int` | <br /> |

-

  ## Annotations

  - [OnLifecycleEvent](https://developer.android.com/reference/android/arch/lifecycle/OnLifecycleEvent)
-

  ## Interfaces

  - [DefaultLifecycleObserver](https://developer.android.com/reference/android/arch/lifecycle/DefaultLifecycleObserver)
  - [LifecycleObserver](https://developer.android.com/reference/android/arch/lifecycle/LifecycleObserver)
  - [LifecycleOwner](https://developer.android.com/reference/android/arch/lifecycle/LifecycleOwner)
  - [LifecycleRegistryOwner](https://developer.android.com/reference/android/arch/lifecycle/LifecycleRegistryOwner)
  - [Observer](https://developer.android.com/reference/android/arch/lifecycle/Observer)
  - [ViewModelProvider.Factory](https://developer.android.com/reference/android/arch/lifecycle/ViewModelProvider.Factory)
  - [ViewModelStoreOwner](https://developer.android.com/reference/android/arch/lifecycle/ViewModelStoreOwner)
-

  ## Classes

  - [AndroidViewModel](https://developer.android.com/reference/android/arch/lifecycle/AndroidViewModel)
  - [Lifecycle](https://developer.android.com/reference/android/arch/lifecycle/Lifecycle)
  - [LifecycleRegistry](https://developer.android.com/reference/android/arch/lifecycle/LifecycleRegistry)
  - [LifecycleService](https://developer.android.com/reference/android/arch/lifecycle/LifecycleService)
  - [LiveData](https://developer.android.com/reference/android/arch/lifecycle/LiveData)
  - [LiveDataReactiveStreams](https://developer.android.com/reference/android/arch/lifecycle/LiveDataReactiveStreams)
  - [MediatorLiveData](https://developer.android.com/reference/android/arch/lifecycle/MediatorLiveData)
  - [MutableLiveData](https://developer.android.com/reference/android/arch/lifecycle/MutableLiveData)
  - [ProcessLifecycleOwner](https://developer.android.com/reference/android/arch/lifecycle/ProcessLifecycleOwner)
  - [ServiceLifecycleDispatcher](https://developer.android.com/reference/android/arch/lifecycle/ServiceLifecycleDispatcher)
  - [Transformations](https://developer.android.com/reference/android/arch/lifecycle/Transformations)
  - [ViewModel](https://developer.android.com/reference/android/arch/lifecycle/ViewModel)
  - [ViewModelProvider](https://developer.android.com/reference/android/arch/lifecycle/ViewModelProvider)
  - [ViewModelProvider.AndroidViewModelFactory](https://developer.android.com/reference/android/arch/lifecycle/ViewModelProvider.AndroidViewModelFactory)
  - [ViewModelProvider.NewInstanceFactory](https://developer.android.com/reference/android/arch/lifecycle/ViewModelProvider.NewInstanceFactory)
  - [ViewModelProviders](https://developer.android.com/reference/android/arch/lifecycle/ViewModelProviders)
  - [ViewModelProviders.DefaultFactory](https://developer.android.com/reference/android/arch/lifecycle/ViewModelProviders.DefaultFactory)
  - [ViewModelStore](https://developer.android.com/reference/android/arch/lifecycle/ViewModelStore)
  - [ViewModelStores](https://developer.android.com/reference/android/arch/lifecycle/ViewModelStores)
-

  ## Enums

  - [Lifecycle.Event](https://developer.android.com/reference/android/arch/lifecycle/Lifecycle.Event)
  - [Lifecycle.State](https://developer.android.com/reference/android/arch/lifecycle/Lifecycle.State)