getDeviceAnnotatedLocation method

Future<String> getDeviceAnnotatedLocation()

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.

Implementation

Future<String> getDeviceAnnotatedLocation() async {
  var $res = await promiseToFuture<String>(
      $js.chrome.enterprise.deviceAttributes.getDeviceAnnotatedLocation());
  return $res;
}