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

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.

Parameters

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.