chrome.enterprise.hardwarePlatform
Description: |
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.
|
Availability: |
Since Chrome 71.
|
Permissions: |
"enterprise.hardwarePlatform"
|
Summary
Methods | |
---|---|
getHardwarePlatformInfo −
chrome.enterprise.hardwarePlatform.getHardwarePlatformInfo(function callback)
|
Methods
getHardwarePlatformInfo
chrome.enterprise.hardwarePlatform.getHardwarePlatformInfo(function callback)
Obtains the manufacturer and model for the hardware platform and, if the extension is authorized, returns it via |callback|.
Parameters | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
function | callback |
Called with the hardware platform info. The callback parameter should be a function that looks like this: function(object info) {...};
|