# CanvasWatchFaceService

Summary:[Nested Classes](https://developer.android.com/reference/android/support/wearable/watchface/CanvasWatchFaceService#nestedclasses)\|[Inherited Constants](https://developer.android.com/reference/android/support/wearable/watchface/CanvasWatchFaceService#inhconstants)\|[Ctors](https://developer.android.com/reference/android/support/wearable/watchface/CanvasWatchFaceService#pubctors)\|[Methods](https://developer.android.com/reference/android/support/wearable/watchface/CanvasWatchFaceService#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/support/wearable/watchface/CanvasWatchFaceService#inhmethods)  

# CanvasWatchFaceService

`
public


abstract
class
CanvasWatchFaceService
`  
`


``


``


``


``


``

extends `[WatchFaceService](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html)`


``


`

|---|---|---|---|---|---|-----------------------------------------------------------|
| [java.lang.Object](http://developer.android.com/reference/java/lang/Object.html) |||||||
| ↳ | [android.content.Context](http://developer.android.com/reference/android/content/Context.html) ||||||
|   | ↳ | [android.content.ContextWrapper](http://developer.android.com/reference/android/content/ContextWrapper.html) |||||
|   |   | ↳ | [android.app.Service](http://developer.android.com/reference/android/app/Service.html) ||||
|   |   |   | ↳ | [android.service.wallpaper.WallpaperService](http://developer.android.com/reference/android/service/wallpaper/WallpaperService.html) |||
|   |   |   |   | ↳ | [android.support.wearable.watchface.WatchFaceService](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html) ||
|   |   |   |   |   | ↳ | android.support.wearable.watchface.CanvasWatchFaceService |

<br />

*** ** * ** ***

<br />

**This class is deprecated.**   
Use[Watch Face Format](https://developer.android.com/training/wearables/wff)APIs instead.

Base class for watch faces that draw on a[Canvas](http://developer.android.com/reference/android/graphics/Canvas.html). Provides an invalidate mechanism similar to[View.invalidate()](http://developer.android.com/reference/android/view/View.html#invalidate()).

## Summary

|                                                                                                                                                                                                                                       ### Nested classes                                                                                                                                                                                                                                       ||
|----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` class` | [CanvasWatchFaceService.Engine](https://developer.android.com/reference/android/support/wearable/watchface/CanvasWatchFaceService.Engine.html) *This class is deprecated. Use`androidx.wear.watchface.WatchFaceService`,`androidx.wear.watchface.Renderer.CanvasRenderer`and`androidx.wear.watchface.complications.rendering.CanvasComplicationDrawable`from the[Jetpack Wear Watch Face](https://developer.android.com/jetpack/androidx/releases/wear-watchface)libraries instead.* |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ### Inherited constants                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From class[android.support.wearable.watchface.WatchFaceService](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html) |------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `int`                                                                  | [INTERRUPTION_FILTER_ALARMS](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html#INTERRUPTION_FILTER_ALARMS) Returned by[WatchFaceService.Engine.getInterruptionFilter()](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#getInterruptionFilter())and passed to[WatchFaceService.Engine.onInterruptionFilterChanged(int)](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onInterruptionFilterChanged(int)).     | | `int`                                                                  | [INTERRUPTION_FILTER_ALL](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html#INTERRUPTION_FILTER_ALL) Returned by[WatchFaceService.Engine.getInterruptionFilter()](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#getInterruptionFilter())and passed to[WatchFaceService.Engine.onInterruptionFilterChanged(int)](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onInterruptionFilterChanged(int)).           | | `int`                                                                  | [INTERRUPTION_FILTER_NONE](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html#INTERRUPTION_FILTER_NONE) Returned by[WatchFaceService.Engine.getInterruptionFilter()](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#getInterruptionFilter())and passed to[WatchFaceService.Engine.onInterruptionFilterChanged(int)](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onInterruptionFilterChanged(int)).         | | `int`                                                                  | [INTERRUPTION_FILTER_PRIORITY](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html#INTERRUPTION_FILTER_PRIORITY) Returned by[WatchFaceService.Engine.getInterruptionFilter()](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#getInterruptionFilter())and passed to[WatchFaceService.Engine.onInterruptionFilterChanged(int)](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onInterruptionFilterChanged(int)). | | `int`                                                                  | [INTERRUPTION_FILTER_UNKNOWN](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html#INTERRUPTION_FILTER_UNKNOWN) Returned by[WatchFaceService.Engine.getInterruptionFilter()](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#getInterruptionFilter())and passed to[WatchFaceService.Engine.onInterruptionFilterChanged(int)](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onInterruptionFilterChanged(int)).   | | [String](http://developer.android.com/reference/java/lang/String.html) | [PROPERTY_BURN_IN_PROTECTION](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html#PROPERTY_BURN_IN_PROTECTION) Property in bundle passed to[WatchFaceService.Engine.onPropertiesChanged(Bundle)](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onPropertiesChanged(android.os.Bundle))to indicate whether burn-in protection is required.                                                                                                                              | | [String](http://developer.android.com/reference/java/lang/String.html) | [PROPERTY_LOW_BIT_AMBIENT](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html#PROPERTY_LOW_BIT_AMBIENT) Property in bundle passed to[WatchFaceService.Engine.onPropertiesChanged(Bundle)](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onPropertiesChanged(android.os.Bundle))to indicate whether the device has low-bit ambient mode.                                                                                                                               | | `int`                                                                  | [TAP_TYPE_TAP](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html#TAP_TYPE_TAP) Used in onTapCommaned to indicate that an "up" event on the watch face has occurred that has not been consumed by another activity.                                                                                                                                                                                                                                                                                                             | | `int`                                                                  | [TAP_TYPE_TOUCH](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html#TAP_TYPE_TOUCH) Used in onTapCommand to indicate a "down" touch event on the watch face.                                                                                                                                                                                                                                                                                                                                                                    | | `int`                                                                  | [TAP_TYPE_TOUCH_CANCEL](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html#TAP_TYPE_TOUCH_CANCEL) Used in onTapCaommand to indicate that a previous TAP_TYPE_TOUCH touch event has been canceled.                                                                                                                                                                                                                                                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| From class`android.service.wallpaper.WallpaperService` |------------------------------------------------------------------------|----------------------------| | [String](http://developer.android.com/reference/java/lang/String.html) | `SERVICE_INTERFACE` <br /> | | [String](http://developer.android.com/reference/java/lang/String.html) | `SERVICE_META_DATA` <br /> |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| 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_LEGACY` <br />     | | `int` | `STOP_FOREGROUND_REMOVE` <br />     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| From class`android.content.Context` |------------------------------------------------------------------------|-------------------------------------------| | [String](http://developer.android.com/reference/java/lang/String.html) | `ACCESSIBILITY_SERVICE` <br />            | | [String](http://developer.android.com/reference/java/lang/String.html) | `ACCOUNT_SERVICE` <br />                  | | [String](http://developer.android.com/reference/java/lang/String.html) | `ACTIVITY_SERVICE` <br />                 | | [String](http://developer.android.com/reference/java/lang/String.html) | `ALARM_SERVICE` <br />                    | | [String](http://developer.android.com/reference/java/lang/String.html) | `APPWIDGET_SERVICE` <br />                | | [String](http://developer.android.com/reference/java/lang/String.html) | `APP_OPS_SERVICE` <br />                  | | [String](http://developer.android.com/reference/java/lang/String.html) | `APP_SEARCH_SERVICE` <br />               | | [String](http://developer.android.com/reference/java/lang/String.html) | `AUDIO_SERVICE` <br />                    | | [String](http://developer.android.com/reference/java/lang/String.html) | `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_INCLUDE_CAPABILITIES` <br />        | | `int`                                                                  | `BIND_NOT_FOREGROUND` <br />              | | `int`                                                                  | `BIND_NOT_PERCEPTIBLE` <br />             | | `int`                                                                  | `BIND_WAIVE_PRIORITY` <br />              | | [String](http://developer.android.com/reference/java/lang/String.html) | `BIOMETRIC_SERVICE` <br />                | | [String](http://developer.android.com/reference/java/lang/String.html) | `BLOB_STORE_SERVICE` <br />               | | [String](http://developer.android.com/reference/java/lang/String.html) | `BLUETOOTH_SERVICE` <br />                | | [String](http://developer.android.com/reference/java/lang/String.html) | `BUGREPORT_SERVICE` <br />                | | [String](http://developer.android.com/reference/java/lang/String.html) | `CAMERA_SERVICE` <br />                   | | [String](http://developer.android.com/reference/java/lang/String.html) | `CAPTIONING_SERVICE` <br />               | | [String](http://developer.android.com/reference/java/lang/String.html) | `CARRIER_CONFIG_SERVICE` <br />           | | [String](http://developer.android.com/reference/java/lang/String.html) | `CLIPBOARD_SERVICE` <br />                | | [String](http://developer.android.com/reference/java/lang/String.html) | `COMPANION_DEVICE_SERVICE` <br />         | | [String](http://developer.android.com/reference/java/lang/String.html) | `CONNECTIVITY_DIAGNOSTICS_SERVICE` <br /> | | [String](http://developer.android.com/reference/java/lang/String.html) | `CONNECTIVITY_SERVICE` <br />             | | [String](http://developer.android.com/reference/java/lang/String.html) | `CONSUMER_IR_SERVICE` <br />              | | `int`                                                                  | `CONTEXT_IGNORE_SECURITY` <br />          | | `int`                                                                  | `CONTEXT_INCLUDE_CODE` <br />             | | `int`                                                                  | `CONTEXT_RESTRICTED` <br />               | | [String](http://developer.android.com/reference/java/lang/String.html) | `CROSS_PROFILE_APPS_SERVICE` <br />       | | [String](http://developer.android.com/reference/java/lang/String.html) | `DEVICE_POLICY_SERVICE` <br />            | | [String](http://developer.android.com/reference/java/lang/String.html) | `DISPLAY_HASH_SERVICE` <br />             | | [String](http://developer.android.com/reference/java/lang/String.html) | `DISPLAY_SERVICE` <br />                  | | [String](http://developer.android.com/reference/java/lang/String.html) | `DOMAIN_VERIFICATION_SERVICE` <br />      | | [String](http://developer.android.com/reference/java/lang/String.html) | `DOWNLOAD_SERVICE` <br />                 | | [String](http://developer.android.com/reference/java/lang/String.html) | `DROPBOX_SERVICE` <br />                  | | [String](http://developer.android.com/reference/java/lang/String.html) | `EUICC_SERVICE` <br />                    | | [String](http://developer.android.com/reference/java/lang/String.html) | `FILE_INTEGRITY_SERVICE` <br />           | | [String](http://developer.android.com/reference/java/lang/String.html) | `FINGERPRINT_SERVICE` <br />              | | [String](http://developer.android.com/reference/java/lang/String.html) | `GAME_SERVICE` <br />                     | | [String](http://developer.android.com/reference/java/lang/String.html) | `HARDWARE_PROPERTIES_SERVICE` <br />      | | [String](http://developer.android.com/reference/java/lang/String.html) | `INPUT_METHOD_SERVICE` <br />             | | [String](http://developer.android.com/reference/java/lang/String.html) | `INPUT_SERVICE` <br />                    | | [String](http://developer.android.com/reference/java/lang/String.html) | `IPSEC_SERVICE` <br />                    | | [String](http://developer.android.com/reference/java/lang/String.html) | `JOB_SCHEDULER_SERVICE` <br />            | | [String](http://developer.android.com/reference/java/lang/String.html) | `KEYGUARD_SERVICE` <br />                 | | [String](http://developer.android.com/reference/java/lang/String.html) | `LAUNCHER_APPS_SERVICE` <br />            | | [String](http://developer.android.com/reference/java/lang/String.html) | `LAYOUT_INFLATER_SERVICE` <br />          | | [String](http://developer.android.com/reference/java/lang/String.html) | `LOCALE_SERVICE` <br />                   | | [String](http://developer.android.com/reference/java/lang/String.html) | `LOCATION_SERVICE` <br />                 | | [String](http://developer.android.com/reference/java/lang/String.html) | `MEDIA_COMMUNICATION_SERVICE` <br />      | | [String](http://developer.android.com/reference/java/lang/String.html) | `MEDIA_METRICS_SERVICE` <br />            | | [String](http://developer.android.com/reference/java/lang/String.html) | `MEDIA_PROJECTION_SERVICE` <br />         | | [String](http://developer.android.com/reference/java/lang/String.html) | `MEDIA_ROUTER_SERVICE` <br />             | | [String](http://developer.android.com/reference/java/lang/String.html) | `MEDIA_SESSION_SERVICE` <br />            | | [String](http://developer.android.com/reference/java/lang/String.html) | `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](http://developer.android.com/reference/java/lang/String.html) | `NETWORK_STATS_SERVICE` <br />            | | [String](http://developer.android.com/reference/java/lang/String.html) | `NFC_SERVICE` <br />                      | | [String](http://developer.android.com/reference/java/lang/String.html) | `NOTIFICATION_SERVICE` <br />             | | [String](http://developer.android.com/reference/java/lang/String.html) | `NSD_SERVICE` <br />                      | | [String](http://developer.android.com/reference/java/lang/String.html) | `PEOPLE_SERVICE` <br />                   | | [String](http://developer.android.com/reference/java/lang/String.html) | `PERFORMANCE_HINT_SERVICE` <br />         | | [String](http://developer.android.com/reference/java/lang/String.html) | `POWER_SERVICE` <br />                    | | [String](http://developer.android.com/reference/java/lang/String.html) | `PRINT_SERVICE` <br />                    | | `int`                                                                  | `RECEIVER_EXPORTED` <br />                | | `int`                                                                  | `RECEIVER_NOT_EXPORTED` <br />            | | `int`                                                                  | `RECEIVER_VISIBLE_TO_INSTANT_APPS` <br /> | | [String](http://developer.android.com/reference/java/lang/String.html) | `RESTRICTIONS_SERVICE` <br />             | | [String](http://developer.android.com/reference/java/lang/String.html) | `ROLE_SERVICE` <br />                     | | [String](http://developer.android.com/reference/java/lang/String.html) | `SEARCH_SERVICE` <br />                   | | [String](http://developer.android.com/reference/java/lang/String.html) | `SENSOR_SERVICE` <br />                   | | [String](http://developer.android.com/reference/java/lang/String.html) | `SHORTCUT_SERVICE` <br />                 | | [String](http://developer.android.com/reference/java/lang/String.html) | `STATUS_BAR_SERVICE` <br />               | | [String](http://developer.android.com/reference/java/lang/String.html) | `STORAGE_SERVICE` <br />                  | | [String](http://developer.android.com/reference/java/lang/String.html) | `STORAGE_STATS_SERVICE` <br />            | | [String](http://developer.android.com/reference/java/lang/String.html) | `SYSTEM_HEALTH_SERVICE` <br />            | | [String](http://developer.android.com/reference/java/lang/String.html) | `TELECOM_SERVICE` <br />                  | | [String](http://developer.android.com/reference/java/lang/String.html) | `TELEPHONY_IMS_SERVICE` <br />            | | [String](http://developer.android.com/reference/java/lang/String.html) | `TELEPHONY_SERVICE` <br />                | | [String](http://developer.android.com/reference/java/lang/String.html) | `TELEPHONY_SUBSCRIPTION_SERVICE` <br />   | | [String](http://developer.android.com/reference/java/lang/String.html) | `TEXT_CLASSIFICATION_SERVICE` <br />      | | [String](http://developer.android.com/reference/java/lang/String.html) | `TEXT_SERVICES_MANAGER_SERVICE` <br />    | | [String](http://developer.android.com/reference/java/lang/String.html) | `TV_INPUT_SERVICE` <br />                 | | [String](http://developer.android.com/reference/java/lang/String.html) | `TV_INTERACTIVE_APP_SERVICE` <br />       | | [String](http://developer.android.com/reference/java/lang/String.html) | `UI_MODE_SERVICE` <br />                  | | [String](http://developer.android.com/reference/java/lang/String.html) | `USAGE_STATS_SERVICE` <br />              | | [String](http://developer.android.com/reference/java/lang/String.html) | `USB_SERVICE` <br />                      | | [String](http://developer.android.com/reference/java/lang/String.html) | `USER_SERVICE` <br />                     | | [String](http://developer.android.com/reference/java/lang/String.html) | `VIBRATOR_MANAGER_SERVICE` <br />         | | [String](http://developer.android.com/reference/java/lang/String.html) | `VIBRATOR_SERVICE` <br />                 | | [String](http://developer.android.com/reference/java/lang/String.html) | `VPN_MANAGEMENT_SERVICE` <br />           | | [String](http://developer.android.com/reference/java/lang/String.html) | `WALLPAPER_SERVICE` <br />                | | [String](http://developer.android.com/reference/java/lang/String.html) | `WIFI_AWARE_SERVICE` <br />               | | [String](http://developer.android.com/reference/java/lang/String.html) | `WIFI_P2P_SERVICE` <br />                 | | [String](http://developer.android.com/reference/java/lang/String.html) | `WIFI_RTT_RANGING_SERVICE` <br />         | | [String](http://developer.android.com/reference/java/lang/String.html) | `WIFI_SERVICE` <br />                     | | [String](http://developer.android.com/reference/java/lang/String.html) | `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                                                                        ||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[CanvasWatchFaceService](https://developer.android.com/reference/android/support/wearable/watchface/CanvasWatchFaceService.html#CanvasWatchFaceService())`() ` |

|                                                                                                                                          ### Public methods                                                                                                                                          ||
|---------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------|
| ` `[CanvasWatchFaceService.Engine](https://developer.android.com/reference/android/support/wearable/watchface/CanvasWatchFaceService.Engine.html) | ` `[onCreateEngine](https://developer.android.com/reference/android/support/wearable/watchface/CanvasWatchFaceService.html#onCreateEngine())`() ` |

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

## Public constructors

### CanvasWatchFaceService

```
public CanvasWatchFaceService ()
```

<br />

<br />

## Public methods

### onCreateEngine

```
public CanvasWatchFaceService.Engine onCreateEngine ()
```

<br />

<br />

|                                                                        Returns                                                                         ||
|------------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [CanvasWatchFaceService.Engine](https://developer.android.com/reference/android/support/wearable/watchface/CanvasWatchFaceService.Engine.html) | <br /> |