android-components / mozilla.components.browser.session / SelectionAwareSessionObserver / observeIdOrSelected

observeIdOrSelected

fun observeIdOrSelected(sessionId: String?): Unit (source)

Starts observing changes to the session matching the sessionId. If the session does not exist, then observe the selected session.

Parameters

sessionId - the session ID to observe.