Class POBDeepLinkUtil

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static boolean validateAndRedirect(Context context, String url) This method validates and launches the play store URL.
      static boolean triggerDeepLink(@NonNull() Context context, @NonNull() String url, boolean isProductPage) This method is used to trigger Deeplink through Intent with action Action_View
      • Methods inherited from class java.lang.Object

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

      • POBDeepLinkUtil

        POBDeepLinkUtil()
    • Method Detail

      • validateAndRedirect

         static boolean validateAndRedirect(Context context, String url)

        This method validates and launches the play store URL.

        Parameters:
        context - android system context needed for starting intent
        url - URL on which to be opened
        Returns:

        returns true in-case of DeepLink success else returns false

      • triggerDeepLink

         static boolean triggerDeepLink(@NonNull() Context context, @NonNull() String url, boolean isProductPage)

        This method is used to trigger Deeplink through Intent with action Action_View

        Parameters:
        context - android application context
        url - on which Deeplink is triggering
        isProductPage - boolean to check if deep link is for product page
        Returns:

        true if Deeplink happens successfully else returns false