Interface POBUrlHandler.UrlHandlerListener

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void onLeaveApp(@NonNull() String url) Notifies that url is either going to open in External browser or deeplink is about happen
      abstract void onInternalBrowserOpen(@NonNull() String url) Notifies that url is going to open in internal browser
      abstract void onInternalBrowserClose(@NonNull() String url) Notifies that internal browser is going to close if already opened
      void onExternalBrowserClose() Notifies that user has returned from external browser or deep link.
      abstract void onErrorOpenUrl(@NonNull() String url) Notifies that is Url handler is unable to perform any of the above mentioned action
      abstract void onHandleTrackers(@NonNull() String url, @NonNull() List<String> trackerUrls) Notifies that tracker URLs need to be executed for the given URL
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onLeaveApp

         abstract void onLeaveApp(@NonNull() String url)

        Notifies that url is either going to open in External browser or deeplink is about happen

        Parameters:
        url - the url on which the above action is going to perform
      • onInternalBrowserOpen

         abstract void onInternalBrowserOpen(@NonNull() String url)

        Notifies that url is going to open in internal browser

        Parameters:
        url - the url on which above action to be performed
      • onInternalBrowserClose

         abstract void onInternalBrowserClose(@NonNull() String url)

        Notifies that internal browser is going to close if already opened

        Parameters:
        url - the url on which above action to be performed
      • onExternalBrowserClose

         void onExternalBrowserClose()

        Notifies that user has returned from external browser or deep link. This is triggered by app lifecycle callbacks when app comes to foreground after opening external browser/deep link.

      • onErrorOpenUrl

         abstract void onErrorOpenUrl(@NonNull() String url)

        Notifies that is Url handler is unable to perform any of the above mentioned action

        Parameters:
        url - the url on which error is occurred
      • onHandleTrackers

         abstract void onHandleTrackers(@NonNull() String url, @NonNull() List<String> trackerUrls)

        Notifies that tracker URLs need to be executed for the given URL

        Parameters:
        url - the URL that was handled
        trackerUrls - list of tracker URLs that need to be executed