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

# WatchFaceService


`
public


abstract
class
WatchFaceService
`


`


`

`


`

`


`

`


`

`

extends http://developer.android.com/reference/android/service/wallpaper/WallpaperService.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 |

Known direct subclasses [CanvasWatchFaceService](https://developer.android.com/reference/android/support/wearable/watchface/CanvasWatchFaceService.html), [Gles2WatchFaceService](https://developer.android.com/reference/android/support/wearable/watchface/Gles2WatchFaceService.html) [CanvasWatchFaceService](https://developer.android.com/reference/android/support/wearable/watchface/CanvasWatchFaceService.html) *This class is deprecated.
Use [Watch Face Format](https://developer.android.com/training/wearables/wff) APIs instead.* [Gles2WatchFaceService](https://developer.android.com/reference/android/support/wearable/watchface/Gles2WatchFaceService.html) *This class is deprecated.
Use [Watch Face Format](https://developer.android.com/training/wearables/wff) APIs instead.*   

*** ** * ** ***


**This class is deprecated.**   

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

A subclass of `http://developer.android.com/reference/android/service/wallpaper/WallpaperService.html` with a `http://developer.android.com/reference/android/service/wallpaper/WallpaperService.Engine.html` that exposes
callbacks for the lifecycle of a watch face. If you want to create a watch face for a wearable,
you should use this instead of vanilla `http://developer.android.com/reference/android/service/wallpaper/WallpaperService.html`.

A watch face service, similarly to a wallpaper service, must implement only one method: `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html#onCreateEngine()`. However, it must also create a subclass of inner class `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html`. Most watch face engines will implement the following methods:

- `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onTimeTick()` to update the time and refresh the view
- `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onAmbientModeChanged(boolean)` to update ambient mode and refresh the view

Most watch face engines will also implement `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onInterruptionFilterChanged(int)` to
update the view depending on how much information the user has requested.

For updates that occur in ambient mode a wake lock will be held so the device doesn't go to
sleep until the watch face finishes drawing.

Registering watch faces in your application works similarly to registering wallpapers with
several additional steps. First, watch faces require the wake lock permission:

```
 <uses-permission android:name="android.permission.WAKE_LOCK" />
 
```

Second, your watch face service declaration needs preview metadata:

```
 <meta-data
     android:name="com.google.android.wearable.watchface.preview"
     android:resource="@drawable/preview_face" />
 <meta-data
     android:name="com.google.android.wearable.watchface.preview_circular"
     android:resource="@drawable/preview_face_circular" />
 
```

Finally, you need to add a special intent filter, so your watch face can be detected:

```
 <intent-filter>
     <action android:name="android.service.wallpaper.WallpaperService" />
     <category
         android:name="com.google.android.wearable.watchface.category.WATCH_FACE" />
 </intent-filter>
 
```

For more information consult: <https://developer.android.com/training/wearables/watch-faces/index.html>

## Summary

| ### Nested classes ||
|---|---|
| ` class` | `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html` *This class is deprecated. Use [Watch Face Format](https://developer.android.com/training/wearables/wff) APIs instead.* |
| ` @interface` | `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.TapType.html` |

| ### Constants ||
|---|---|
| `int` | `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html#INTERRUPTION_FILTER_ALARMS` Returned by `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#getInterruptionFilter()` and passed to `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onInterruptionFilterChanged(int)`. |
| `int` | `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html#INTERRUPTION_FILTER_ALL` Returned by `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#getInterruptionFilter()` and passed to `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onInterruptionFilterChanged(int)`. |
| `int` | `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html#INTERRUPTION_FILTER_NONE` Returned by `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#getInterruptionFilter()` and passed to `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onInterruptionFilterChanged(int)`. |
| `int` | `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html#INTERRUPTION_FILTER_PRIORITY` Returned by `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#getInterruptionFilter()` and passed to `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onInterruptionFilterChanged(int)`. |
| `int` | `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html#INTERRUPTION_FILTER_UNKNOWN` Returned by `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#getInterruptionFilter()` and passed to `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onInterruptionFilterChanged(int)`. |
| `http://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html#PROPERTY_BURN_IN_PROTECTION` Property in bundle passed to `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onPropertiesChanged(android.os.Bundle)` to indicate whether burn-in protection is required. |
| `http://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html#PROPERTY_LOW_BIT_AMBIENT` Property in bundle passed to `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` | `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` | `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` | `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. |

### Inherited constants

From class `android.service.wallpaper.WallpaperService` `http://developer.android.com/reference/java/lang/String.html` `SERVICE_INTERFACE`


`http://developer.android.com/reference/java/lang/String.html` `SERVICE_META_DATA`


From class `android.app.Service` `int` `START_CONTINUATION_MASK`


`int` `START_FLAG_REDELIVERY`


`int` `START_FLAG_RETRY`


`int` `START_NOT_STICKY`


`int` `START_REDELIVER_INTENT`


`int` `START_STICKY`


`int` `START_STICKY_COMPATIBILITY`


`int` `STOP_FOREGROUND_DETACH`


`int` `STOP_FOREGROUND_LEGACY`


`int` `STOP_FOREGROUND_REMOVE`


From class `android.content.Context` `http://developer.android.com/reference/java/lang/String.html` `ACCESSIBILITY_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `ACCOUNT_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `ACTIVITY_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `ALARM_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `APPWIDGET_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `APP_OPS_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `APP_SEARCH_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `AUDIO_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `BATTERY_SERVICE`


`int` `BIND_ABOVE_CLIENT`


`int` `BIND_ADJUST_WITH_ACTIVITY`


`int` `BIND_ALLOW_OOM_MANAGEMENT`


`int` `BIND_AUTO_CREATE`


`int` `BIND_DEBUG_UNBIND`


`int` `BIND_EXTERNAL_SERVICE`


`int` `BIND_IMPORTANT`


`int` `BIND_INCLUDE_CAPABILITIES`


`int` `BIND_NOT_FOREGROUND`


`int` `BIND_NOT_PERCEPTIBLE`


`int` `BIND_WAIVE_PRIORITY`


`http://developer.android.com/reference/java/lang/String.html` `BIOMETRIC_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `BLOB_STORE_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `BLUETOOTH_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `BUGREPORT_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `CAMERA_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `CAPTIONING_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `CARRIER_CONFIG_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `CLIPBOARD_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `COMPANION_DEVICE_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `CONNECTIVITY_DIAGNOSTICS_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `CONNECTIVITY_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `CONSUMER_IR_SERVICE`


`int` `CONTEXT_IGNORE_SECURITY`


`int` `CONTEXT_INCLUDE_CODE`


`int` `CONTEXT_RESTRICTED`


`http://developer.android.com/reference/java/lang/String.html` `CROSS_PROFILE_APPS_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `DEVICE_POLICY_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `DISPLAY_HASH_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `DISPLAY_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `DOMAIN_VERIFICATION_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `DOWNLOAD_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `DROPBOX_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `EUICC_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `FILE_INTEGRITY_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `FINGERPRINT_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `GAME_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `HARDWARE_PROPERTIES_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `INPUT_METHOD_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `INPUT_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `IPSEC_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `JOB_SCHEDULER_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `KEYGUARD_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `LAUNCHER_APPS_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `LAYOUT_INFLATER_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `LOCALE_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `LOCATION_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `MEDIA_COMMUNICATION_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `MEDIA_METRICS_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `MEDIA_PROJECTION_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `MEDIA_ROUTER_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `MEDIA_SESSION_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `MIDI_SERVICE`


`int` `MODE_APPEND`


`int` `MODE_ENABLE_WRITE_AHEAD_LOGGING`


`int` `MODE_MULTI_PROCESS`


`int` `MODE_NO_LOCALIZED_COLLATORS`


`int` `MODE_PRIVATE`


`int` `MODE_WORLD_READABLE`


`int` `MODE_WORLD_WRITEABLE`


`http://developer.android.com/reference/java/lang/String.html` `NETWORK_STATS_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `NFC_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `NOTIFICATION_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `NSD_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `PEOPLE_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `PERFORMANCE_HINT_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `POWER_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `PRINT_SERVICE`


`int` `RECEIVER_EXPORTED`


`int` `RECEIVER_NOT_EXPORTED`


`int` `RECEIVER_VISIBLE_TO_INSTANT_APPS`


`http://developer.android.com/reference/java/lang/String.html` `RESTRICTIONS_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `ROLE_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `SEARCH_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `SENSOR_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `SHORTCUT_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `STATUS_BAR_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `STORAGE_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `STORAGE_STATS_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `SYSTEM_HEALTH_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `TELECOM_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `TELEPHONY_IMS_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `TELEPHONY_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `TELEPHONY_SUBSCRIPTION_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `TEXT_CLASSIFICATION_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `TEXT_SERVICES_MANAGER_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `TV_INPUT_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `TV_INTERACTIVE_APP_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `UI_MODE_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `USAGE_STATS_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `USB_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `USER_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `VIBRATOR_MANAGER_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `VIBRATOR_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `VPN_MANAGEMENT_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `WALLPAPER_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `WIFI_AWARE_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `WIFI_P2P_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `WIFI_RTT_RANGING_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `WIFI_SERVICE`


`http://developer.android.com/reference/java/lang/String.html` `WINDOW_SERVICE`


From interface `android.content.ComponentCallbacks2` `int` `TRIM_MEMORY_BACKGROUND`


`int` `TRIM_MEMORY_COMPLETE`


`int` `TRIM_MEMORY_MODERATE`


`int` `TRIM_MEMORY_RUNNING_CRITICAL`


`int` `TRIM_MEMORY_RUNNING_LOW`


`int` `TRIM_MEMORY_RUNNING_MODERATE`


`int` `TRIM_MEMORY_UI_HIDDEN`


| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.html#WatchFaceService()() ` |

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

### Inherited methods

From class `

http://developer.android.com/reference/android/service/wallpaper/WallpaperService.html

` `


void` `
dump(http://developer.android.com/reference/java/io/FileDescriptor.html arg0, http://developer.android.com/reference/java/io/PrintWriter.html arg1, http://developer.android.com/reference/java/lang/String.html arg2)
` `


final

http://developer.android.com/reference/android/os/IBinder.html` `
onBind(http://developer.android.com/reference/android/content/Intent.html arg0)
` `


void` `
onCreate()
` `
abstract


http://developer.android.com/reference/android/service/wallpaper/WallpaperService.Engine.html` `
onCreateEngine()
` `


void` `
onDestroy()
` From class `

http://developer.android.com/reference/android/app/Service.html

` `


void` `
attachBaseContext(http://developer.android.com/reference/android/content/Context.html arg0)
` `


void` `
dump(http://developer.android.com/reference/java/io/FileDescriptor.html arg0, http://developer.android.com/reference/java/io/PrintWriter.html arg1, http://developer.android.com/reference/java/lang/String.html arg2)
` `


final

http://developer.android.com/reference/android/app/Application.html` `
getApplication()
` `


final

int` `
getForegroundServiceType()
` `
abstract


http://developer.android.com/reference/android/os/IBinder.html` `
onBind(http://developer.android.com/reference/android/content/Intent.html arg0)
` `


void` `
onConfigurationChanged(http://developer.android.com/reference/android/content/res/Configuration.html arg0)
` `


void` `
onCreate()
` `


void` `
onDestroy()
` `


void` `
onLowMemory()
` `


void` `
onRebind(http://developer.android.com/reference/android/content/Intent.html arg0)
` `


void` `
onStart(http://developer.android.com/reference/android/content/Intent.html arg0, int arg1)
` `


int` `
onStartCommand(http://developer.android.com/reference/android/content/Intent.html arg0, int arg1, int arg2)
` `


void` `
onTaskRemoved(http://developer.android.com/reference/android/content/Intent.html arg0)
` `


void` `
onTrimMemory(int arg0)
` `


boolean` `
onUnbind(http://developer.android.com/reference/android/content/Intent.html arg0)
` `


final

void` `
startForeground(int arg0, http://developer.android.com/reference/android/app/Notification.html arg1)
` `


final

void` `
startForeground(int arg0, 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 `

http://developer.android.com/reference/android/content/ContextWrapper.html

` `


void` `
attachBaseContext(http://developer.android.com/reference/android/content/Context.html arg0)
` `


boolean` `
bindIsolatedService(http://developer.android.com/reference/android/content/Intent.html arg0, int arg1, http://developer.android.com/reference/java/lang/String.html arg2, http://developer.android.com/reference/java/util/concurrent/Executor.html arg3, http://developer.android.com/reference/android/content/ServiceConnection.html arg4)
` `


boolean` `
bindService(http://developer.android.com/reference/android/content/Intent.html arg0, int arg1, http://developer.android.com/reference/java/util/concurrent/Executor.html arg2, http://developer.android.com/reference/android/content/ServiceConnection.html arg3)
` `


boolean` `
bindService(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/content/ServiceConnection.html arg1, int arg2)
` `


boolean` `
bindServiceAsUser(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/content/ServiceConnection.html arg1, int arg2, http://developer.android.com/reference/android/os/UserHandle.html arg3)
` `


int` `
checkCallingOrSelfPermission(http://developer.android.com/reference/java/lang/String.html arg0)
` `


int` `
checkCallingOrSelfUriPermission(http://developer.android.com/reference/android/net/Uri.html arg0, int arg1)
` `


int[]` `
checkCallingOrSelfUriPermissions(http://developer.android.com/reference/java/util/List.html<http://developer.android.com/reference/android/net/Uri.html> arg0, int arg1)
` `


int` `
checkCallingPermission(http://developer.android.com/reference/java/lang/String.html arg0)
` `


int` `
checkCallingUriPermission(http://developer.android.com/reference/android/net/Uri.html arg0, int arg1)
` `


int[]` `
checkCallingUriPermissions(http://developer.android.com/reference/java/util/List.html<http://developer.android.com/reference/android/net/Uri.html> arg0, int arg1)
` `


int` `
checkPermission(http://developer.android.com/reference/java/lang/String.html arg0, int arg1, int arg2)
` `


int` `
checkSelfPermission(http://developer.android.com/reference/java/lang/String.html arg0)
` `


int` `
checkUriPermission(http://developer.android.com/reference/android/net/Uri.html arg0, http://developer.android.com/reference/java/lang/String.html arg1, http://developer.android.com/reference/java/lang/String.html arg2, int arg3, int arg4, int arg5)
` `


int` `
checkUriPermission(http://developer.android.com/reference/android/net/Uri.html arg0, int arg1, int arg2, int arg3)
` `


int[]` `
checkUriPermissions(http://developer.android.com/reference/java/util/List.html<http://developer.android.com/reference/android/net/Uri.html> arg0, int arg1, int arg2, int arg3)
` `


void` `
clearWallpaper()
` `


http://developer.android.com/reference/android/content/Context.html` `
createAttributionContext(http://developer.android.com/reference/java/lang/String.html arg0)
` `


http://developer.android.com/reference/android/content/Context.html` `
createConfigurationContext(http://developer.android.com/reference/android/content/res/Configuration.html arg0)
` `


http://developer.android.com/reference/android/content/Context.html` `
createContext(ContextParams arg0)
` `


http://developer.android.com/reference/android/content/Context.html` `
createContextForSplit(http://developer.android.com/reference/java/lang/String.html arg0)
` `


http://developer.android.com/reference/android/content/Context.html` `
createDeviceProtectedStorageContext()
` `


http://developer.android.com/reference/android/content/Context.html` `
createDisplayContext(http://developer.android.com/reference/android/view/Display.html arg0)
` `


http://developer.android.com/reference/android/content/Context.html` `
createPackageContext(http://developer.android.com/reference/java/lang/String.html arg0, int arg1)
` `


http://developer.android.com/reference/android/content/Context.html` `
createWindowContext(int arg0, http://developer.android.com/reference/android/os/Bundle.html arg1)
` `


http://developer.android.com/reference/android/content/Context.html` `
createWindowContext(http://developer.android.com/reference/android/view/Display.html arg0, int arg1, http://developer.android.com/reference/android/os/Bundle.html arg2)
` `


http://developer.android.com/reference/java/lang/String.html` `
databaseList()
` `


boolean` `
deleteDatabase(http://developer.android.com/reference/java/lang/String.html arg0)
` `


boolean` `
deleteFile(http://developer.android.com/reference/java/lang/String.html arg0)
` `


boolean` `
deleteSharedPreferences(http://developer.android.com/reference/java/lang/String.html arg0)
` `


void` `
enforceCallingOrSelfPermission(http://developer.android.com/reference/java/lang/String.html arg0, http://developer.android.com/reference/java/lang/String.html arg1)
` `


void` `
enforceCallingOrSelfUriPermission(http://developer.android.com/reference/android/net/Uri.html arg0, int arg1, http://developer.android.com/reference/java/lang/String.html arg2)
` `


void` `
enforceCallingPermission(http://developer.android.com/reference/java/lang/String.html arg0, http://developer.android.com/reference/java/lang/String.html arg1)
` `


void` `
enforceCallingUriPermission(http://developer.android.com/reference/android/net/Uri.html arg0, int arg1, http://developer.android.com/reference/java/lang/String.html arg2)
` `


void` `
enforcePermission(http://developer.android.com/reference/java/lang/String.html arg0, int arg1, int arg2, http://developer.android.com/reference/java/lang/String.html arg3)
` `


void` `
enforceUriPermission(http://developer.android.com/reference/android/net/Uri.html arg0, http://developer.android.com/reference/java/lang/String.html arg1, http://developer.android.com/reference/java/lang/String.html arg2, int arg3, int arg4, int arg5, http://developer.android.com/reference/java/lang/String.html arg6)
` `


void` `
enforceUriPermission(http://developer.android.com/reference/android/net/Uri.html arg0, int arg1, int arg2, int arg3, http://developer.android.com/reference/java/lang/String.html arg4)
` `


http://developer.android.com/reference/java/lang/String.html` `
fileList()
` `


http://developer.android.com/reference/android/content/Context.html` `
getApplicationContext()
` `


http://developer.android.com/reference/android/content/pm/ApplicationInfo.html` `
getApplicationInfo()
` `


http://developer.android.com/reference/android/content/res/AssetManager.html` `
getAssets()
` `


AttributionSource` `
getAttributionSource()
` `


http://developer.android.com/reference/java/lang/String.html` `
getAttributionTag()
` `


http://developer.android.com/reference/android/content/Context.html` `
getBaseContext()
` `


http://developer.android.com/reference/java/io/File.html` `
getCacheDir()
` `


http://developer.android.com/reference/java/lang/ClassLoader.html` `
getClassLoader()
` `


http://developer.android.com/reference/java/io/File.html` `
getCodeCacheDir()
` `


http://developer.android.com/reference/android/content/ContentResolver.html` `
getContentResolver()
` `


http://developer.android.com/reference/java/io/File.html` `
getDataDir()
` `


http://developer.android.com/reference/java/io/File.html` `
getDatabasePath(http://developer.android.com/reference/java/lang/String.html arg0)
` `


http://developer.android.com/reference/java/io/File.html` `
getDir(http://developer.android.com/reference/java/lang/String.html arg0, int arg1)
` `


http://developer.android.com/reference/android/view/Display.html` `
getDisplay()
` `


http://developer.android.com/reference/java/io/File.html` `
getExternalCacheDir()
` `


http://developer.android.com/reference/java/io/File.html` `
getExternalCacheDirs()
` `


http://developer.android.com/reference/java/io/File.html` `
getExternalFilesDir(http://developer.android.com/reference/java/lang/String.html arg0)
` `


http://developer.android.com/reference/java/io/File.html` `
getExternalFilesDirs(http://developer.android.com/reference/java/lang/String.html arg0)
` `


http://developer.android.com/reference/java/io/File.html` `
getExternalMediaDirs()
` `


http://developer.android.com/reference/java/io/File.html` `
getFileStreamPath(http://developer.android.com/reference/java/lang/String.html arg0)
` `


http://developer.android.com/reference/java/io/File.html` `
getFilesDir()
` `


http://developer.android.com/reference/java/util/concurrent/Executor.html` `
getMainExecutor()
` `


http://developer.android.com/reference/android/os/Looper.html` `
getMainLooper()
` `


http://developer.android.com/reference/java/io/File.html` `
getNoBackupFilesDir()
` `


http://developer.android.com/reference/java/io/File.html` `
getObbDir()
` `


http://developer.android.com/reference/java/io/File.html` `
getObbDirs()
` `


http://developer.android.com/reference/java/lang/String.html` `
getOpPackageName()
` `


http://developer.android.com/reference/java/lang/String.html` `
getPackageCodePath()
` `


http://developer.android.com/reference/android/content/pm/PackageManager.html` `
getPackageManager()
` `


http://developer.android.com/reference/java/lang/String.html` `
getPackageName()
` `


http://developer.android.com/reference/java/lang/String.html` `
getPackageResourcePath()
` `


ContextParams` `
getParams()
` `


http://developer.android.com/reference/android/content/res/Resources.html` `
getResources()
` `


http://developer.android.com/reference/android/content/SharedPreferences.html` `
getSharedPreferences(http://developer.android.com/reference/java/lang/String.html arg0, int arg1)
` `


http://developer.android.com/reference/java/lang/Object.html` `
getSystemService(http://developer.android.com/reference/java/lang/String.html arg0)
` `


http://developer.android.com/reference/java/lang/String.html` `
getSystemServiceName(http://developer.android.com/reference/java/lang/Class.html<?> arg0)
` `


http://developer.android.com/reference/android/content/res/Resources.Theme.html` `
getTheme()
` `


http://developer.android.com/reference/android/graphics/drawable/Drawable.html` `
getWallpaper()
` `


int` `
getWallpaperDesiredMinimumHeight()
` `


int` `
getWallpaperDesiredMinimumWidth()
` `


void` `
grantUriPermission(http://developer.android.com/reference/java/lang/String.html arg0, http://developer.android.com/reference/android/net/Uri.html arg1, int arg2)
` `


boolean` `
isDeviceProtectedStorage()
` `


boolean` `
isRestricted()
` `


boolean` `
isUiContext()
` `


boolean` `
moveDatabaseFrom(http://developer.android.com/reference/android/content/Context.html arg0, http://developer.android.com/reference/java/lang/String.html arg1)
` `


boolean` `
moveSharedPreferencesFrom(http://developer.android.com/reference/android/content/Context.html arg0, http://developer.android.com/reference/java/lang/String.html arg1)
` `


http://developer.android.com/reference/java/io/FileInputStream.html` `
openFileInput(http://developer.android.com/reference/java/lang/String.html arg0)
` `


http://developer.android.com/reference/java/io/FileOutputStream.html` `
openFileOutput(http://developer.android.com/reference/java/lang/String.html arg0, int arg1)
` `


http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html` `
openOrCreateDatabase(http://developer.android.com/reference/java/lang/String.html arg0, int arg1, http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.CursorFactory.html arg2, http://developer.android.com/reference/android/database/DatabaseErrorHandler.html arg3)
` `


http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html` `
openOrCreateDatabase(http://developer.android.com/reference/java/lang/String.html arg0, int arg1, http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.CursorFactory.html arg2)
` `


http://developer.android.com/reference/android/graphics/drawable/Drawable.html` `
peekWallpaper()
` `


void` `
registerComponentCallbacks(http://developer.android.com/reference/android/content/ComponentCallbacks.html arg0)
` `


http://developer.android.com/reference/android/content/Intent.html` `
registerReceiver(http://developer.android.com/reference/android/content/BroadcastReceiver.html arg0, http://developer.android.com/reference/android/content/IntentFilter.html arg1)
` `


http://developer.android.com/reference/android/content/Intent.html` `
registerReceiver(http://developer.android.com/reference/android/content/BroadcastReceiver.html arg0, http://developer.android.com/reference/android/content/IntentFilter.html arg1, int arg2)
` `


http://developer.android.com/reference/android/content/Intent.html` `
registerReceiver(http://developer.android.com/reference/android/content/BroadcastReceiver.html arg0, http://developer.android.com/reference/android/content/IntentFilter.html arg1, http://developer.android.com/reference/java/lang/String.html arg2, http://developer.android.com/reference/android/os/Handler.html arg3, int arg4)
` `


http://developer.android.com/reference/android/content/Intent.html` `
registerReceiver(http://developer.android.com/reference/android/content/BroadcastReceiver.html arg0, http://developer.android.com/reference/android/content/IntentFilter.html arg1, http://developer.android.com/reference/java/lang/String.html arg2, http://developer.android.com/reference/android/os/Handler.html arg3)
` `


void` `
removeStickyBroadcast(http://developer.android.com/reference/android/content/Intent.html arg0)
` `


void` `
removeStickyBroadcastAsUser(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/os/UserHandle.html arg1)
` `


void` `
revokeOwnPermissionsOnKill(http://developer.android.com/reference/java/util/Collection.html<http://developer.android.com/reference/java/lang/String.html> arg0)
` `


void` `
revokeUriPermission(http://developer.android.com/reference/android/net/Uri.html arg0, int arg1)
` `


void` `
revokeUriPermission(http://developer.android.com/reference/java/lang/String.html arg0, http://developer.android.com/reference/android/net/Uri.html arg1, int arg2)
` `


void` `
sendBroadcast(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/java/lang/String.html arg1)
` `


void` `
sendBroadcast(http://developer.android.com/reference/android/content/Intent.html arg0)
` `


void` `
sendBroadcastAsUser(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/os/UserHandle.html arg1)
` `


void` `
sendBroadcastAsUser(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/os/UserHandle.html arg1, http://developer.android.com/reference/java/lang/String.html arg2)
` `


void` `
sendOrderedBroadcast(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/java/lang/String.html arg1, http://developer.android.com/reference/java/lang/String.html arg2, http://developer.android.com/reference/android/content/BroadcastReceiver.html arg3, http://developer.android.com/reference/android/os/Handler.html arg4, int arg5, http://developer.android.com/reference/java/lang/String.html arg6, http://developer.android.com/reference/android/os/Bundle.html arg7)
` `


void` `
sendOrderedBroadcast(http://developer.android.com/reference/android/content/Intent.html arg0, int arg1, http://developer.android.com/reference/java/lang/String.html arg2, http://developer.android.com/reference/java/lang/String.html arg3, http://developer.android.com/reference/android/content/BroadcastReceiver.html arg4, http://developer.android.com/reference/android/os/Handler.html arg5, http://developer.android.com/reference/java/lang/String.html arg6, http://developer.android.com/reference/android/os/Bundle.html arg7, http://developer.android.com/reference/android/os/Bundle.html arg8)
` `


void` `
sendOrderedBroadcast(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/java/lang/String.html arg1, http://developer.android.com/reference/android/content/BroadcastReceiver.html arg2, http://developer.android.com/reference/android/os/Handler.html arg3, int arg4, http://developer.android.com/reference/java/lang/String.html arg5, http://developer.android.com/reference/android/os/Bundle.html arg6)
` `


void` `
sendOrderedBroadcast(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/java/lang/String.html arg1)
` `


void` `
sendOrderedBroadcastAsUser(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/os/UserHandle.html arg1, http://developer.android.com/reference/java/lang/String.html arg2, http://developer.android.com/reference/android/content/BroadcastReceiver.html arg3, http://developer.android.com/reference/android/os/Handler.html arg4, int arg5, http://developer.android.com/reference/java/lang/String.html arg6, http://developer.android.com/reference/android/os/Bundle.html arg7)
` `


void` `
sendStickyBroadcast(http://developer.android.com/reference/android/content/Intent.html arg0)
` `


void` `
sendStickyBroadcast(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/os/Bundle.html arg1)
` `


void` `
sendStickyBroadcastAsUser(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/os/UserHandle.html arg1)
` `


void` `
sendStickyOrderedBroadcast(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/content/BroadcastReceiver.html arg1, http://developer.android.com/reference/android/os/Handler.html arg2, int arg3, http://developer.android.com/reference/java/lang/String.html arg4, http://developer.android.com/reference/android/os/Bundle.html arg5)
` `


void` `
sendStickyOrderedBroadcastAsUser(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/os/UserHandle.html arg1, http://developer.android.com/reference/android/content/BroadcastReceiver.html arg2, http://developer.android.com/reference/android/os/Handler.html arg3, int arg4, http://developer.android.com/reference/java/lang/String.html arg5, http://developer.android.com/reference/android/os/Bundle.html arg6)
` `


void` `
setTheme(int arg0)
` `


void` `
setWallpaper(http://developer.android.com/reference/android/graphics/Bitmap.html arg0)
` `


void` `
setWallpaper(http://developer.android.com/reference/java/io/InputStream.html arg0)
` `


void` `
startActivities(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/os/Bundle.html arg1)
` `


void` `
startActivities(http://developer.android.com/reference/android/content/Intent.html arg0)
` `


void` `
startActivity(http://developer.android.com/reference/android/content/Intent.html arg0)
` `


void` `
startActivity(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/os/Bundle.html arg1)
` `


http://developer.android.com/reference/android/content/ComponentName.html` `
startForegroundService(http://developer.android.com/reference/android/content/Intent.html arg0)
` `


boolean` `
startInstrumentation(http://developer.android.com/reference/android/content/ComponentName.html arg0, http://developer.android.com/reference/java/lang/String.html arg1, http://developer.android.com/reference/android/os/Bundle.html arg2)
` `


void` `
startIntentSender(http://developer.android.com/reference/android/content/IntentSender.html arg0, http://developer.android.com/reference/android/content/Intent.html arg1, int arg2, int arg3, int arg4)
` `


void` `
startIntentSender(http://developer.android.com/reference/android/content/IntentSender.html arg0, http://developer.android.com/reference/android/content/Intent.html arg1, int arg2, int arg3, int arg4, http://developer.android.com/reference/android/os/Bundle.html arg5)
` `


http://developer.android.com/reference/android/content/ComponentName.html` `
startService(http://developer.android.com/reference/android/content/Intent.html arg0)
` `


boolean` `
stopService(http://developer.android.com/reference/android/content/Intent.html arg0)
` `


void` `
unbindService(http://developer.android.com/reference/android/content/ServiceConnection.html arg0)
` `


void` `
unregisterComponentCallbacks(http://developer.android.com/reference/android/content/ComponentCallbacks.html arg0)
` `


void` `
unregisterReceiver(http://developer.android.com/reference/android/content/BroadcastReceiver.html arg0)
` `


void` `
updateServiceGroup(http://developer.android.com/reference/android/content/ServiceConnection.html arg0, int arg1, int arg2)
` From class `

http://developer.android.com/reference/android/content/Context.html

` `


boolean` `
bindIsolatedService(http://developer.android.com/reference/android/content/Intent.html arg0, int arg1, http://developer.android.com/reference/java/lang/String.html arg2, http://developer.android.com/reference/java/util/concurrent/Executor.html arg3, http://developer.android.com/reference/android/content/ServiceConnection.html arg4)
` `


boolean` `
bindService(http://developer.android.com/reference/android/content/Intent.html arg0, int arg1, http://developer.android.com/reference/java/util/concurrent/Executor.html arg2, http://developer.android.com/reference/android/content/ServiceConnection.html arg3)
` `
abstract


boolean` `
bindService(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/content/ServiceConnection.html arg1, int arg2)
` `


boolean` `
bindServiceAsUser(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/content/ServiceConnection.html arg1, int arg2, http://developer.android.com/reference/android/os/UserHandle.html arg3)
` `
abstract


int` `
checkCallingOrSelfPermission(http://developer.android.com/reference/java/lang/String.html arg0)
` `
abstract


int` `
checkCallingOrSelfUriPermission(http://developer.android.com/reference/android/net/Uri.html arg0, int arg1)
` `


int[]` `
checkCallingOrSelfUriPermissions(http://developer.android.com/reference/java/util/List.html<http://developer.android.com/reference/android/net/Uri.html> arg0, int arg1)
` `
abstract


int` `
checkCallingPermission(http://developer.android.com/reference/java/lang/String.html arg0)
` `
abstract


int` `
checkCallingUriPermission(http://developer.android.com/reference/android/net/Uri.html arg0, int arg1)
` `


int[]` `
checkCallingUriPermissions(http://developer.android.com/reference/java/util/List.html<http://developer.android.com/reference/android/net/Uri.html> arg0, int arg1)
` `
abstract


int` `
checkPermission(http://developer.android.com/reference/java/lang/String.html arg0, int arg1, int arg2)
` `
abstract


int` `
checkSelfPermission(http://developer.android.com/reference/java/lang/String.html arg0)
` `
abstract


int` `
checkUriPermission(http://developer.android.com/reference/android/net/Uri.html arg0, http://developer.android.com/reference/java/lang/String.html arg1, http://developer.android.com/reference/java/lang/String.html arg2, int arg3, int arg4, int arg5)
` `
abstract


int` `
checkUriPermission(http://developer.android.com/reference/android/net/Uri.html arg0, int arg1, int arg2, int arg3)
` `


int[]` `
checkUriPermissions(http://developer.android.com/reference/java/util/List.html<http://developer.android.com/reference/android/net/Uri.html> arg0, int arg1, int arg2, int arg3)
` `
abstract


void` `
clearWallpaper()
` `


http://developer.android.com/reference/android/content/Context.html` `
createAttributionContext(http://developer.android.com/reference/java/lang/String.html arg0)
` `
abstract


http://developer.android.com/reference/android/content/Context.html` `
createConfigurationContext(http://developer.android.com/reference/android/content/res/Configuration.html arg0)
` `


http://developer.android.com/reference/android/content/Context.html` `
createContext(ContextParams arg0)
` `
abstract


http://developer.android.com/reference/android/content/Context.html` `
createContextForSplit(http://developer.android.com/reference/java/lang/String.html arg0)
` `
abstract


http://developer.android.com/reference/android/content/Context.html` `
createDeviceProtectedStorageContext()
` `
abstract


http://developer.android.com/reference/android/content/Context.html` `
createDisplayContext(http://developer.android.com/reference/android/view/Display.html arg0)
` `
abstract


http://developer.android.com/reference/android/content/Context.html` `
createPackageContext(http://developer.android.com/reference/java/lang/String.html arg0, int arg1)
` `


http://developer.android.com/reference/android/content/Context.html` `
createWindowContext(int arg0, http://developer.android.com/reference/android/os/Bundle.html arg1)
` `


http://developer.android.com/reference/android/content/Context.html` `
createWindowContext(http://developer.android.com/reference/android/view/Display.html arg0, int arg1, http://developer.android.com/reference/android/os/Bundle.html arg2)
` `
abstract


http://developer.android.com/reference/java/lang/String.html` `
databaseList()
` `
abstract


boolean` `
deleteDatabase(http://developer.android.com/reference/java/lang/String.html arg0)
` `
abstract


boolean` `
deleteFile(http://developer.android.com/reference/java/lang/String.html arg0)
` `
abstract


boolean` `
deleteSharedPreferences(http://developer.android.com/reference/java/lang/String.html arg0)
` `
abstract


void` `
enforceCallingOrSelfPermission(http://developer.android.com/reference/java/lang/String.html arg0, http://developer.android.com/reference/java/lang/String.html arg1)
` `
abstract


void` `
enforceCallingOrSelfUriPermission(http://developer.android.com/reference/android/net/Uri.html arg0, int arg1, http://developer.android.com/reference/java/lang/String.html arg2)
` `
abstract


void` `
enforceCallingPermission(http://developer.android.com/reference/java/lang/String.html arg0, http://developer.android.com/reference/java/lang/String.html arg1)
` `
abstract


void` `
enforceCallingUriPermission(http://developer.android.com/reference/android/net/Uri.html arg0, int arg1, http://developer.android.com/reference/java/lang/String.html arg2)
` `
abstract


void` `
enforcePermission(http://developer.android.com/reference/java/lang/String.html arg0, int arg1, int arg2, http://developer.android.com/reference/java/lang/String.html arg3)
` `
abstract


void` `
enforceUriPermission(http://developer.android.com/reference/android/net/Uri.html arg0, http://developer.android.com/reference/java/lang/String.html arg1, http://developer.android.com/reference/java/lang/String.html arg2, int arg3, int arg4, int arg5, http://developer.android.com/reference/java/lang/String.html arg6)
` `
abstract


void` `
enforceUriPermission(http://developer.android.com/reference/android/net/Uri.html arg0, int arg1, int arg2, int arg3, http://developer.android.com/reference/java/lang/String.html arg4)
` `
abstract


http://developer.android.com/reference/java/lang/String.html` `
fileList()
` `
abstract


http://developer.android.com/reference/android/content/Context.html` `
getApplicationContext()
` `
abstract


http://developer.android.com/reference/android/content/pm/ApplicationInfo.html` `
getApplicationInfo()
` `
abstract


http://developer.android.com/reference/android/content/res/AssetManager.html` `
getAssets()
` `


AttributionSource` `
getAttributionSource()
` `


http://developer.android.com/reference/java/lang/String.html` `
getAttributionTag()
` `
abstract


http://developer.android.com/reference/java/io/File.html` `
getCacheDir()
` `
abstract


http://developer.android.com/reference/java/lang/ClassLoader.html` `
getClassLoader()
` `
abstract


http://developer.android.com/reference/java/io/File.html` `
getCodeCacheDir()
` `


final

int` `
getColor(int arg0)
` `


final

http://developer.android.com/reference/android/content/res/ColorStateList.html` `
getColorStateList(int arg0)
` `
abstract


http://developer.android.com/reference/android/content/ContentResolver.html` `
getContentResolver()
` `
abstract


http://developer.android.com/reference/java/io/File.html` `
getDataDir()
` `
abstract


http://developer.android.com/reference/java/io/File.html` `
getDatabasePath(http://developer.android.com/reference/java/lang/String.html arg0)
` `
abstract


http://developer.android.com/reference/java/io/File.html` `
getDir(http://developer.android.com/reference/java/lang/String.html arg0, int arg1)
` `


http://developer.android.com/reference/android/view/Display.html` `
getDisplay()
` `


final

http://developer.android.com/reference/android/graphics/drawable/Drawable.html` `
getDrawable(int arg0)
` `
abstract


http://developer.android.com/reference/java/io/File.html` `
getExternalCacheDir()
` `
abstract


http://developer.android.com/reference/java/io/File.html` `
getExternalCacheDirs()
` `
abstract


http://developer.android.com/reference/java/io/File.html` `
getExternalFilesDir(http://developer.android.com/reference/java/lang/String.html arg0)
` `
abstract


http://developer.android.com/reference/java/io/File.html` `
getExternalFilesDirs(http://developer.android.com/reference/java/lang/String.html arg0)
` `
abstract


http://developer.android.com/reference/java/io/File.html` `
getExternalMediaDirs()
` `
abstract


http://developer.android.com/reference/java/io/File.html` `
getFileStreamPath(http://developer.android.com/reference/java/lang/String.html arg0)
` `
abstract


http://developer.android.com/reference/java/io/File.html` `
getFilesDir()
` `


http://developer.android.com/reference/java/util/concurrent/Executor.html` `
getMainExecutor()
` `
abstract


http://developer.android.com/reference/android/os/Looper.html` `
getMainLooper()
` `
abstract


http://developer.android.com/reference/java/io/File.html` `
getNoBackupFilesDir()
` `
abstract


http://developer.android.com/reference/java/io/File.html` `
getObbDir()
` `
abstract


http://developer.android.com/reference/java/io/File.html` `
getObbDirs()
` `


http://developer.android.com/reference/java/lang/String.html` `
getOpPackageName()
` `
abstract


http://developer.android.com/reference/java/lang/String.html` `
getPackageCodePath()
` `
abstract


http://developer.android.com/reference/android/content/pm/PackageManager.html` `
getPackageManager()
` `
abstract


http://developer.android.com/reference/java/lang/String.html` `
getPackageName()
` `
abstract


http://developer.android.com/reference/java/lang/String.html` `
getPackageResourcePath()
` `


ContextParams` `
getParams()
` `
abstract


http://developer.android.com/reference/android/content/res/Resources.html` `
getResources()
` `
abstract


http://developer.android.com/reference/android/content/SharedPreferences.html` `
getSharedPreferences(http://developer.android.com/reference/java/lang/String.html arg0, int arg1)
` `


final

http://developer.android.com/reference/java/lang/String.html` `
getString(int arg0, http://developer.android.com/reference/java/lang/Object.html arg1)
` `


final

http://developer.android.com/reference/java/lang/String.html` `
getString(int arg0)
` `


final
<T>
T` `
getSystemService(http://developer.android.com/reference/java/lang/Class.html<T> arg0)
` `
abstract


http://developer.android.com/reference/java/lang/Object.html` `
getSystemService(http://developer.android.com/reference/java/lang/String.html arg0)
` `
abstract


http://developer.android.com/reference/java/lang/String.html` `
getSystemServiceName(http://developer.android.com/reference/java/lang/Class.html<?> arg0)
` `


final

http://developer.android.com/reference/java/lang/CharSequence.html` `
getText(int arg0)
` `
abstract


http://developer.android.com/reference/android/content/res/Resources.Theme.html` `
getTheme()
` `
abstract


http://developer.android.com/reference/android/graphics/drawable/Drawable.html` `
getWallpaper()
` `
abstract


int` `
getWallpaperDesiredMinimumHeight()
` `
abstract


int` `
getWallpaperDesiredMinimumWidth()
` `
abstract


void` `
grantUriPermission(http://developer.android.com/reference/java/lang/String.html arg0, http://developer.android.com/reference/android/net/Uri.html arg1, int arg2)
` `
abstract


boolean` `
isDeviceProtectedStorage()
` `


boolean` `
isRestricted()
` `


boolean` `
isUiContext()
` `
abstract


boolean` `
moveDatabaseFrom(http://developer.android.com/reference/android/content/Context.html arg0, http://developer.android.com/reference/java/lang/String.html arg1)
` `
abstract


boolean` `
moveSharedPreferencesFrom(http://developer.android.com/reference/android/content/Context.html arg0, http://developer.android.com/reference/java/lang/String.html arg1)
` `


final

http://developer.android.com/reference/android/content/res/TypedArray.html` `
obtainStyledAttributes(http://developer.android.com/reference/android/util/AttributeSet.html arg0, int[] arg1)
` `


final

http://developer.android.com/reference/android/content/res/TypedArray.html` `
obtainStyledAttributes(http://developer.android.com/reference/android/util/AttributeSet.html arg0, int[] arg1, int arg2, int arg3)
` `


final

http://developer.android.com/reference/android/content/res/TypedArray.html` `
obtainStyledAttributes(int arg0, int[] arg1)
` `


final

http://developer.android.com/reference/android/content/res/TypedArray.html` `
obtainStyledAttributes(int[] arg0)
` `
abstract


http://developer.android.com/reference/java/io/FileInputStream.html` `
openFileInput(http://developer.android.com/reference/java/lang/String.html arg0)
` `
abstract


http://developer.android.com/reference/java/io/FileOutputStream.html` `
openFileOutput(http://developer.android.com/reference/java/lang/String.html arg0, int arg1)
` `
abstract


http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html` `
openOrCreateDatabase(http://developer.android.com/reference/java/lang/String.html arg0, int arg1, http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.CursorFactory.html arg2, http://developer.android.com/reference/android/database/DatabaseErrorHandler.html arg3)
` `
abstract


http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html` `
openOrCreateDatabase(http://developer.android.com/reference/java/lang/String.html arg0, int arg1, http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.CursorFactory.html arg2)
` `
abstract


http://developer.android.com/reference/android/graphics/drawable/Drawable.html` `
peekWallpaper()
` `


void` `
registerComponentCallbacks(http://developer.android.com/reference/android/content/ComponentCallbacks.html arg0)
` `
abstract


http://developer.android.com/reference/android/content/Intent.html` `
registerReceiver(http://developer.android.com/reference/android/content/BroadcastReceiver.html arg0, http://developer.android.com/reference/android/content/IntentFilter.html arg1)
` `
abstract


http://developer.android.com/reference/android/content/Intent.html` `
registerReceiver(http://developer.android.com/reference/android/content/BroadcastReceiver.html arg0, http://developer.android.com/reference/android/content/IntentFilter.html arg1, int arg2)
` `
abstract


http://developer.android.com/reference/android/content/Intent.html` `
registerReceiver(http://developer.android.com/reference/android/content/BroadcastReceiver.html arg0, http://developer.android.com/reference/android/content/IntentFilter.html arg1, http://developer.android.com/reference/java/lang/String.html arg2, http://developer.android.com/reference/android/os/Handler.html arg3, int arg4)
` `
abstract


http://developer.android.com/reference/android/content/Intent.html` `
registerReceiver(http://developer.android.com/reference/android/content/BroadcastReceiver.html arg0, http://developer.android.com/reference/android/content/IntentFilter.html arg1, http://developer.android.com/reference/java/lang/String.html arg2, http://developer.android.com/reference/android/os/Handler.html arg3)
` `
abstract


void` `
removeStickyBroadcast(http://developer.android.com/reference/android/content/Intent.html arg0)
` `
abstract


void` `
removeStickyBroadcastAsUser(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/os/UserHandle.html arg1)
` `


void` `
revokeOwnPermissionOnKill(http://developer.android.com/reference/java/lang/String.html arg0)
` `


void` `
revokeOwnPermissionsOnKill(http://developer.android.com/reference/java/util/Collection.html<http://developer.android.com/reference/java/lang/String.html> arg0)
` `
abstract


void` `
revokeUriPermission(http://developer.android.com/reference/android/net/Uri.html arg0, int arg1)
` `
abstract


void` `
revokeUriPermission(http://developer.android.com/reference/java/lang/String.html arg0, http://developer.android.com/reference/android/net/Uri.html arg1, int arg2)
` `
abstract


void` `
sendBroadcast(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/java/lang/String.html arg1)
` `
abstract


void` `
sendBroadcast(http://developer.android.com/reference/android/content/Intent.html arg0)
` `
abstract


void` `
sendBroadcastAsUser(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/os/UserHandle.html arg1)
` `
abstract


void` `
sendBroadcastAsUser(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/os/UserHandle.html arg1, http://developer.android.com/reference/java/lang/String.html arg2)
` `


void` `
sendBroadcastWithMultiplePermissions(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/java/lang/String.html arg1)
` `


void` `
sendOrderedBroadcast(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/java/lang/String.html arg1, http://developer.android.com/reference/java/lang/String.html arg2, http://developer.android.com/reference/android/content/BroadcastReceiver.html arg3, http://developer.android.com/reference/android/os/Handler.html arg4, int arg5, http://developer.android.com/reference/java/lang/String.html arg6, http://developer.android.com/reference/android/os/Bundle.html arg7)
` `
abstract


void` `
sendOrderedBroadcast(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/java/lang/String.html arg1, http://developer.android.com/reference/android/content/BroadcastReceiver.html arg2, http://developer.android.com/reference/android/os/Handler.html arg3, int arg4, http://developer.android.com/reference/java/lang/String.html arg5, http://developer.android.com/reference/android/os/Bundle.html arg6)
` `
abstract


void` `
sendOrderedBroadcast(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/java/lang/String.html arg1)
` `
abstract


void` `
sendOrderedBroadcastAsUser(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/os/UserHandle.html arg1, http://developer.android.com/reference/java/lang/String.html arg2, http://developer.android.com/reference/android/content/BroadcastReceiver.html arg3, http://developer.android.com/reference/android/os/Handler.html arg4, int arg5, http://developer.android.com/reference/java/lang/String.html arg6, http://developer.android.com/reference/android/os/Bundle.html arg7)
` `
abstract


void` `
sendStickyBroadcast(http://developer.android.com/reference/android/content/Intent.html arg0)
` `


void` `
sendStickyBroadcast(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/os/Bundle.html arg1)
` `
abstract


void` `
sendStickyBroadcastAsUser(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/os/UserHandle.html arg1)
` `
abstract


void` `
sendStickyOrderedBroadcast(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/content/BroadcastReceiver.html arg1, http://developer.android.com/reference/android/os/Handler.html arg2, int arg3, http://developer.android.com/reference/java/lang/String.html arg4, http://developer.android.com/reference/android/os/Bundle.html arg5)
` `
abstract


void` `
sendStickyOrderedBroadcastAsUser(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/os/UserHandle.html arg1, http://developer.android.com/reference/android/content/BroadcastReceiver.html arg2, http://developer.android.com/reference/android/os/Handler.html arg3, int arg4, http://developer.android.com/reference/java/lang/String.html arg5, http://developer.android.com/reference/android/os/Bundle.html arg6)
` `
abstract


void` `
setTheme(int arg0)
` `
abstract


void` `
setWallpaper(http://developer.android.com/reference/android/graphics/Bitmap.html arg0)
` `
abstract


void` `
setWallpaper(http://developer.android.com/reference/java/io/InputStream.html arg0)
` `
abstract


void` `
startActivities(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/os/Bundle.html arg1)
` `
abstract


void` `
startActivities(http://developer.android.com/reference/android/content/Intent.html arg0)
` `
abstract


void` `
startActivity(http://developer.android.com/reference/android/content/Intent.html arg0)
` `
abstract


void` `
startActivity(http://developer.android.com/reference/android/content/Intent.html arg0, http://developer.android.com/reference/android/os/Bundle.html arg1)
` `
abstract


http://developer.android.com/reference/android/content/ComponentName.html` `
startForegroundService(http://developer.android.com/reference/android/content/Intent.html arg0)
` `
abstract


boolean` `
startInstrumentation(http://developer.android.com/reference/android/content/ComponentName.html arg0, http://developer.android.com/reference/java/lang/String.html arg1, http://developer.android.com/reference/android/os/Bundle.html arg2)
` `
abstract


void` `
startIntentSender(http://developer.android.com/reference/android/content/IntentSender.html arg0, http://developer.android.com/reference/android/content/Intent.html arg1, int arg2, int arg3, int arg4)
` `
abstract


void` `
startIntentSender(http://developer.android.com/reference/android/content/IntentSender.html arg0, http://developer.android.com/reference/android/content/Intent.html arg1, int arg2, int arg3, int arg4, http://developer.android.com/reference/android/os/Bundle.html arg5)
` `
abstract


http://developer.android.com/reference/android/content/ComponentName.html` `
startService(http://developer.android.com/reference/android/content/Intent.html arg0)
` `
abstract


boolean` `
stopService(http://developer.android.com/reference/android/content/Intent.html arg0)
` `
abstract


void` `
unbindService(http://developer.android.com/reference/android/content/ServiceConnection.html arg0)
` `


void` `
unregisterComponentCallbacks(http://developer.android.com/reference/android/content/ComponentCallbacks.html arg0)
` `
abstract


void` `
unregisterReceiver(http://developer.android.com/reference/android/content/BroadcastReceiver.html arg0)
` `


void` `
updateServiceGroup(http://developer.android.com/reference/android/content/ServiceConnection.html arg0, int arg1, int arg2)
` From class `

http://developer.android.com/reference/java/lang/Object.html

` `


http://developer.android.com/reference/java/lang/Object.html` `
clone()
` `


boolean` `
equals(http://developer.android.com/reference/java/lang/Object.html arg0)
` `


void` `
finalize()
` `


final

http://developer.android.com/reference/java/lang/Class.html<?>` `
getClass()
` `


int` `
hashCode()
` `


final

void` `
notify()
` `


final

void` `
notifyAll()
` `


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 `

http://developer.android.com/reference/android/content/ComponentCallbacks2.html

` `
abstract


void` `
onTrimMemory(int arg0)
` From interface `

http://developer.android.com/reference/android/content/ComponentCallbacks.html

` `
abstract


void` `
onConfigurationChanged(http://developer.android.com/reference/android/content/res/Configuration.html arg0)
` `
abstract


void` `
onLowMemory()
`

## Constants

### INTERRUPTION_FILTER_ALARMS

```
public static final int INTERRUPTION_FILTER_ALARMS
```

Returned by `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#getInterruptionFilter()` and passed to `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onInterruptionFilterChanged(int)`. This value means that the user requested to only be
interrupted by alarms.

<br />

Constant Value:

4
(0x00000004)


### INTERRUPTION_FILTER_ALL

```
public static final int INTERRUPTION_FILTER_ALL
```

Returned by `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#getInterruptionFilter()` and passed to `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onInterruptionFilterChanged(int)`. This value means that the user requested to see all
notifications.

<br />

Constant Value:

1
(0x00000001)


### INTERRUPTION_FILTER_NONE

```
public static final int INTERRUPTION_FILTER_NONE
```

Returned by `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#getInterruptionFilter()` and passed to `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onInterruptionFilterChanged(int)`. This value means that the user requested not to see any
notifications.

<br />

Constant Value:

3
(0x00000003)


### INTERRUPTION_FILTER_PRIORITY

```
public static final int INTERRUPTION_FILTER_PRIORITY
```

Returned by `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#getInterruptionFilter()` and passed to `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onInterruptionFilterChanged(int)`. This value means that the user requested to see only high
priority notifications.

<br />

Constant Value:

2
(0x00000002)


### INTERRUPTION_FILTER_UNKNOWN

```
public static final int INTERRUPTION_FILTER_UNKNOWN
```

Returned by `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#getInterruptionFilter()` and passed to `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onInterruptionFilterChanged(int)`. This value means the interruption filter is unavailable.

<br />

Constant Value:

0
(0x00000000)


### PROPERTY_BURN_IN_PROTECTION

```
public static final String PROPERTY_BURN_IN_PROTECTION
```

Property in bundle passed to `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onPropertiesChanged(android.os.Bundle)` to indicate whether burn-in
protection is required. When this property is set to true, views are shifted around
periodically in ambient mode. To ensure that content isn't shifted off the screen, watch faces
should avoid placing content within 10 pixels of the edge of the screen. Watch faces should
also avoid solid white areas to prevent pixel burn-in. Both of these requirements only apply in
ambient mode, and only when this property is set to true.

<br />

Constant Value:

"burn_in_protection"


### PROPERTY_LOW_BIT_AMBIENT

```
public static final String PROPERTY_LOW_BIT_AMBIENT
```

Property in bundle passed to `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. When this property is set to true, the screen supports fewer bits for
each color in ambient mode. In this case, watch faces should disable anti-aliasing in ambient
mode.

<br />

Constant Value:

"low_bit_ambient"


### TAP_TYPE_TAP

```
public static final int 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. A TAP_TYPE_TOUCH will always occur first. This event
will not occur if a TAP_TYPE_TOUCH_CANCEL is sent.

<br />

Constant Value:

2
(0x00000002)


### TAP_TYPE_TOUCH

```
public static final int TAP_TYPE_TOUCH
```

Used in onTapCommand to indicate a "down" touch event on the watch face.

<br />

Constant Value:

0
(0x00000000)


### TAP_TYPE_TOUCH_CANCEL

```
public static final int TAP_TYPE_TOUCH_CANCEL
```

Used in onTapCaommand to indicate that a previous TAP_TYPE_TOUCH touch event has been canceled.
This generally happens when the watch face is touched but then a move or long press occurs.

<br />

Constant Value:

1
(0x00000001)


## Public constructors

### WatchFaceService

```
public WatchFaceService ()
```

<br />

<br />

## Public methods

### onCreateEngine

```
public abstract WatchFaceService.Engine onCreateEngine ()
```

<br />

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html` | <br /> |