Package com.pubmatic.sdk.common.utility
Interface POBUrlHandler.UrlHandlerListener
-
- All Implemented Interfaces:
public interface POBUrlHandler.UrlHandlerListenerInterface to provide Url handler events
-
-
Method Summary
Modifier and Type Method Description abstract voidonLeaveApp(@NonNull() String url)Notifies that url is either going to open in External browser or deeplink is about happen abstract voidonInternalBrowserOpen(@NonNull() String url)Notifies that url is going to open in internal browser abstract voidonInternalBrowserClose(@NonNull() String url)Notifies that internal browser is going to close if already opened voidonExternalBrowserClose()Notifies that user has returned from external browser or deep link. abstract voidonErrorOpenUrl(@NonNull() String url)Notifies that is Url handler is unable to perform any of the above mentioned action abstract voidonHandleTrackers(@NonNull() String url, @NonNull() List<String> trackerUrls)Notifies that tracker URLs need to be executed for the given URL -
-
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
-
-
-
-