Package 

Class DeeplinkHelper


  • 
    public class DeeplinkHelper
    
                        

    Simple helper for deeplinking related methods

    • Method Summary

      Modifier and Type Method Description
      static Intent getIntent(@NonNull() String rawDeeplink, boolean useCustomTabIfPossible, boolean useNewTask) Get the intent to open for a specified deeplinkCan throw runtime exceptions
      static Intent getFallbackIntent(Context context) Get the fallback intent for the current package.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getIntent

        @Nullable() static Intent getIntent(@NonNull() String rawDeeplink, boolean useCustomTabIfPossible, boolean useNewTask)

        Get the intent to open for a specified deeplink

        Can throw runtime exceptions

        Parameters:
        rawDeeplink - Raw deeplink to open
        useCustomTabIfPossible - Use a custom tab if supported
        useNewTask - Open in a new task (unsupported on custom tabs)