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

observeSelected

fun observeSelected(): Unit (source)

Starts observing changes to the selected session (see SessionManager.selectedSession). If a different session is selected the observer will automatically be switched over and only notified of changes to the newly selected session.