Liking cljdoc? Tell your friends :D

chromex.app.enterprise.device-attributes

clj

Use the chrome.enterprise.deviceAttributes API to read device attributes. Note: This API is only available to extensions force-installed by enterprise policy.

Use the chrome.enterprise.deviceAttributes API to read device
attributes.
Note: This API is only available to extensions force-installed by enterprise policy.

  * available since Chrome 46
  * https://developer.chrome.com/apps/enterprise.deviceAttributes
raw docstring

api-tableclj

source

gen-callclj

source

gen-wrapclj/smacro

(gen-wrap kind item-id config & args)
source

get-device-annotated-locationclj/smacro

(get-device-annotated-location)

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.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [annotated-location] where:

|annotated-location| - https://developer.chrome.com/apps/enterprise.deviceAttributes#property-callback-annotatedLocation.

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

https://developer.chrome.com/apps/enterprise.deviceAttributes#method-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.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [annotated-location] where:

  |annotated-location| - https://developer.chrome.com/apps/enterprise.deviceAttributes#property-callback-annotatedLocation.

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.

https://developer.chrome.com/apps/enterprise.deviceAttributes#method-getDeviceAnnotatedLocation.
sourceraw docstring

get-device-annotated-location*cljs

(get-device-annotated-location* config)
source

get-device-asset-idclj/smacro

(get-device-asset-id)

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.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [asset-id] where:

|asset-id| - https://developer.chrome.com/apps/enterprise.deviceAttributes#property-callback-assetId.

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

https://developer.chrome.com/apps/enterprise.deviceAttributes#method-getDeviceAssetId.

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.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [asset-id] where:

  |asset-id| - https://developer.chrome.com/apps/enterprise.deviceAttributes#property-callback-assetId.

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.

https://developer.chrome.com/apps/enterprise.deviceAttributes#method-getDeviceAssetId.
sourceraw docstring

get-device-asset-id*cljs

(get-device-asset-id* config)
source

get-device-hostnameclj/smacro

(get-device-hostname)

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 the enterprise policy, returns an empty string.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [hostname] where:

|hostname| - https://developer.chrome.com/apps/enterprise.deviceAttributes#property-callback-hostname.

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

https://developer.chrome.com/apps/enterprise.deviceAttributes#method-getDeviceHostname.

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 the enterprise policy, returns an empty string.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [hostname] where:

  |hostname| - https://developer.chrome.com/apps/enterprise.deviceAttributes#property-callback-hostname.

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.

https://developer.chrome.com/apps/enterprise.deviceAttributes#method-getDeviceHostname.
sourceraw docstring

get-device-hostname*cljs

(get-device-hostname* config)
source

get-device-serial-numberclj/smacro

(get-device-serial-number)

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.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [serial-number] where:

|serial-number| - https://developer.chrome.com/apps/enterprise.deviceAttributes#property-callback-serialNumber.

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

https://developer.chrome.com/apps/enterprise.deviceAttributes#method-getDeviceSerialNumber.

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.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [serial-number] where:

  |serial-number| - https://developer.chrome.com/apps/enterprise.deviceAttributes#property-callback-serialNumber.

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.

https://developer.chrome.com/apps/enterprise.deviceAttributes#method-getDeviceSerialNumber.
sourceraw docstring

get-device-serial-number*cljs

(get-device-serial-number* config)
source

get-directory-device-idclj/smacro

(get-directory-device-id)

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.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [device-id] where:

|device-id| - https://developer.chrome.com/apps/enterprise.deviceAttributes#property-callback-deviceId.

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

https://developer.chrome.com/apps/enterprise.deviceAttributes#method-getDirectoryDeviceId.

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.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [device-id] where:

  |device-id| - https://developer.chrome.com/apps/enterprise.deviceAttributes#property-callback-deviceId.

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.

https://developer.chrome.com/apps/enterprise.deviceAttributes#method-getDirectoryDeviceId.
sourceraw docstring

get-directory-device-id*cljs

(get-directory-device-id* config)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.app.enterprise.device-attributes namespace.

Taps all valid non-deprecated events in chromex.app.enterprise.device-attributes namespace.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close