[android-components](../../index.md) / [mozilla.components.browser.state.state](../index.md) / [BrowserState](index.md) / [selectedTabId](./selected-tab-id.md)

# selectedTabId

`val selectedTabId: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/BrowserState.kt#L21)

the ID of the currently selected (active) tab.

### Property

`selectedTabId` - the ID of the currently selected (active) tab.