SessionObserverContext


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

SessionObserverContext(view: View?, supportedSignalOptions: Set<String>)

This function is deprecated. This library is no longer supported.

Public functions

open operator Boolean
equals(other: Any?)

This function is deprecated. This library is no longer supported.

open Int

This function is deprecated. This library is no longer supported.

open String

This function is deprecated. This library is no longer supported.

Public properties

Set<String>

This property is deprecated. This library is no longer supported.

View?

This property is deprecated. This library is no longer supported.

Public constructors

SessionObserverContext

Added in 1.0.0-alpha17
Deprecated in 1.0.0-alpha17
SessionObserverContext(view: View?, supportedSignalOptions: Set<String>)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

supportedSignalOptions

Added in 1.0.0-alpha17
Deprecated in 1.0.0-alpha17
val supportedSignalOptionsSet<String>

Returns the signal options which are supported by the container hosting the UI session.

view

Added in 1.0.0-alpha17
Deprecated in 1.0.0-alpha17
val viewView?

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.