Object SDKCustomTabsLauncher.Companion

    • Constructor Detail

    • Method Detail

      • getFirstCCTBrowser

         final BrowserDetails getFirstCCTBrowser(Context context, BrowserWhitelist allowList, BrowserDetails preferredBrowser)

        Returns the first CCT browser. The the base browser list to check is the union set of the cct browsers supported on this device and the allowed browser list, then if preferredBrowser is in the list, it will be returned, then if the default browser supports cct, the default browser will be returned, otherwise, the first cct browser in the union set will be returned.

        Parameters:
        context - The application context.
        allowList - The allowed list of the browsers to be used.
        preferredBrowser - The preferred browser.