onUpdateVisitedHistory method

void onUpdateVisitedHistory(
  1. WebUri? url,
  2. bool? isReload
)

Event fired when the host application updates its visited links database. This event is also fired when the navigation state of the InAppWebView changes through the usage of javascript History API functions (pushState(), replaceState()) and onpopstate event or, also, when the javascript window.location changes without reloading the webview (for example appending or modifying an hash to the url).

url represents the url being visited.

isReload indicates if this url is being reloaded. Available only on Android.

Officially Supported Platforms/Implementations:

Implementation

void onUpdateVisitedHistory(WebUri? url, bool? isReload) {}