HeadlessWatchFaceClient.ClientDisconnectListener


interface HeadlessWatchFaceClient.ClientDisconnectListener


Callback that observes when the client disconnects.

Summary

Public functions

Unit

This function is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

Public functions

onClientDisconnected

Added in 1.0.0
Deprecated in 1.3.0-alpha06
fun onClientDisconnected(): Unit

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