chrome.enterprise.hardwarePlatform
Stay organized with collections
Save and categorize content based on your preferences.
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
-
manufacturer
string
-
model
string
Methods
getHardwarePlatformInfo()
chrome.enterprise.hardwarePlatform.getHardwarePlatformInfo(): Promise<HardwarePlatformInfo>
Obtains the manufacturer and model for the hardware platform and, if the extension is authorized, returns it via callback.
Returns
-
Promise<HardwarePlatformInfo>
Chrome 96+Returns a Promise which resolves with the hardware platform info.