HeadlessWatchFaceClient.ClientDisconnectListener


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 interface HeadlessWatchFaceClient.ClientDisconnectListener


Callback that observes when the client disconnects.

Summary

Public methods

abstract void

The client disconnected, typically due to the server side crashing.

Public methods

onClientDisconnected

Added in 1.0.0
abstract void onClientDisconnected()

The client disconnected, typically due to the server side crashing. Note this is not called in response to close being called on HeadlessWatchFaceClient.