fun interface OnErrorListener


Callback for remote session errors on Build.VERSION_CODES.CINNAMON_BUN and above platforms.

Summary

Public functions

Unit
onError(throwable: Throwable)

Triggered when a critical error occurs while establishing or maintaining the remote session.

Public functions

onError

Added in 1.0.0-alpha01
fun onError(throwable: Throwable): Unit

Triggered when a critical error occurs while establishing or maintaining the remote session.

Parameters
throwable: Throwable

The underlying exception that caused the session failure.