# 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](https://developer.android.com/jetpack/androidx/releases/wear-watchfacepush#1.0.0)

*** ** * ** ***


```
public static class WatchFacePushManagerFactory
```

<br />

*** ** * ** ***

## Summary

| ### Public fields |
|---|---|
| `static @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchfacepush/WatchFacePushManagerFactory` | `https://developer.android.com/reference/androidx/wear/watchfacepush/WatchFacePushManagerFactory#INSTANCE()` |

| ### Public methods |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchfacepush/WatchFacePushManager` | `https://developer.android.com/reference/androidx/wear/watchfacepush/WatchFacePushManagerFactory#createWatchFacePushManager(android.content.Context)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/content/Context.html context)` Creates a `https://developer.android.com/reference/androidx/wear/watchfacepush/WatchFacePushManager` instance, which acts as the entry point for the Watch Face Push APIs. |
| `static final boolean` | `https://developer.android.com/reference/androidx/wear/watchfacepush/WatchFacePushManagerFactory#isSupported()()` Determines if the Watch Face Push feature is supported on this device. |

## Public fields

### INSTANCE

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

```
public static @NonNull WatchFacePushManagerFactory INSTANCE
```

## Public methods

### createWatchFacePushManager

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

```
public static final @NonNull WatchFacePushManager createWatchFacePushManager(@NonNull Context context)
```

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

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

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchfacepush/WatchFacePushManager` | a new `https://developer.android.com/reference/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/androidx/wear/watchfacepush/WatchFacePushManagerFactory#isSupported()` before calling this method. |

### isSupported

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

```
public static final boolean isSupported()
```

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

| Returns |
|---|---|
| `boolean` | true if the Watch Face Push API can be used, false otherwise. |