# StatefulWatchFaceRuntimeService

Artifact: [androidx.wear.watchface:watchface](https://developer.android.com/jetpack/androidx/releases/wear-watchface) [View Source](https://cs.android.com/search?q=file:androidx/wear/watchface/WatchFaceService.kt+class:androidx.wear.watchface.StatefulWatchFaceRuntimeService) Added in [1.3.0-alpha07](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.3.0-alpha07) Deprecated in [1.3.0-alpha07](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.3.0-alpha07)

*** ** * ** ***

<br />

```
abstract class StatefulWatchFaceRuntimeService<Extra : Any?> : WatchFaceService
```

<br />

|---|---|---|---|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||||||
| ↳ | [android.content.Context](https://developer.android.com/reference/android/content/Context.html) ||||||
|   | ↳ | [android.content.ContextWrapper](https://developer.android.com/reference/android/content/ContextWrapper.html) |||||
|   |   | ↳ | [android.app.Service](https://developer.android.com/reference/android/app/Service.html) ||||
|   |   |   | ↳ | [android.service.wallpaper.WallpaperService](https://developer.android.com/reference/android/service/wallpaper/WallpaperService.html) |||
|   |   |   |   | ↳ | [androidx.wear.watchface.WatchFaceService](https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService) ||
|   |   |   |   |   | ↳ | [androidx.wear.watchface.StatefulWatchFaceRuntimeService](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService) |

Known direct subclasses [ListenableStatefulWatchFaceRuntimeService](https://developer.android.com/reference/kotlin/androidx/wear/watchface/ListenableStatefulWatchFaceRuntimeService)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/watchface/ListenableStatefulWatchFaceRuntimeService` | **This class is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

*** ** * ** ***

> [!CAUTION]
> **This class is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

`https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceRuntimeService` is required to be stateless as multiple can be created in parallel. StatefulWatchFaceRuntimeService allows for metadata to be associated with watch faces on a per instance basis. This state is created by `https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createExtra()` and is passed into other methods.

Note because a WatchFaceRuntimeService loads it's resources from another package, it will need the following permission:

```kotlin
    <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"
        tools:ignore="QueryAllPackagesPermission" />
```

Currently Wear OS only supports the runtime for the Android Watch Face Format (see https://developer.android.com/training/wearables/wff for more details).

Note only one watch face definition per resource only watch face package is supported.

use Watch Face Format instead

## Summary

| ### Public constructors |
|---|
| `<Extra : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?> [StatefulWatchFaceRuntimeService](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#StatefulWatchFaceRuntimeService())()` **This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

| ### Protected functions |
|---|---|
| `final https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotsManager` | `[createComplicationSlotsManager](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createComplicationSlotsManager(androidx.wear.watchface.style.CurrentUserStyleRepository))( currentUserStyleRepository: https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository )` **This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `abstract https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotsManager` | `@https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread [createComplicationSlotsManager](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createComplicationSlotsManager(androidx.wear.watchface.style.CurrentUserStyleRepository,kotlin.String,kotlin.Any))( currentUserStyleRepository: https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository, resourceOnlyWatchFacePackageName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, extra: Extra )` **This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `abstract Extra` | `[createExtra](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createExtra())()` **This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleFlavors` | `[createUserStyleFlavors](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createUserStyleFlavors(androidx.wear.watchface.style.CurrentUserStyleRepository,androidx.wear.watchface.ComplicationSlotsManager))( currentUserStyleRepository: https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository, complicationSlotsManager: https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotsManager )` **This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `abstract https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleFlavors` | `@https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread [createUserStyleFlavors](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createUserStyleFlavors(androidx.wear.watchface.style.CurrentUserStyleRepository,androidx.wear.watchface.ComplicationSlotsManager,kotlin.String,kotlin.Any))( currentUserStyleRepository: https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository, complicationSlotsManager: https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotsManager, resourceOnlyWatchFacePackageName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, extra: Extra )` **This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSchema` | `[createUserStyleSchema](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createUserStyleSchema())()` **This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `abstract https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSchema` | `@https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread [createUserStyleSchema](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createUserStyleSchema(kotlin.String,kotlin.Any))( resourceOnlyWatchFacePackageName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, extra: Extra )` **This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final suspend https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFace` | `[createWatchFace](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createWatchFace(android.view.SurfaceHolder,androidx.wear.watchface.WatchState,androidx.wear.watchface.ComplicationSlotsManager,androidx.wear.watchface.style.CurrentUserStyleRepository))( surfaceHolder: https://developer.android.com/reference/android/view/SurfaceHolder.html, watchState: https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchState, complicationSlotsManager: https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotsManager, currentUserStyleRepository: https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository )` **This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `abstract suspend https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFace` | `@https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread [createWatchFace](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createWatchFace(android.view.SurfaceHolder,androidx.wear.watchface.WatchState,androidx.wear.watchface.ComplicationSlotsManager,androidx.wear.watchface.style.CurrentUserStyleRepository,kotlin.String,kotlin.Any))( surfaceHolder: https://developer.android.com/reference/android/view/SurfaceHolder.html, watchState: https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchState, complicationSlotsManager: https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotsManager, currentUserStyleRepository: https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository, resourceOnlyWatchFacePackageName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, extra: Extra )` **This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

### Inherited functions

From [android.content.Context](https://developer.android.com/reference/android/content/Context.html) `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[bindIsolatedService](https://developer.android.com/reference/android/content/Context.html#bindIsolatedService(android.content.Intent, android.content.Context.BindServiceFlags, java.lang.String, java.util.concurrent.Executor, android.content.ServiceConnection))(

service: https://developer.android.com/reference/android/content/Intent.html,

flags: https://developer.android.com/reference/android/content/Context.BindServiceFlags.html,

instanceName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html,

executor: https://developer.android.com/reference/java/util/concurrent/Executor.html,

conn: https://developer.android.com/reference/android/content/ServiceConnection.html

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `[getColor](https://developer.android.com/reference/android/content/Context.html#getColor(int))(id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/res/ColorStateList.html` `[getColorStateList](https://developer.android.com/reference/android/content/Context.html#getColorStateList(int))(id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/graphics/drawable/Drawable.html?` `[getDrawable](https://developer.android.com/reference/android/content/Context.html#getDrawable(int))(id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` `[getString](https://developer.android.com/reference/android/content/Context.html#getString(int))(resId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` `[getString](https://developer.android.com/reference/android/content/Context.html#getString(int, java.lang.Object...))(resId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, vararg formatArgs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`T` `<T : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html> [getSystemService](https://developer.android.com/reference/android/content/Context.html#getSystemService(java.lang.Class&lt;T&gt;))(serviceClass: https://developer.android.com/reference/java/lang/Class.html<T>)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` `[getText](https://developer.android.com/reference/android/content/Context.html#getText(int))(resId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/res/TypedArray.html` `[obtainStyledAttributes](https://developer.android.com/reference/android/content/Context.html#obtainStyledAttributes(int[]))(attrs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/res/TypedArray.html` `[obtainStyledAttributes](https://developer.android.com/reference/android/content/Context.html#obtainStyledAttributes(int, int[]))(resid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, attrs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/res/TypedArray.html` `[obtainStyledAttributes](https://developer.android.com/reference/android/content/Context.html#obtainStyledAttributes(android.util.AttributeSet, int[]))(set: https://developer.android.com/reference/android/util/AttributeSet.html?, attrs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/res/TypedArray.html` `[obtainStyledAttributes](https://developer.android.com/reference/android/content/Context.html#obtainStyledAttributes(android.util.AttributeSet, int[], int, int))(

set: https://developer.android.com/reference/android/util/AttributeSet.html?,

attrs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html,

defStyleAttr: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

defStyleRes: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[revokeSelfPermissionOnKill](https://developer.android.com/reference/android/content/Context.html#revokeSelfPermissionOnKill(java.lang.String))(permName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[sendBroadcastWithMultiplePermissions](https://developer.android.com/reference/android/content/Context.html#sendBroadcastWithMultiplePermissions(android.content.Intent, java.lang.String[]))(

intent: https://developer.android.com/reference/android/content/Intent.html,

receiverPermissions: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
From [android.content.ContextWrapper](https://developer.android.com/reference/android/content/ContextWrapper.html) `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[bindIsolatedService](https://developer.android.com/reference/android/content/ContextWrapper.html#bindIsolatedService(android.content.Intent, int, java.lang.String, java.util.concurrent.Executor, android.content.ServiceConnection))(

service: https://developer.android.com/reference/android/content/Intent.html,

flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

instanceName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html,

executor: https://developer.android.com/reference/java/util/concurrent/Executor.html,

conn: https://developer.android.com/reference/android/content/ServiceConnection.html

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[bindService](https://developer.android.com/reference/android/content/ContextWrapper.html#bindService(android.content.Intent, android.content.ServiceConnection, android.content.Context.BindServiceFlags))(

service: https://developer.android.com/reference/android/content/Intent.html,

conn: https://developer.android.com/reference/android/content/ServiceConnection.html,

flags: https://developer.android.com/reference/android/content/Context.BindServiceFlags.html

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[bindService](https://developer.android.com/reference/android/content/ContextWrapper.html#bindService(android.content.Intent, android.content.ServiceConnection, int))(service: https://developer.android.com/reference/android/content/Intent.html, conn: https://developer.android.com/reference/android/content/ServiceConnection.html, flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[bindService](https://developer.android.com/reference/android/content/ContextWrapper.html#bindService(android.content.Intent, android.content.Context.BindServiceFlags, java.util.concurrent.Executor, android.content.ServiceConnection))(

service: https://developer.android.com/reference/android/content/Intent.html,

flags: https://developer.android.com/reference/android/content/Context.BindServiceFlags.html,

executor: https://developer.android.com/reference/java/util/concurrent/Executor.html,

conn: https://developer.android.com/reference/android/content/ServiceConnection.html

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[bindService](https://developer.android.com/reference/android/content/ContextWrapper.html#bindService(android.content.Intent, int, java.util.concurrent.Executor, android.content.ServiceConnection))(

service: https://developer.android.com/reference/android/content/Intent.html,

flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

executor: https://developer.android.com/reference/java/util/concurrent/Executor.html,

conn: https://developer.android.com/reference/android/content/ServiceConnection.html

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[bindServiceAsUser](https://developer.android.com/reference/android/content/ContextWrapper.html#bindServiceAsUser(android.content.Intent, android.content.ServiceConnection, android.content.Context.BindServiceFlags, android.os.UserHandle))(

service: https://developer.android.com/reference/android/content/Intent.html,

conn: https://developer.android.com/reference/android/content/ServiceConnection.html,

flags: https://developer.android.com/reference/android/content/Context.BindServiceFlags.html,

user: https://developer.android.com/reference/android/os/UserHandle.html

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[bindServiceAsUser](https://developer.android.com/reference/android/content/ContextWrapper.html#bindServiceAsUser(android.content.Intent, android.content.ServiceConnection, int, android.os.UserHandle))(

service: https://developer.android.com/reference/android/content/Intent.html,

conn: https://developer.android.com/reference/android/content/ServiceConnection.html,

flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

user: https://developer.android.com/reference/android/os/UserHandle.html

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `[checkCallingOrSelfPermission](https://developer.android.com/reference/android/content/ContextWrapper.html#checkCallingOrSelfPermission(java.lang.String))(permission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `[checkCallingOrSelfUriPermission](https://developer.android.com/reference/android/content/ContextWrapper.html#checkCallingOrSelfUriPermission(android.net.Uri, int))(uri: https://developer.android.com/reference/android/net/Uri.html, modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html` `[checkCallingOrSelfUriPermissions](https://developer.android.com/reference/android/content/ContextWrapper.html#checkCallingOrSelfUriPermissions(java.util.List&lt;android.net.Uri&gt;, int))(uris: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html<https://developer.android.com/reference/android/net/Uri.html>, modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `[checkCallingPermission](https://developer.android.com/reference/android/content/ContextWrapper.html#checkCallingPermission(java.lang.String))(permission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `[checkCallingUriPermission](https://developer.android.com/reference/android/content/ContextWrapper.html#checkCallingUriPermission(android.net.Uri, int))(uri: https://developer.android.com/reference/android/net/Uri.html, modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html` `[checkCallingUriPermissions](https://developer.android.com/reference/android/content/ContextWrapper.html#checkCallingUriPermissions(java.util.List&lt;android.net.Uri&gt;, int))(uris: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html<https://developer.android.com/reference/android/net/Uri.html>, modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `[checkContentUriPermissionFull](https://developer.android.com/reference/android/content/ContextWrapper.html#checkContentUriPermissionFull(android.net.Uri, int, int, int))(uri: https://developer.android.com/reference/android/net/Uri.html, pid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, uid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `[checkPermission](https://developer.android.com/reference/android/content/ContextWrapper.html#checkPermission(java.lang.String, int, int))(permission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, pid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, uid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `[checkSelfPermission](https://developer.android.com/reference/android/content/ContextWrapper.html#checkSelfPermission(java.lang.String))(permission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `[checkUriPermission](https://developer.android.com/reference/android/content/ContextWrapper.html#checkUriPermission(android.net.Uri, int, int, int))(uri: https://developer.android.com/reference/android/net/Uri.html, pid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, uid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `[checkUriPermission](https://developer.android.com/reference/android/content/ContextWrapper.html#checkUriPermission(android.net.Uri, java.lang.String, java.lang.String, int, int, int))(

uri: https://developer.android.com/reference/android/net/Uri.html?,

readPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

writePermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

pid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

uid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html` `[checkUriPermissions](https://developer.android.com/reference/android/content/ContextWrapper.html#checkUriPermissions(java.util.List&lt;android.net.Uri&gt;, int, int, int))(

uris: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html<https://developer.android.com/reference/android/net/Uri.html>,

pid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

uid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[clearWallpaper](https://developer.android.com/reference/android/content/ContextWrapper.html#clearWallpaper())()`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/Context.html` `[createAttributionContext](https://developer.android.com/reference/android/content/ContextWrapper.html#createAttributionContext(java.lang.String))(attributionTag: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/Context.html` `[createConfigurationContext](https://developer.android.com/reference/android/content/ContextWrapper.html#createConfigurationContext(android.content.res.Configuration))(overrideConfiguration: https://developer.android.com/reference/android/content/res/Configuration.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/Context.html` `[createContext](https://developer.android.com/reference/android/content/ContextWrapper.html#createContext(android.content.ContextParams))(contextParams: https://developer.android.com/reference/android/content/ContextParams.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/Context.html` `[createContextForSplit](https://developer.android.com/reference/android/content/ContextWrapper.html#createContextForSplit(java.lang.String))(splitName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/Context.html` `[createDeviceContext](https://developer.android.com/reference/android/content/ContextWrapper.html#createDeviceContext(int))(deviceId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/Context.html` `[createDeviceProtectedStorageContext](https://developer.android.com/reference/android/content/ContextWrapper.html#createDeviceProtectedStorageContext())()`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/Context.html` `[createDisplayContext](https://developer.android.com/reference/android/content/ContextWrapper.html#createDisplayContext(android.view.Display))(display: https://developer.android.com/reference/android/view/Display.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/Context.html` `[createPackageContext](https://developer.android.com/reference/android/content/ContextWrapper.html#createPackageContext(java.lang.String, int))(packageName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/Context.html` `[createWindowContext](https://developer.android.com/reference/android/content/ContextWrapper.html#createWindowContext(int, android.os.Bundle))(type: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, options: https://developer.android.com/reference/android/os/Bundle.html?)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/Context.html` `[createWindowContext](https://developer.android.com/reference/android/content/ContextWrapper.html#createWindowContext(android.view.Display, int, android.os.Bundle))(display: https://developer.android.com/reference/android/view/Display.html, type: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, options: https://developer.android.com/reference/android/os/Bundle.html?)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>` `[databaseList](https://developer.android.com/reference/android/content/ContextWrapper.html#databaseList())()`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[deleteDatabase](https://developer.android.com/reference/android/content/ContextWrapper.html#deleteDatabase(java.lang.String))(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[deleteFile](https://developer.android.com/reference/android/content/ContextWrapper.html#deleteFile(java.lang.String))(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[deleteSharedPreferences](https://developer.android.com/reference/android/content/ContextWrapper.html#deleteSharedPreferences(java.lang.String))(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[enforceCallingOrSelfPermission](https://developer.android.com/reference/android/content/ContextWrapper.html#enforceCallingOrSelfPermission(java.lang.String, java.lang.String))(permission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, message: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[enforceCallingOrSelfUriPermission](https://developer.android.com/reference/android/content/ContextWrapper.html#enforceCallingOrSelfUriPermission(android.net.Uri, int, java.lang.String))(

uri: https://developer.android.com/reference/android/net/Uri.html,

modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

message: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[enforceCallingPermission](https://developer.android.com/reference/android/content/ContextWrapper.html#enforceCallingPermission(java.lang.String, java.lang.String))(permission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, message: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[enforceCallingUriPermission](https://developer.android.com/reference/android/content/ContextWrapper.html#enforceCallingUriPermission(android.net.Uri, int, java.lang.String))(uri: https://developer.android.com/reference/android/net/Uri.html, modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, message: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[enforcePermission](https://developer.android.com/reference/android/content/ContextWrapper.html#enforcePermission(java.lang.String, int, int, java.lang.String))(permission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, pid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, uid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, message: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[enforceUriPermission](https://developer.android.com/reference/android/content/ContextWrapper.html#enforceUriPermission(android.net.Uri, int, int, int, java.lang.String))(

uri: https://developer.android.com/reference/android/net/Uri.html,

pid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

uid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

message: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[enforceUriPermission](https://developer.android.com/reference/android/content/ContextWrapper.html#enforceUriPermission(android.net.Uri, java.lang.String, java.lang.String, int, int, int, java.lang.String))(

uri: https://developer.android.com/reference/android/net/Uri.html?,

readPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

writePermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

pid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

uid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

message: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>` `[fileList](https://developer.android.com/reference/android/content/ContextWrapper.html#fileList())()`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/java/io/File.html` `[getDatabasePath](https://developer.android.com/reference/android/content/ContextWrapper.html#getDatabasePath(java.lang.String))(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/java/io/File.html` `[getDir](https://developer.android.com/reference/android/content/ContextWrapper.html#getDir(java.lang.String, int))(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, mode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/java/io/File.html?` `[getExternalFilesDir](https://developer.android.com/reference/android/content/ContextWrapper.html#getExternalFilesDir(java.lang.String))(type: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/java/io/File.html>` `[getExternalFilesDirs](https://developer.android.com/reference/android/content/ContextWrapper.html#getExternalFilesDirs(java.lang.String))(type: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/java/io/File.html` `[getFileStreamPath](https://developer.android.com/reference/android/content/ContextWrapper.html#getFileStreamPath(java.lang.String))(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/SharedPreferences.html` `[getSharedPreferences](https://developer.android.com/reference/android/content/ContextWrapper.html#getSharedPreferences(java.lang.String, int))(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, mode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html` `[getSystemService](https://developer.android.com/reference/android/content/ContextWrapper.html#getSystemService(java.lang.String))(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` `[getSystemServiceName](https://developer.android.com/reference/android/content/ContextWrapper.html#getSystemServiceName(java.lang.Class&lt;?&gt;))(serviceClass: https://developer.android.com/reference/java/lang/Class.html<*>)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[grantUriPermission](https://developer.android.com/reference/android/content/ContextWrapper.html#grantUriPermission(java.lang.String, android.net.Uri, int))(toPackage: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, uri: https://developer.android.com/reference/android/net/Uri.html, modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[moveDatabaseFrom](https://developer.android.com/reference/android/content/ContextWrapper.html#moveDatabaseFrom(android.content.Context, java.lang.String))(sourceContext: https://developer.android.com/reference/android/content/Context.html, name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[moveSharedPreferencesFrom](https://developer.android.com/reference/android/content/ContextWrapper.html#moveSharedPreferencesFrom(android.content.Context, java.lang.String))(sourceContext: https://developer.android.com/reference/android/content/Context.html, name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/java/io/FileInputStream.html` `[openFileInput](https://developer.android.com/reference/android/content/ContextWrapper.html#openFileInput(java.lang.String))(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/java/io/FileOutputStream.html` `[openFileOutput](https://developer.android.com/reference/android/content/ContextWrapper.html#openFileOutput(java.lang.String, int))(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, mode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html` `[openOrCreateDatabase](https://developer.android.com/reference/android/content/ContextWrapper.html#openOrCreateDatabase(java.lang.String, int, android.database.sqlite.SQLiteDatabase.CursorFactory))(

name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html,

mode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

factory: https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.CursorFactory.html

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html` `[openOrCreateDatabase](https://developer.android.com/reference/android/content/ContextWrapper.html#openOrCreateDatabase(java.lang.String, int, android.database.sqlite.SQLiteDatabase.CursorFactory, android.database.DatabaseErrorHandler))(

name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html,

mode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

factory: https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.CursorFactory.html,

errorHandler: https://developer.android.com/reference/android/database/DatabaseErrorHandler.html?

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/graphics/drawable/Drawable.html` `[peekWallpaper](https://developer.android.com/reference/android/content/ContextWrapper.html#peekWallpaper())()`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[rebindService](https://developer.android.com/reference/android/content/ContextWrapper.html#rebindService(android.content.ServiceConnection, android.content.Context.BindServiceFlags))(conn: https://developer.android.com/reference/android/content/ServiceConnection.html, flags: https://developer.android.com/reference/android/content/Context.BindServiceFlags.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[registerComponentCallbacks](https://developer.android.com/reference/android/content/ContextWrapper.html#registerComponentCallbacks(android.content.ComponentCallbacks))(callback: https://developer.android.com/reference/android/content/ComponentCallbacks.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[registerDeviceIdChangeListener](https://developer.android.com/reference/android/content/ContextWrapper.html#registerDeviceIdChangeListener(java.util.concurrent.Executor, java.util.function.IntConsumer))(executor: https://developer.android.com/reference/java/util/concurrent/Executor.html, listener: https://developer.android.com/reference/java/util/function/IntConsumer.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/Intent.html?` `[registerReceiver](https://developer.android.com/reference/android/content/ContextWrapper.html#registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter))(receiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?, filter: https://developer.android.com/reference/android/content/IntentFilter.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/Intent.html?` `[registerReceiver](https://developer.android.com/reference/android/content/ContextWrapper.html#registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter, int))(

receiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?,

filter: https://developer.android.com/reference/android/content/IntentFilter.html,

flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/Intent.html?` `[registerReceiver](https://developer.android.com/reference/android/content/ContextWrapper.html#registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter, java.lang.String, android.os.Handler))(

receiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?,

filter: https://developer.android.com/reference/android/content/IntentFilter.html,

broadcastPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

scheduler: https://developer.android.com/reference/android/os/Handler.html?

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/Intent.html?` `[registerReceiver](https://developer.android.com/reference/android/content/ContextWrapper.html#registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter, java.lang.String, android.os.Handler, int))(

receiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?,

filter: https://developer.android.com/reference/android/content/IntentFilter.html,

broadcastPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

scheduler: https://developer.android.com/reference/android/os/Handler.html?,

flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[removeStickyBroadcast](https://developer.android.com/reference/android/content/ContextWrapper.html#removeStickyBroadcast(android.content.Intent))(intent: https://developer.android.com/reference/android/content/Intent.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[removeStickyBroadcastAsUser](https://developer.android.com/reference/android/content/ContextWrapper.html#removeStickyBroadcastAsUser(android.content.Intent, android.os.UserHandle))(intent: https://developer.android.com/reference/android/content/Intent.html, user: https://developer.android.com/reference/android/os/UserHandle.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[revokeSelfPermissionsOnKill](https://developer.android.com/reference/android/content/ContextWrapper.html#revokeSelfPermissionsOnKill(java.util.Collection&lt;java.lang.String&gt;))(permissions: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-collection/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[revokeUriPermission](https://developer.android.com/reference/android/content/ContextWrapper.html#revokeUriPermission(android.net.Uri, int))(uri: https://developer.android.com/reference/android/net/Uri.html, modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[revokeUriPermission](https://developer.android.com/reference/android/content/ContextWrapper.html#revokeUriPermission(java.lang.String, android.net.Uri, int))(targetPackage: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, uri: https://developer.android.com/reference/android/net/Uri.html, modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[sendBroadcast](https://developer.android.com/reference/android/content/ContextWrapper.html#sendBroadcast(android.content.Intent))(intent: https://developer.android.com/reference/android/content/Intent.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[sendBroadcast](https://developer.android.com/reference/android/content/ContextWrapper.html#sendBroadcast(android.content.Intent, java.lang.String))(intent: https://developer.android.com/reference/android/content/Intent.html, receiverPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[sendBroadcast](https://developer.android.com/reference/android/content/ContextWrapper.html#sendBroadcast(android.content.Intent, java.lang.String, android.os.Bundle))(intent: https://developer.android.com/reference/android/content/Intent.html, receiverPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, options: https://developer.android.com/reference/android/os/Bundle.html?)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[sendBroadcastAsUser](https://developer.android.com/reference/android/content/ContextWrapper.html#sendBroadcastAsUser(android.content.Intent, android.os.UserHandle))(intent: https://developer.android.com/reference/android/content/Intent.html, user: https://developer.android.com/reference/android/os/UserHandle.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[sendBroadcastAsUser](https://developer.android.com/reference/android/content/ContextWrapper.html#sendBroadcastAsUser(android.content.Intent, android.os.UserHandle, java.lang.String))(

intent: https://developer.android.com/reference/android/content/Intent.html,

user: https://developer.android.com/reference/android/os/UserHandle.html,

receiverPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[sendOrderedBroadcast](https://developer.android.com/reference/android/content/ContextWrapper.html#sendOrderedBroadcast(android.content.Intent, java.lang.String))(intent: https://developer.android.com/reference/android/content/Intent.html, receiverPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[sendOrderedBroadcast](https://developer.android.com/reference/android/content/ContextWrapper.html#sendOrderedBroadcast(android.content.Intent, java.lang.String, android.os.Bundle))(

intent: https://developer.android.com/reference/android/content/Intent.html,

receiverPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

options: https://developer.android.com/reference/android/os/Bundle.html?

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[sendOrderedBroadcast](https://developer.android.com/reference/android/content/ContextWrapper.html#sendOrderedBroadcast(android.content.Intent, java.lang.String, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle))(

intent: https://developer.android.com/reference/android/content/Intent.html,

receiverPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

resultReceiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?,

scheduler: https://developer.android.com/reference/android/os/Handler.html?,

initialCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

initialData: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

initialExtras: https://developer.android.com/reference/android/os/Bundle.html?

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[sendOrderedBroadcast](https://developer.android.com/reference/android/content/ContextWrapper.html#sendOrderedBroadcast(android.content.Intent, java.lang.String, android.os.Bundle, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle))(

intent: https://developer.android.com/reference/android/content/Intent.html,

receiverPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

options: https://developer.android.com/reference/android/os/Bundle.html?,

resultReceiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?,

scheduler: https://developer.android.com/reference/android/os/Handler.html?,

initialCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

initialData: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

initialExtras: https://developer.android.com/reference/android/os/Bundle.html?

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[sendOrderedBroadcast](https://developer.android.com/reference/android/content/ContextWrapper.html#sendOrderedBroadcast(android.content.Intent, java.lang.String, java.lang.String, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle))(

intent: https://developer.android.com/reference/android/content/Intent.html,

receiverPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

receiverAppOp: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

resultReceiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?,

scheduler: https://developer.android.com/reference/android/os/Handler.html?,

initialCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

initialData: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

initialExtras: https://developer.android.com/reference/android/os/Bundle.html?

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[sendOrderedBroadcast](https://developer.android.com/reference/android/content/ContextWrapper.html#sendOrderedBroadcast(android.content.Intent, int, java.lang.String, java.lang.String, android.content.BroadcastReceiver, android.os.Handler, java.lang.String, android.os.Bundle, android.os.Bundle))(

intent: https://developer.android.com/reference/android/content/Intent.html,

initialCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

receiverPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

receiverAppOp: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

resultReceiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?,

scheduler: https://developer.android.com/reference/android/os/Handler.html?,

initialData: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

initialExtras: https://developer.android.com/reference/android/os/Bundle.html?,

options: https://developer.android.com/reference/android/os/Bundle.html?

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[sendOrderedBroadcastAsUser](https://developer.android.com/reference/android/content/ContextWrapper.html#sendOrderedBroadcastAsUser(android.content.Intent, android.os.UserHandle, java.lang.String, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle))(

intent: https://developer.android.com/reference/android/content/Intent.html,

user: https://developer.android.com/reference/android/os/UserHandle.html,

receiverPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

resultReceiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?,

scheduler: https://developer.android.com/reference/android/os/Handler.html?,

initialCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

initialData: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

initialExtras: https://developer.android.com/reference/android/os/Bundle.html?

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[sendStickyBroadcast](https://developer.android.com/reference/android/content/ContextWrapper.html#sendStickyBroadcast(android.content.Intent))(intent: https://developer.android.com/reference/android/content/Intent.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[sendStickyBroadcast](https://developer.android.com/reference/android/content/ContextWrapper.html#sendStickyBroadcast(android.content.Intent, android.os.Bundle))(intent: https://developer.android.com/reference/android/content/Intent.html, options: https://developer.android.com/reference/android/os/Bundle.html?)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[sendStickyBroadcastAsUser](https://developer.android.com/reference/android/content/ContextWrapper.html#sendStickyBroadcastAsUser(android.content.Intent, android.os.UserHandle))(intent: https://developer.android.com/reference/android/content/Intent.html, user: https://developer.android.com/reference/android/os/UserHandle.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[sendStickyOrderedBroadcast](https://developer.android.com/reference/android/content/ContextWrapper.html#sendStickyOrderedBroadcast(android.content.Intent, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle))(

intent: https://developer.android.com/reference/android/content/Intent.html,

resultReceiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?,

scheduler: https://developer.android.com/reference/android/os/Handler.html?,

initialCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

initialData: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

initialExtras: https://developer.android.com/reference/android/os/Bundle.html?

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[sendStickyOrderedBroadcastAsUser](https://developer.android.com/reference/android/content/ContextWrapper.html#sendStickyOrderedBroadcastAsUser(android.content.Intent, android.os.UserHandle, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle))(

intent: https://developer.android.com/reference/android/content/Intent.html,

user: https://developer.android.com/reference/android/os/UserHandle.html,

resultReceiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?,

scheduler: https://developer.android.com/reference/android/os/Handler.html?,

initialCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

initialData: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

initialExtras: https://developer.android.com/reference/android/os/Bundle.html?

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setTheme](https://developer.android.com/reference/android/content/ContextWrapper.html#setTheme(int))(resid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setWallpaper](https://developer.android.com/reference/android/content/ContextWrapper.html#setWallpaper(android.graphics.Bitmap))(bitmap: https://developer.android.com/reference/android/graphics/Bitmap.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setWallpaper](https://developer.android.com/reference/android/content/ContextWrapper.html#setWallpaper(java.io.InputStream))(data: https://developer.android.com/reference/java/io/InputStream.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[startActivities](https://developer.android.com/reference/android/content/ContextWrapper.html#startActivities(android.content.Intent[]))(intents: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/android/content/Intent.html>)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[startActivities](https://developer.android.com/reference/android/content/ContextWrapper.html#startActivities(android.content.Intent[], android.os.Bundle))(intents: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/android/content/Intent.html>, options: https://developer.android.com/reference/android/os/Bundle.html?)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[startActivity](https://developer.android.com/reference/android/content/ContextWrapper.html#startActivity(android.content.Intent))(intent: https://developer.android.com/reference/android/content/Intent.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[startActivity](https://developer.android.com/reference/android/content/ContextWrapper.html#startActivity(android.content.Intent, android.os.Bundle))(intent: https://developer.android.com/reference/android/content/Intent.html, options: https://developer.android.com/reference/android/os/Bundle.html?)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/ComponentName.html?` `[startForegroundService](https://developer.android.com/reference/android/content/ContextWrapper.html#startForegroundService(android.content.Intent))(service: https://developer.android.com/reference/android/content/Intent.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[startInstrumentation](https://developer.android.com/reference/android/content/ContextWrapper.html#startInstrumentation(android.content.ComponentName, java.lang.String, android.os.Bundle))(

className: https://developer.android.com/reference/android/content/ComponentName.html,

profileFile: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,

arguments: https://developer.android.com/reference/android/os/Bundle.html?

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[startIntentSender](https://developer.android.com/reference/android/content/ContextWrapper.html#startIntentSender(android.content.IntentSender, android.content.Intent, int, int, int))(

intent: https://developer.android.com/reference/android/content/IntentSender.html,

fillInIntent: https://developer.android.com/reference/android/content/Intent.html?,

flagsMask: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

flagsValues: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

extraFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[startIntentSender](https://developer.android.com/reference/android/content/ContextWrapper.html#startIntentSender(android.content.IntentSender, android.content.Intent, int, int, int, android.os.Bundle))(

intent: https://developer.android.com/reference/android/content/IntentSender.html,

fillInIntent: https://developer.android.com/reference/android/content/Intent.html?,

flagsMask: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

flagsValues: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

extraFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

options: https://developer.android.com/reference/android/os/Bundle.html?

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/content/ComponentName.html?` `[startService](https://developer.android.com/reference/android/content/ContextWrapper.html#startService(android.content.Intent))(service: https://developer.android.com/reference/android/content/Intent.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[stopService](https://developer.android.com/reference/android/content/ContextWrapper.html#stopService(android.content.Intent))(name: https://developer.android.com/reference/android/content/Intent.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[unbindService](https://developer.android.com/reference/android/content/ContextWrapper.html#unbindService(android.content.ServiceConnection))(conn: https://developer.android.com/reference/android/content/ServiceConnection.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[unregisterComponentCallbacks](https://developer.android.com/reference/android/content/ContextWrapper.html#unregisterComponentCallbacks(android.content.ComponentCallbacks))(callback: https://developer.android.com/reference/android/content/ComponentCallbacks.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[unregisterDeviceIdChangeListener](https://developer.android.com/reference/android/content/ContextWrapper.html#unregisterDeviceIdChangeListener(java.util.function.IntConsumer))(listener: https://developer.android.com/reference/java/util/function/IntConsumer.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[unregisterReceiver](https://developer.android.com/reference/android/content/ContextWrapper.html#unregisterReceiver(android.content.BroadcastReceiver))(receiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[updateServiceBindings](https://developer.android.com/reference/android/content/ContextWrapper.html#updateServiceBindings(java.util.Collection&lt;android.content.Context.UpdateBindingParams&gt;))(

params: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-collection/index.html<https://developer.android.com/reference/android/content/Context.UpdateBindingParams.html>

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[updateServiceGroup](https://developer.android.com/reference/android/content/ContextWrapper.html#updateServiceGroup(android.content.ServiceConnection, int, int))(conn: https://developer.android.com/reference/android/content/ServiceConnection.html, group: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, importance: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
From [android.app.Service](https://developer.android.com/reference/android/app/Service.html) `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[attachBaseContext](https://developer.android.com/reference/android/app/Service.html#attachBaseContext(android.content.Context))(newBase: https://developer.android.com/reference/android/content/Context.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onLowMemory](https://developer.android.com/reference/android/app/Service.html#onLowMemory())()`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onRebind](https://developer.android.com/reference/android/app/Service.html#onRebind(android.content.Intent))(intent: https://developer.android.com/reference/android/content/Intent.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onStart](https://developer.android.com/reference/android/app/Service.html#onStart(android.content.Intent, int))(intent: https://developer.android.com/reference/android/content/Intent.html, startId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `[onStartCommand](https://developer.android.com/reference/android/app/Service.html#onStartCommand(android.content.Intent, int, int))(intent: https://developer.android.com/reference/android/content/Intent.html, flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, startId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onTaskRemoved](https://developer.android.com/reference/android/app/Service.html#onTaskRemoved(android.content.Intent))(rootIntent: https://developer.android.com/reference/android/content/Intent.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onTimeout](https://developer.android.com/reference/android/app/Service.html#onTimeout(int))(startId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onTimeout](https://developer.android.com/reference/android/app/Service.html#onTimeout(int, int))(startId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, fgsType: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onTrimMemory](https://developer.android.com/reference/android/app/Service.html#onTrimMemory(int))(level: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[onUnbind](https://developer.android.com/reference/android/app/Service.html#onUnbind(android.content.Intent))(intent: https://developer.android.com/reference/android/content/Intent.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[startForeground](https://developer.android.com/reference/android/app/Service.html#startForeground(int, android.app.Notification))(id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, notification: https://developer.android.com/reference/android/app/Notification.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[startForeground](https://developer.android.com/reference/android/app/Service.html#startForeground(int, android.app.Notification, int))(

id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,

notification: https://developer.android.com/reference/android/app/Notification.html,

foregroundServiceType: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[stopForeground](https://developer.android.com/reference/android/app/Service.html#stopForeground(int))(notificationBehavior: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[stopForeground](https://developer.android.com/reference/android/app/Service.html#stopForeground(boolean))(removeNotification: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[stopSelf](https://developer.android.com/reference/android/app/Service.html#stopSelf())()`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[stopSelf](https://developer.android.com/reference/android/app/Service.html#stopSelf(int))(startId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[stopSelfResult](https://developer.android.com/reference/android/app/Service.html#stopSelfResult(int))(startId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
From [android.service.wallpaper.WallpaperService](https://developer.android.com/reference/android/service/wallpaper/WallpaperService.html) `https://developer.android.com/reference/android/os/IBinder.html?` `[onBind](https://developer.android.com/reference/android/service/wallpaper/WallpaperService.html#onBind(android.content.Intent))(intent: https://developer.android.com/reference/android/content/Intent.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onCreate](https://developer.android.com/reference/android/service/wallpaper/WallpaperService.html#onCreate())()`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/service/wallpaper/WallpaperService.Engine.html?` `[onCreateEngine](https://developer.android.com/reference/android/service/wallpaper/WallpaperService.html#onCreateEngine(android.app.wallpaper.WallpaperDescription))(description: https://developer.android.com/reference/android/app/wallpaper/WallpaperDescription.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onDestroy](https://developer.android.com/reference/android/service/wallpaper/WallpaperService.html#onDestroy())()`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
From [androidx.wear.watchface.WatchFaceService](https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService) `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `@https://developer.android.com/reference/kotlin/androidx/annotation/UiThread
[dump](https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#dump(java.io.FileDescriptor,java.io.PrintWriter,kotlin.Array))(fd: https://developer.android.com/reference/java/io/FileDescriptor.html, writer: https://developer.android.com/reference/java/io/PrintWriter.html, args: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/os/Handler.html` `[getBackgroundThreadHandler](https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#getBackgroundThreadHandler())()`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotInflationFactory?` `@https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread
[getComplicationSlotInflationFactory](https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#getComplicationSlotInflationFactory())()`

**This function is deprecated.** Use the version with currentUserStyleRepository argument instead
`open https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotInflationFactory` `@https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread
[getComplicationSlotInflationFactory](https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#getComplicationSlotInflationFactory(androidx.wear.watchface.style.CurrentUserStyleRepository))(

currentUserStyleRepository: https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository

)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://developer.android.com/reference/android/os/Handler.html` `[getUiThreadHandler](https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#getUiThreadHandler())()`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onConfigurationChanged](https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#onConfigurationChanged(android.content.res.Configuration))(newConfig: https://developer.android.com/reference/android/content/res/Configuration.html)`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`final https://developer.android.com/reference/android/service/wallpaper/WallpaperService.Engine.html` `[onCreateEngine](https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#onCreateEngine())()`

**This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.

### Inherited properties

From [android.content.Context](https://developer.android.com/reference/android/content/Context.html) `open https://developer.android.com/reference/android/content/Context.BindServiceFlags.html` `https://developer.android.com/reference/android/content/Context.html#updateableFlags`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
From [android.content.ContextWrapper](https://developer.android.com/reference/android/content/ContextWrapper.html) `open https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#applicationContext`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/android/content/pm/ApplicationInfo.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#applicationInfo`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/android/content/res/AssetManager.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#assets`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/android/content/AttributionSource.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#attributionSource`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` `https://developer.android.com/reference/android/content/ContextWrapper.html#attributionTag`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#baseContext`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#cacheDir`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/java/lang/ClassLoader.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#classLoader`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#codeCacheDir`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/android/content/ContentResolver.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#contentResolver`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#dataDir`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#deviceId`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/android/view/Display.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#display`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/java/io/File.html?` `https://developer.android.com/reference/android/content/ContextWrapper.html#externalCacheDir`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/java/io/File.html>` `https://developer.android.com/reference/android/content/ContextWrapper.html#externalCacheDirs`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/java/io/File.html>` `https://developer.android.com/reference/android/content/ContextWrapper.html#externalMediaDirs`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#filesDir`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#isDeviceProtectedStorage`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#isRestricted`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#isUiContext`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/java/util/concurrent/Executor.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#mainExecutor`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/android/os/Looper.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#mainLooper`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#noBackupFilesDir`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#obbDir`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/java/io/File.html>` `https://developer.android.com/reference/android/content/ContextWrapper.html#obbDirs`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#opPackageName`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#packageCodePath`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/android/content/pm/PackageManager.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#packageManager`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#packageName`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#packageResourcePath`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/android/content/ContextParams.html?` `https://developer.android.com/reference/android/content/ContextWrapper.html#params`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/android/content/res/Resources.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#resources`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/android/content/res/Resources.Theme.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#theme`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://developer.android.com/reference/android/graphics/drawable/Drawable.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#wallpaper`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#wallpaperDesiredMinimumHeight`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#wallpaperDesiredMinimumWidth`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
From [android.app.Service](https://developer.android.com/reference/android/app/Service.html) `https://developer.android.com/reference/android/app/Application.html` `https://developer.android.com/reference/android/app/Service.html#application`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/app/Service.html#foregroundServiceType`

**This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead.

## Public constructors

### StatefulWatchFaceRuntimeService

```
<Extra : Any?> [StatefulWatchFaceRuntimeService](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#StatefulWatchFaceRuntimeService())()
```

> [!CAUTION]
> **This function is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

## Protected functions

### createComplicationSlotsManager

```
protected final fun [createComplicationSlotsManager](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createComplicationSlotsManager(androidx.wear.watchface.style.CurrentUserStyleRepository))(
    currentUserStyleRepository: CurrentUserStyleRepository
): ComplicationSlotsManager
```

> [!CAUTION]
> **This function is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

If the WatchFaceService's manifest doesn't define a androidx.wear.watchface.XmlSchemaAndComplicationSlotsDefinition meta data tag then override this factory method to create a non-empty `https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotsManager`. This manager will be passed to `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#createUserStyleFlavors(androidx.wear.watchface.style.CurrentUserStyleRepository,androidx.wear.watchface.ComplicationSlotsManager)` and `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#createWatchFace(android.view.SurfaceHolder,androidx.wear.watchface.WatchState,androidx.wear.watchface.ComplicationSlotsManager,androidx.wear.watchface.style.CurrentUserStyleRepository)`. This will be called from a background thread but the ComplicationSlotsManager should be accessed exclusively from the UiThread afterwards.

| Parameters |
|---|---|
| `currentUserStyleRepository: https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository` | The `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository` constructed using the `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSchema` returned by `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#createUserStyleSchema()`. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotsManager` | The `https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotsManager` to pass into `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#createWatchFace(android.view.SurfaceHolder,androidx.wear.watchface.WatchState,androidx.wear.watchface.ComplicationSlotsManager,androidx.wear.watchface.style.CurrentUserStyleRepository)`. |

### createComplicationSlotsManager

Added in [1.3.0-alpha07](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.3.0-alpha07) Deprecated in [1.3.0-alpha07](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.3.0-alpha07)

```
@WorkerThread
protected abstract fun [createComplicationSlotsManager](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createComplicationSlotsManager(androidx.wear.watchface.style.CurrentUserStyleRepository,kotlin.String,kotlin.Any))(
    currentUserStyleRepository: CurrentUserStyleRepository,
    resourceOnlyWatchFacePackageName: String,
    extra: Extra
): ComplicationSlotsManager
```

> [!CAUTION]
> **This function is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

If the WatchFaceService's manifest doesn't define a androidx.wear.watchface.XmlSchemaAndComplicationSlotsDefinition meta data tag then override this factory method to create a non-empty `https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotsManager`. This manager will be passed to `https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createUserStyleFlavors(androidx.wear.watchface.style.CurrentUserStyleRepository,androidx.wear.watchface.ComplicationSlotsManager,kotlin.String,kotlin.Any)` and `https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createWatchFace(android.view.SurfaceHolder,androidx.wear.watchface.WatchState,androidx.wear.watchface.ComplicationSlotsManager,androidx.wear.watchface.style.CurrentUserStyleRepository,kotlin.String,kotlin.Any)`. This will be called from a background thread but the ComplicationSlotsManager should be accessed exclusively from the UiThread afterwards.

| Parameters |
|---|---|
| `currentUserStyleRepository: https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository` | The `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository` constructed using the `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSchema` returned by `https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createUserStyleSchema(kotlin.String,kotlin.Any)`. |
| `resourceOnlyWatchFacePackageName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | The android package from which the watch face definition should be loaded. |
| `extra: Extra` | The object returned by `https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createExtra()`. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotsManager` | The `https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotsManager` to pass into `https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createWatchFace(android.view.SurfaceHolder,androidx.wear.watchface.WatchState,androidx.wear.watchface.ComplicationSlotsManager,androidx.wear.watchface.style.CurrentUserStyleRepository,kotlin.String,kotlin.Any)`. |

### createExtra

Added in [1.3.0-alpha07](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.3.0-alpha07) Deprecated in [1.3.0-alpha07](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.3.0-alpha07)

```
protected abstract fun [createExtra](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createExtra())(): Extra
```

> [!CAUTION]
> **This function is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

Constructs the user defined Extra object which is passed as a parameter to the other methods.

### createUserStyleFlavors

```
protected final fun [createUserStyleFlavors](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createUserStyleFlavors(androidx.wear.watchface.style.CurrentUserStyleRepository,androidx.wear.watchface.ComplicationSlotsManager))(
    currentUserStyleRepository: CurrentUserStyleRepository,
    complicationSlotsManager: ComplicationSlotsManager
): UserStyleFlavors
```

> [!CAUTION]
> **This function is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

If the WatchFaceService's manifest doesn't define a androidx.wear.watchface.XmlSchemaAndComplicationSlotsDefinition meta data tag then override this factory method to create non-empty `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleFlavors`. This is called on a background thread. The system reads the flavors once and changes may be ignored until the APK is updated. Metadata tag "androidx.wear.watchface.FLAVORS_SUPPORTED" should be added to let the system know the service supports flavors.

| Parameters |
|---|---|
| `currentUserStyleRepository: https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository` | The `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository` constructed using the `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSchema` returned by `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#createUserStyleSchema()`. |
| `complicationSlotsManager: https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotsManager` | The `https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotsManager` returned by `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#createComplicationSlotsManager(androidx.wear.watchface.style.CurrentUserStyleRepository)` |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleFlavors` | The `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleFlavors`, which is exposed to the system. |

### createUserStyleFlavors

Added in [1.3.0-alpha07](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.3.0-alpha07) Deprecated in [1.3.0-alpha07](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.3.0-alpha07)

```
@WorkerThread
protected abstract fun [createUserStyleFlavors](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createUserStyleFlavors(androidx.wear.watchface.style.CurrentUserStyleRepository,androidx.wear.watchface.ComplicationSlotsManager,kotlin.String,kotlin.Any))(
    currentUserStyleRepository: CurrentUserStyleRepository,
    complicationSlotsManager: ComplicationSlotsManager,
    resourceOnlyWatchFacePackageName: String,
    extra: Extra
): UserStyleFlavors
```

> [!CAUTION]
> **This function is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

If the WatchFaceService's manifest doesn't define an androidx.wear.watchface.XmlSchemaAndComplicationSlotsDefinition meta data tag then override this factory method to create non-empty `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleFlavors`. This is called on a background thread. The system reads the flavors once and changes may be ignored until the APK is updated. Metadata tag "androidx.wear.watchface.FLAVORS_SUPPORTED" should be added to let the system know the service supports flavors.

| Parameters |
|---|---|
| `currentUserStyleRepository: https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository` | The `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository` constructed using the `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSchema` returned by `https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createUserStyleSchema(kotlin.String,kotlin.Any)`. |
| `complicationSlotsManager: https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotsManager` | The `https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotsManager` returned by `https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createComplicationSlotsManager(androidx.wear.watchface.style.CurrentUserStyleRepository,kotlin.String,kotlin.Any)` |
| `resourceOnlyWatchFacePackageName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | The android package from which the watch face definition should be loaded. |
| `extra: Extra` | The object returned by `https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createExtra()`. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleFlavors` | The `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleFlavors`, which is exposed to the system. |

### createUserStyleSchema

```
protected final fun [createUserStyleSchema](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createUserStyleSchema())(): UserStyleSchema
```

> [!CAUTION]
> **This function is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

If the WatchFaceService's manifest doesn't define an androidx.wear.watchface.XmlSchemaAndComplicationSlotsDefinition meta data tag then override this factory method to create a non-empty `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSchema`. A `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository` constructed with this schema will be passed to `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#createComplicationSlotsManager(androidx.wear.watchface.style.CurrentUserStyleRepository)`, `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#createUserStyleFlavors(androidx.wear.watchface.style.CurrentUserStyleRepository,androidx.wear.watchface.ComplicationSlotsManager)` and `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#createWatchFace(android.view.SurfaceHolder,androidx.wear.watchface.WatchState,androidx.wear.watchface.ComplicationSlotsManager,androidx.wear.watchface.style.CurrentUserStyleRepository)`. This is called on a background thread.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSchema` | The `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSchema` to create a `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository` with, which is passed to `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#createComplicationSlotsManager(androidx.wear.watchface.style.CurrentUserStyleRepository)` and `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#createWatchFace(android.view.SurfaceHolder,androidx.wear.watchface.WatchState,androidx.wear.watchface.ComplicationSlotsManager,androidx.wear.watchface.style.CurrentUserStyleRepository)`. |

### createUserStyleSchema

Added in [1.3.0-alpha07](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.3.0-alpha07) Deprecated in [1.3.0-alpha07](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.3.0-alpha07)

```
@WorkerThread
protected abstract fun [createUserStyleSchema](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createUserStyleSchema(kotlin.String,kotlin.Any))(
    resourceOnlyWatchFacePackageName: String,
    extra: Extra
): UserStyleSchema
```

> [!CAUTION]
> **This function is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

If the WatchFaceService's manifest doesn't define an androidx.wear.watchface.XmlSchemaAndComplicationSlotsDefinition meta data tag then override this factory method to create a non-empty `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSchema`. A `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository` constructed with this schema will be passed to `https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createComplicationSlotsManager(androidx.wear.watchface.style.CurrentUserStyleRepository,kotlin.String,kotlin.Any)`, `https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createUserStyleFlavors(androidx.wear.watchface.style.CurrentUserStyleRepository,androidx.wear.watchface.ComplicationSlotsManager,kotlin.String,kotlin.Any)` and `https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createWatchFace(android.view.SurfaceHolder,androidx.wear.watchface.WatchState,androidx.wear.watchface.ComplicationSlotsManager,androidx.wear.watchface.style.CurrentUserStyleRepository,kotlin.String,kotlin.Any)`. This is called on a background thread.

| Parameters |
|---|---|
| `resourceOnlyWatchFacePackageName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | The android package from which the watch face definition should be loaded. |
| `extra: Extra` | The object returned by `https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createExtra()`. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSchema` | The `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSchema` to create a `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository` with, which is passed to `https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createComplicationSlotsManager(androidx.wear.watchface.style.CurrentUserStyleRepository,kotlin.String,kotlin.Any)` and `https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createWatchFace(android.view.SurfaceHolder,androidx.wear.watchface.WatchState,androidx.wear.watchface.ComplicationSlotsManager,androidx.wear.watchface.style.CurrentUserStyleRepository,kotlin.String,kotlin.Any)`. |

### createWatchFace

```
protected final suspend fun [createWatchFace](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createWatchFace(android.view.SurfaceHolder,androidx.wear.watchface.WatchState,androidx.wear.watchface.ComplicationSlotsManager,androidx.wear.watchface.style.CurrentUserStyleRepository))(
    surfaceHolder: SurfaceHolder,
    watchState: WatchState,
    complicationSlotsManager: ComplicationSlotsManager,
    currentUserStyleRepository: CurrentUserStyleRepository
): WatchFace
```

> [!CAUTION]
> **This function is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

Override this factory method to create your WatchFaceImpl. This method will be called by the library on a background thread, if possible any expensive initialization should be done asynchronously. The `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFace` and its `https://developer.android.com/reference/kotlin/androidx/wear/watchface/Renderer` should be accessed exclusively from the UiThread afterwards. There is a memory barrier between construction and rendering so no special threading primitives are required.

Warning the system will likely time out waiting for watch face initialization if it takes longer than `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#MAX_CREATE_WATCHFACE_TIME_MILLIS()` milliseconds.

| Parameters |
|---|---|
| `surfaceHolder: https://developer.android.com/reference/android/view/SurfaceHolder.html` | The `https://developer.android.com/reference/android/view/SurfaceHolder.html` to pass to the `https://developer.android.com/reference/kotlin/androidx/wear/watchface/Renderer`'s constructor. |
| `watchState: https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchState` | The `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchState` for the watch face. |
| `complicationSlotsManager: https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotsManager` | The `https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotsManager` returned by `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#createComplicationSlotsManager(androidx.wear.watchface.style.CurrentUserStyleRepository)`. |
| `currentUserStyleRepository: https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository` | The `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository` constructed using the `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSchema` returned by `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#createUserStyleSchema()`. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFace` | A `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFace` whose `https://developer.android.com/reference/kotlin/androidx/wear/watchface/Renderer` uses the provided `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#createWatchFace(android.view.SurfaceHolder,androidx.wear.watchface.WatchState,androidx.wear.watchface.ComplicationSlotsManager,androidx.wear.watchface.style.CurrentUserStyleRepository)`. |

### createWatchFace

```
@WorkerThread
protected abstract suspend fun [createWatchFace](https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createWatchFace(android.view.SurfaceHolder,androidx.wear.watchface.WatchState,androidx.wear.watchface.ComplicationSlotsManager,androidx.wear.watchface.style.CurrentUserStyleRepository,kotlin.String,kotlin.Any))(
    surfaceHolder: SurfaceHolder,
    watchState: WatchState,
    complicationSlotsManager: ComplicationSlotsManager,
    currentUserStyleRepository: CurrentUserStyleRepository,
    resourceOnlyWatchFacePackageName: String,
    extra: Extra
): WatchFace
```

> [!CAUTION]
> **This function is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

Override this factory method to create your WatchFaceImpl. This method will be called by the library on a background thread, if possible any expensive initialization should be done asynchronously. The `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFace` and its `https://developer.android.com/reference/kotlin/androidx/wear/watchface/Renderer` should be accessed exclusively from the UiThread afterwards. There is a memory barrier between construction and rendering so no special threading primitives are required.

Warning the system will likely time out waiting for watch face initialization if it takes longer than `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFaceService#MAX_CREATE_WATCHFACE_TIME_MILLIS()` milliseconds.

| Parameters |
|---|---|
| `surfaceHolder: https://developer.android.com/reference/android/view/SurfaceHolder.html` | The `https://developer.android.com/reference/android/view/SurfaceHolder.html` to pass to the `https://developer.android.com/reference/kotlin/androidx/wear/watchface/Renderer`'s constructor. |
| `watchState: https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchState` | The `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchState` for the watch face. |
| `complicationSlotsManager: https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotsManager` | The `https://developer.android.com/reference/kotlin/androidx/wear/watchface/ComplicationSlotsManager` returned by `https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createComplicationSlotsManager(androidx.wear.watchface.style.CurrentUserStyleRepository,kotlin.String,kotlin.Any)`. |
| `currentUserStyleRepository: https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository` | The `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/CurrentUserStyleRepository` constructed using the `https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSchema` returned by `https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createUserStyleSchema(kotlin.String,kotlin.Any)`. |
| `resourceOnlyWatchFacePackageName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | The android package from which the watch face definition should be loaded. |
| `extra: Extra` | The object returned by `https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createExtra()`. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFace` | A `https://developer.android.com/reference/kotlin/androidx/wear/watchface/WatchFace` whose `https://developer.android.com/reference/kotlin/androidx/wear/watchface/Renderer` uses the provided `https://developer.android.com/reference/kotlin/androidx/wear/watchface/StatefulWatchFaceRuntimeService#createWatchFace(android.view.SurfaceHolder,androidx.wear.watchface.WatchState,androidx.wear.watchface.ComplicationSlotsManager,androidx.wear.watchface.style.CurrentUserStyleRepository,kotlin.String,kotlin.Any)`. |