SharedUiAdapter.SessionClient


public interface SharedUiAdapter.SessionClient


The client of a single session that will receive callback events from an active session.

Summary

Public methods

abstract void

Called to report a terminal error in the session.

abstract void

Called to report that the session was opened successfully, delivering the Session handle that should be used to communicate with the provider.

Public methods

onSessionError

Added in 1.0.0-alpha14
abstract void onSessionError(@NonNull Throwable throwable)

Called to report a terminal error in the session. No further events will be reported to this SessionClient and any further or currently pending calls to the Session that may have been in flight may be ignored.

onSessionOpened

Added in 1.0.0-alpha14
abstract void onSessionOpened(@NonNull SharedUiAdapter.Session session)

Called to report that the session was opened successfully, delivering the Session handle that should be used to communicate with the provider.