-
public interface DeepLinkUtil
-
-
Method Summary
Modifier and Type Method Description abstract IntentcreateDefaultHostAppIntent(Context context, String contentActionLink)Creates default launcher intent for host app. abstract IntentcreateDeepLinkHostAppIntent(Context context, String link)Creates intent from host app activities matching the provided link. abstract IntentcreateDeepLinkExternalIntent(Context context, String link, Boolean startingFromService)Creates intent outside the host app that can open the provided link. -
-
Method Detail
-
createDefaultHostAppIntent
abstract Intent createDefaultHostAppIntent(Context context, String contentActionLink)
Creates default launcher intent for host app.
- Parameters:
context- reference to application contextcontentActionLink- action link to add to extras so it can be opened after launcher activity has been created.
-
createDeepLinkHostAppIntent
abstract Intent createDeepLinkHostAppIntent(Context context, String link)
Creates intent from host app activities matching the provided link.
- Parameters:
context- reference to application contextlink- link to create intent for
-
createDeepLinkExternalIntent
abstract Intent createDeepLinkExternalIntent(Context context, String link, Boolean startingFromService)
Creates intent outside the host app that can open the provided link.
- Parameters:
context- reference to application contextlink- link to create intent forstartingFromService- flag to indicate if the intent is to be started from service so required flags can be added
-
-
-
-