public fun interface OnErrorListener

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

Summary

Public methods

abstract void

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

Public methods

onError

Added in 1.0.0-alpha01
abstract void onError(@NonNull Throwable throwable)

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

Parameters
@NonNull Throwable throwable

The underlying exception that caused the session failure.