GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

2 results across 6 corpora for onConnectivityAvailable.

Developer library 2

captivePortal

captivePortal.getState() - : Returns the portal state as one of `unknown`, `not_captive`, `unlocked_portal`, or `locked_portal`. ## Events - captivePortal.onConnectivityAvailable - : Fires when the captive portal service determines that the user can connect to the internet. - captivePortal.onStateChanged - : Fires when the captive portal state changes. h2 ## Browser compatibility <!-- // Copyright 2015

onConnectivityAvailable

Fires when the captive portal service determines that the user can connect to the internet. ## Syntax ```js-nolint browser.captivePortal.onConnectivityAvailable.addListener(listener) browser.captivePortal.onConnectivityAvailable.removeListener(listener) browser.captivePortal.onConnectivityAvailable.hasListener(listener) ``` Events have three functions: - `addListener(listener)` - : Adds a listener to this event

JSON results · Services directory