InteractiveWatchFaceClient.OnWatchFaceReadyListener


Note: As of July 10, 2024, watch faces must use the Watch Face Format in order to be installed on new watches that launch with Wear OS 5 pre-installed. Learn more about the user-facing changes in this Help Center article.

Additionally, starting in early 2025 (specific date to be announced during Q4 2024), all new watch faces published on Google Play must use the Watch Face Format.

public fun interface InteractiveWatchFaceClient.OnWatchFaceReadyListener


Interface passed to addOnWatchFaceReadyListener which calls OnWatchFaceReadyListener.onWatchFaceReady when the watch face is ready to render. Use addOnWatchFaceReadyListener to register a OnWatchFaceReadyListener.

Summary

Public methods

abstract void

Called when the watchface is ready to render.

Public methods

onWatchFaceReady

Added in 1.0.0
abstract void onWatchFaceReady()

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 ClientDisconnectListener to observe disconnects.