Use the chrome.enterprise.networkingAttributes API to read information about your current network. Note: This API is only available to extensions force-installed by enterprise policy.
Use the chrome.enterprise.networkingAttributes API to read information about your current network. Note: This API is only available to extensions force-installed by enterprise policy. * available since Chrome 85 * https://developer.chrome.com/extensions/enterprise.networkingAttributes
(get-network-details)
Retrieves the network details of the device's default network. If the user is not affiliated or the device is not connected to a network, 'runtime.lastError' will be set with a failure reason.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [network-addresses] where:
|network-addresses| - https://developer.chrome.com/extensions/enterprise.networkingAttributes#property-callback-networkAddresses.
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
https://developer.chrome.com/extensions/enterprise.networkingAttributes#method-getNetworkDetails.
Retrieves the network details of the device's default network. If the user is not affiliated or the device is not connected to a network, 'runtime.lastError' will be set with a failure reason. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [network-addresses] where: |network-addresses| - https://developer.chrome.com/extensions/enterprise.networkingAttributes#property-callback-networkAddresses. In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error. https://developer.chrome.com/extensions/enterprise.networkingAttributes#method-getNetworkDetails.
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.ext.enterprise.networking-attributes namespace.
Taps all valid non-deprecated events in chromex.ext.enterprise.networking-attributes namespace.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close