ConnectivityClientServiceListener
Listener for service level events.
Functions
Link copied to clipboard
abstract fun onMessageReceived(serviceConnectionId: ServiceConnectionId, data: ByteArray)
Content copied to clipboard
Called when a message with the specified data is received from the connection with the specified serviceConnectionId.
Link copied to clipboard
abstract fun onServiceConnected(serviceConnectionId: ServiceConnectionId, serviceUuid: ServiceUuid)
Content copied to clipboard
Called when a connection is established to the service with the specified serviceUuid.
Link copied to clipboard
abstract fun onServiceDisconnected(serviceConnectionId: ServiceConnectionId)
Content copied to clipboard
Called when the connection with the specified serviceConnectionId is lost.