getLastChecked

Returns the time since the last request was completed.

Syntax

js
let state = browser.captivePortal.getLastChecked()

Return value

A Promise that is fulfilled with an integer representing time in milliseconds.

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Firefox for Android
Safari on iOS
getLastChecked