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.
Permissions
enterprise.hardwarePlatformAvailability
Types
HardwarePlatformInfo
Properties
- 
    manufacturerstring 
- 
    modelstring 
Methods
getHardwarePlatformInfo()
chrome.enterprise.hardwarePlatform.getHardwarePlatformInfo(
callback?: function,
): Promise<HardwarePlatformInfo>
Obtains the manufacturer and model for the hardware platform and, if the extension is authorized, returns it via callback.
Parameters
- 
    callbackfunction optional The callbackparameter looks like:(info: HardwarePlatformInfo) => void - 
    info
 
- 
    
Returns
- 
            Promise<HardwarePlatformInfo> Chrome 96+Promises are only supported for Manifest V3 and later, other platforms need to use callbacks.