android-components / mozilla.components.browser.session / Session / hasParentSession

hasParentSession

val hasParentSession: Boolean (source)

Returns true if this Session has a parent Session.

A Session can have a parent Session if one was provided when calling SessionManager.add. The parent Session is usually the Session the new Session was opened from - like opening a new tab from a link context menu (“Open in new tab”).