[android-components](../../../index.md) / [mozilla.components.browser.session](../../index.md) / [SessionManager](../index.md) / [EngineSessionLinker](index.md) / [link](./link.md)

# link

`fun link(session: `[`Session`](../../-session/index.md)`, engineSession: `[`EngineSession`](../../../mozilla.components.concept.engine/-engine-session/index.md)`, parentEngineSession: `[`EngineSession`](../../../mozilla.components.concept.engine/-engine-session/index.md)`?, sessionRestored: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = false, skipLoading: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = false): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/session/src/main/java/mozilla/components/browser/session/SessionManager.kt#L51)

Links the provided [Session](../../-session/index.md) and [EngineSession](../../../mozilla.components.concept.engine/-engine-session/index.md).

