Interface AngularNativeWebFragmentCallback
-
- All Implemented Interfaces:
public interface AngularNativeWebFragmentCallbackCallback interface to be implemented by a AngularNativeWebFragment, AngularNativeWebBottomSheetFragment, or subclass.
-
-
Method Summary
Modifier and Type Method Description abstract ViewcreateErrorView(VisitError error)Inflate and return a new view to serve as an error view. abstract ViewcreateProgressView(String location)z Inflate and return a new view to serve as a progress view. abstract AngularNativeWebChromeClientcreateWebChromeClient()Create and return a new web chrome client instance. UnitonWebViewAttached(AngularNativeWebView webView)Called when the WebView has been attached to the current destination. UnitonWebViewDetached(AngularNativeWebView webView)Called when the WebView has been detached from the current destination. UnitonColdBootPageStarted(String location)Called when WebNavigation begins a WebView cold boot (fresh resources). UnitonColdBootPageCompleted(String location)Called when WebNavigation completes a WebView cold boot (fresh resources). UnitonVisitStarted(String location)Called when a WebNavigation visit has started. UnitonVisitRendered(String location)Called when a WebNavigation visit has rendered (from a cached snapshot or from a fresh network request). UnitonVisitRequestFinished(String location)Called when a WebNavigation visit request has finished. UnitonVisitCompleted(String location, Boolean completedOffline)Called when a WebNavigation visit has completed. UnitonVisitErrorReceived(String location, VisitError error)Called when a WebNavigation visit resulted in an error. UnitonFormSubmissionStarted(String location)Called when a WebNavigation form submission has started. UnitonFormSubmissionFinished(String location)Called when a WebNavigation form submission has finished. UnitonVisitErrorReceivedWithCachedSnapshotAvailable(String location, VisitError error)Called when the WebNavigation visit resulted in an error, but a cached snapshot is being displayed, which may be stale. UnitonReceivedHttpAuthRequest(HttpAuthHandler handler, String host, String realm)Called when the WebView has received an HTTP authentication request. abstract AngularNativeViewgetAngularNativeView()The AngularNativeView instance located in the Fragment's view. -
-
Method Detail
-
createErrorView
abstract View createErrorView(VisitError error)
Inflate and return a new view to serve as an error view.
-
createProgressView
abstract View createProgressView(String location)
z Inflate and return a new view to serve as a progress view.
-
createWebChromeClient
abstract AngularNativeWebChromeClient createWebChromeClient()
Create and return a new web chrome client instance.
-
onWebViewAttached
Unit onWebViewAttached(AngularNativeWebView webView)
Called when the WebView has been attached to the current destination.
-
onWebViewDetached
Unit onWebViewDetached(AngularNativeWebView webView)
Called when the WebView has been detached from the current destination.
-
onColdBootPageStarted
Unit onColdBootPageStarted(String location)
Called when WebNavigation begins a WebView cold boot (fresh resources).
-
onColdBootPageCompleted
Unit onColdBootPageCompleted(String location)
Called when WebNavigation completes a WebView cold boot (fresh resources).
-
onVisitStarted
Unit onVisitStarted(String location)
Called when a WebNavigation visit has started.
-
onVisitRendered
Unit onVisitRendered(String location)
Called when a WebNavigation visit has rendered (from a cached snapshot or from a fresh network request). This may be called multiple times during a normal visit lifecycle.
-
onVisitRequestFinished
Unit onVisitRequestFinished(String location)
Called when a WebNavigation visit request has finished.
-
onVisitCompleted
Unit onVisitCompleted(String location, Boolean completedOffline)
Called when a WebNavigation visit has completed.
-
onVisitErrorReceived
Unit onVisitErrorReceived(String location, VisitError error)
Called when a WebNavigation visit resulted in an error.
-
onFormSubmissionStarted
Unit onFormSubmissionStarted(String location)
Called when a WebNavigation form submission has started.
-
onFormSubmissionFinished
Unit onFormSubmissionFinished(String location)
Called when a WebNavigation form submission has finished.
-
onVisitErrorReceivedWithCachedSnapshotAvailable
Unit onVisitErrorReceivedWithCachedSnapshotAvailable(String location, VisitError error)
Called when the WebNavigation visit resulted in an error, but a cached snapshot is being displayed, which may be stale.
-
onReceivedHttpAuthRequest
Unit onReceivedHttpAuthRequest(HttpAuthHandler handler, String host, String realm)
Called when the WebView has received an HTTP authentication request.
-
getAngularNativeView
abstract AngularNativeView getAngularNativeView()
The AngularNativeView instance located in the Fragment's view.
-
-
-
-