# WatchFacePushManagerFactory

Artifact: [androidx.wear.watchfacepush:watchfacepush](https://developer.android.com/jetpack/androidx/releases/wear-watchfacepush) [View Source](https://cs.android.com/search?q=file:androidx/wear/watchfacepush/WatchFacePush.kt+class:androidx.wear.watchfacepush.WatchFacePushManagerFactory) Added in [1.0.0-rc01](https://developer.android.com/jetpack/androidx/releases/wear-watchfacepush#1.0.0-rc01)

*** ** * ** ***

Kotlin \|[Java](https://developer.android.com/reference/androidx/wear/watchfacepush/WatchFacePushManagerFactory "View this page in Java")


```
object WatchFacePushManagerFactory
```

<br />

*** ** * ** ***

## Summary

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/watchfacepush/WatchFacePushManager` | `https://developer.android.com/reference/kotlin/androidx/wear/watchfacepush/WatchFacePushManagerFactory#createWatchFacePushManager(android.content.Context)(context: https://developer.android.com/reference/android/content/Context.html)` Creates a `https://developer.android.com/reference/kotlin/androidx/wear/watchfacepush/WatchFacePushManager` instance, which acts as the entry point for the Watch Face Push APIs. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/watchfacepush/WatchFacePushManagerFactory#isSupported()()` Determines if the Watch Face Push feature is supported on this device. |

## Public functions

### createWatchFacePushManager

Added in [1.0.0-rc01](https://developer.android.com/jetpack/androidx/releases/wear-watchfacepush#1.0.0-rc01)

```
fun createWatchFacePushManager(context: Context): WatchFacePushManager
```

Creates a `https://developer.android.com/reference/kotlin/androidx/wear/watchfacepush/WatchFacePushManager` instance, which acts as the entry point for the Watch Face Push APIs.

| Parameters |
|---|---|
| `context: https://developer.android.com/reference/android/content/Context.html` | the current Android context. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/watchfacepush/WatchFacePushManager` | a new `https://developer.android.com/reference/kotlin/androidx/wear/watchfacepush/WatchFacePushManager` implementation. |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unsupported-operation-exception/index.html` | if the Watch Face Push feature is not supported on this device. Check `https://developer.android.com/reference/kotlin/androidx/wear/watchfacepush/WatchFacePushManagerFactory#isSupported()` before calling this method. |

### isSupported

Added in [1.0.0-rc01](https://developer.android.com/jetpack/androidx/releases/wear-watchfacepush#1.0.0-rc01)

```
fun isSupported(): Boolean
```

Determines if the Watch Face Push feature is supported on this device.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | true if the Watch Face Push API can be used, false otherwise. |