ChromeEnterpriseDeviceAttributes class
Methods
-
getDeviceAnnotatedLocation()
→ Future<String>
-
Fetches the administrator-annotated Location.
If the current user is not affiliated or no Annotated Location has been
set by the administrator, returns an empty string.
|callback| : Called with the Annotated Location of the device.
-
getDeviceAssetId()
→ Future<String>
-
Fetches the administrator-annotated Asset Id.
If the current user is not affiliated or no Asset Id has been set by the
administrator, returns an empty string.
|callback| : Called with the Asset ID of the device.
-
getDeviceHostname()
→ Future<String>
-
Fetches the device's hostname as set by DeviceHostnameTemplate policy.
If the current user is not affiliated or no hostname has been set by the
enterprise policy, returns an empty string.
|callback| : Called with hostname of the device.
-
getDeviceSerialNumber()
→ Future<String>
-
Fetches the device's serial number. Please note the purpose of this API
is to administrate the device (e.g. generating Certificate Sign Requests
for device-wide certificates). This API may not be used for tracking
devices without the consent of the device's administrator.
If the current user is not affiliated, returns an empty string.
|callback| : Called with the serial number of the device.
-
getDirectoryDeviceId()
→ Future<String>
-
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.
If the current user is not affiliated, returns an empty string.
|callback| : Called with the device identifier of the directory API when
received.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited