HeadlessWatchFaceClient.ClientDisconnectListener

interface HeadlessWatchFaceClient.ClientDisconnectListener


Callback that observes when the client disconnects.

Summary

Public functions

Unit

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

Public functions

onClientDisconnected

Added in 1.0.0
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.