SessionObserverContext
public final class SessionObserverContext
A class containing information that will be constant through the lifetime of a SessionObserver.
When SessionObserver.onSessionClosed is called for the associated session observers, the resources of the SessionObserverContext will be freed.
Summary
Public constructors |
|---|
|
This method is deprecated. This library is no longer supported. |
Public methods |
|
|---|---|
boolean |
This method is deprecated. This library is no longer supported. |
final @NonNull Set<@NonNull String> |
This method is deprecated. This library is no longer supported. |
final View |
This method is deprecated. This library is no longer supported. |
int |
This method is deprecated. This library is no longer supported. |
@NonNull String |
This method is deprecated. This library is no longer supported. |
Public constructors
SessionObserverContext
publicSessionObserverContext(
View view,
@NonNull Set<@NonNull String> supportedSignalOptions
)
Public methods
getSupportedSignalOptions
public final @NonNull Set<@NonNull String>getSupportedSignalOptions()
Returns the signal options which are supported by the container hosting the UI session.
getView
public final ViewgetView()
Returns the view that is presenting content for the associated SandboxedUiAdapter.Session.
This value will be non-null if the SandboxedUiAdapter.Session and the SessionObserver are created from the same process. Otherwise, it will be null.