Use the chrome.enterprise.hardwarePlatform API to get the manufacturer and model of the hardware platform where the browser runs. Note: This API is only available to extensions installed by enterprise policy.
Use the chrome.enterprise.hardwarePlatform API to get the manufacturer and model of the hardware platform where the browser runs. Note: This API is only available to extensions installed by enterprise policy. * available since Chrome 70 * https://developer.chrome.com/extensions/enterprise.hardwarePlatform
(get-hardware-platform-info)
Obtains the manufacturer and model for the hardware platform and, if the extension is authorized, returns it via |callback|.
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 [info] where:
|info| - https://developer.chrome.com/extensions/enterprise.hardwarePlatform#property-callback-info.
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.hardwarePlatform#method-getHardwarePlatformInfo.
Obtains the manufacturer and model for the hardware platform and, if the extension is authorized, returns it via |callback|. 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 [info] where: |info| - https://developer.chrome.com/extensions/enterprise.hardwarePlatform#property-callback-info. 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.hardwarePlatform#method-getHardwarePlatformInfo.
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.ext.enterprise.hardware-platform namespace.
Taps all valid non-deprecated events in chromex.ext.enterprise.hardware-platform namespace.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close