Package com.inmobi.commons.landingpage
Object DeeplinkHandler
-
- All Implemented Interfaces:
public class DeeplinkHandler
-
-
Field Summary
Fields Modifier and Type Field Description public final static DeeplinkHandlerINSTANCE
-
Method Summary
Modifier and Type Method Description final IntegerappLinkOrDeepLinkHandled(Context context, String url, RedirectionValidator redirectionValidator, String api, InMobiLogger logger)final BooleanopenDefaultApplication(String url, Context context, RedirectionValidator redirectionValidator, InMobiLogger logger)This function opens the default application for the given url, ensuring that the browser is not launched. -
-
Method Detail
-
appLinkOrDeepLinkHandled
final Integer appLinkOrDeepLinkHandled(Context context, String url, RedirectionValidator redirectionValidator, String api, InMobiLogger logger)
-
openDefaultApplication
final Boolean openDefaultApplication(String url, Context context, RedirectionValidator redirectionValidator, InMobiLogger logger)
This function opens the default application for the given url, ensuring that the browser is not launched.
- Parameters:
url-url to open
context-context of the application
logger-logger to log the errors
-
-
-
-