android-components / mozilla.components.browser.session / SelectionAwareSessionObserver / <init>

# <init>

`SelectionAwareSessionObserver(sessionManager: SessionManager)`

This class is a combination of Session.Observer and SessionManager.Observer. It provides functionality to observe changes to a specified or selected session, and can automatically take care of switching over the observer in case a different session gets selected (see observeFixed and observeSelected).