-
public class DeeplinkHelperSimple helper for deeplinking related methods
-
-
Method Summary
Modifier and Type Method Description static IntentgetIntent(@NonNull() String rawDeeplink, boolean useCustomTabIfPossible, boolean useNewTask)Get the intent to open for a specified deeplinkCan throw runtime exceptions static IntentgetFallbackIntent(Context context)Get the fallback intent for the current package. -
-
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 openuseCustomTabIfPossible- Use a custom tab if supporteduseNewTask- Open in a new task (unsupported on custom tabs)
-
getFallbackIntent
static Intent getFallbackIntent(Context context)
Get the fallback intent for the current package.
-
-
-
-