android-components / mozilla.components.browser.state.selector / findCustomTab


fun BrowserState.findCustomTab(tabId: String): CustomTabSessionState? (source)

Finds and returns the Custom Tab with the given id. Returns null if no matching tab could be found.


tabId - The ID of the custom tab to search for.

Return The CustomTabSessionState with the provided tabId or null if it could not be found.