SessionObserverFactory
public 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 methods |
|
|---|---|
abstract @NonNull SessionObserver |
create()Called if a new |
default @NonNull Set<@NonNull String> |
The set of signals that should be collected for each |
Public methods
create
abstract @NonNull SessionObserver create()
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.
getSignalOptions
default @NonNull Set<@NonNull String> getSignalOptions()
The set of signals that should be collected for each SandboxedUiAdapter.Session. This set of signals is defined by SandboxedUiAdapterSignalOptions.
The set of signals that are supported by the client will be sent in the SessionObserverContext object in SessionObserver.onSessionOpened.