Object SDKCustomTabsLauncher.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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.
      • hasBrowserInstalled

         final Boolean hasBrowserInstalled(Context context)

        Checks if any browsers are installed on this device, no matter supports CCT or not.