Package com.pubmatic.sdk.webrendering.ui
Interface POBHTMLViewClient.HTMLViewClientListener
-
- All Implemented Interfaces:
public interface POBHTMLViewClient.HTMLViewClientListenerAn interface responsible for providing the callbacks during the rendering of HTML content
-
-
Method Summary
Modifier and Type Method Description abstract booleanshouldOverrideUrlLoading(@Nullable() String url)Give the host application a chance to take control when a URL is about to be loaded in the WebView. abstract voidonPageFinished(@NonNull() WebView view)Notify the host application that a page has finished loading. abstract voidonReceivedError(@NonNull() POBError error)Report an error received. -
-
Method Detail
-
shouldOverrideUrlLoading
abstract boolean shouldOverrideUrlLoading(@Nullable() String url)
Give the host application a chance to take control when a URL is about to be loaded in the WebView.
- Parameters:
url- The URL to be loaded.- Returns:
true to cancel the current load, otherwise return false.
-
onPageFinished
abstract void onPageFinished(@NonNull() WebView view)
Notify the host application that a page has finished loading.
- Parameters:
view- The WebView that is initiating the callback.
-
onReceivedError
abstract void onReceivedError(@NonNull() POBError error)
Report an error received.
- Parameters:
error- Information about the error occurred.
-
-
-
-