getLastChecked

返回上次请求完成以来经过的时间。

语法

js
let state = browser.captivePortal.getLastChecked()

返回值

一个 Promise,它会以一个表示毫秒时间的整数来 fulfilled。

浏览器兼容性