# InteractiveWatchFaceClient.OnWatchFaceReadyListener

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

*** ** * ** ***


```
public fun interface InteractiveWatchFaceClient.OnWatchFaceReadyListener
```

<br />

*** ** * ** ***

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

Interface passed to `https://developer.android.com/reference/androidx/wear/watchface/client/InteractiveWatchFaceClient#addOnWatchFaceReadyListener(java.util.concurrent.Executor,androidx.wear.watchface.client.InteractiveWatchFaceClient.OnWatchFaceReadyListener)` which calls `https://developer.android.com/reference/androidx/wear/watchface/client/InteractiveWatchFaceClient.OnWatchFaceReadyListener#onWatchFaceReady()` when the watch face is ready to render. Use `https://developer.android.com/reference/androidx/wear/watchface/client/InteractiveWatchFaceClient#addOnWatchFaceReadyListener(java.util.concurrent.Executor,androidx.wear.watchface.client.InteractiveWatchFaceClient.OnWatchFaceReadyListener)` to register a OnWatchFaceReadyListener.

## Summary

| ### Public methods |
|---|---|
| `abstract void` | `[onWatchFaceReady](https://developer.android.com/reference/androidx/wear/watchface/client/InteractiveWatchFaceClient.OnWatchFaceReadyListener#onWatchFaceReady())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

## Public methods

### onWatchFaceReady

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

```
abstract void [onWatchFaceReady](https://developer.android.com/reference/androidx/wear/watchface/client/InteractiveWatchFaceClient.OnWatchFaceReadyListener#onWatchFaceReady())()
```

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

Called when the watchface is ready to render.

Note in the event of the watch face disconnecting (e.g. due to a crash) this callback will never fire. Use `https://developer.android.com/reference/androidx/wear/watchface/client/InteractiveWatchFaceClient.ClientDisconnectListener` to observe disconnects.