chrome.enterprise.deviceAttributes
Description: |
Use the chrome.enterprise.deviceAttributes API to read device
attributes.
|
Availability: |
Since Chrome 46.
|
Permissions: |
"enterprise.deviceAttributes"
|
Important: This API works only on Chrome OS.
Note: This API is only for extensions pre-installed by policy.
Summary
Methods | |
---|---|
getDirectoryDeviceId −
chrome.enterprise.deviceAttributes.getDirectoryDeviceId(function callback)
|
Methods
getDirectoryDeviceId
chrome.enterprise.deviceAttributes.getDirectoryDeviceId(function callback)
Fetches the value of the device identifier of the directory API, that is generated by the server and identifies the cloud record of the device for querying in the cloud directory API.
Parameters | |||||
---|---|---|---|---|---|
function | callback |
Called with the device identifier of the directory API when received. The callback parameter should be a function that looks like this: function(string deviceId) {...};
|