SessionObserverFactory


fun interface SessionObserverFactory


A factory that creates SessionObserver instances that can be attached to a SandboxedUiAdapter.Session. Many SessionObservers may be created for the same SandboxedUiAdapter.Session.

Summary

Public functions

SessionObserver

Called if a new SandboxedUiAdapter.Session has been opened by the SandboxedUiAdapter that this factory is registered to.

Public functions

create

Added in 1.0.0-alpha09
fun create(): SessionObserver

Called if a new SandboxedUiAdapter.Session has been opened by the SandboxedUiAdapter that this factory is registered to. This will not be called for sessions that are already open.