Interface POBHTMLViewClient.HTMLViewClientListener

    • 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 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.
      abstract void onPageFinished(@NonNull() WebView view) Notify the host application that a page has finished loading.
      abstract void onReceivedError(@NonNull() POBError error) Report an error received.
      • Methods inherited from class java.lang.Object

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

    • 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.