is-private-session.md 669 Bytes
Newer Older
MickeyMoz's avatar
MickeyMoz committed
1
2
3
4
[android-components](../../index.md) / [mozilla.components.feature.search](../index.md) / [BrowserStoreSearchAdapter](index.md) / [isPrivateSession](./is-private-session.md)

# isPrivateSession

MickeyMoz's avatar
MickeyMoz committed
5
`fun isPrivateSession(): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/search/src/main/java/mozilla/components/feature/search/BrowserStoreSearchAdapter.kt#L39)
MickeyMoz's avatar
MickeyMoz committed
6
7
8
9
10

Overrides [SearchAdapter.isPrivateSession](../-search-adapter/is-private-session.md)

Called by the component to check whether or not the currently selected session is private.