Use the chrome.signedInDevices API to get a list of devices signed into chrome with the same account as the current profile.
Use the chrome.signedInDevices API to get a list of devices signed into chrome with the same account as the current profile. * available since Chrome 87 * https://developer.chrome.com/apps/signedInDevices
(get)
(get is-local)
Gets the array of signed in devices, signed into the same account as the current profile.
|is-local| - If true only return the information for the local device. If false or omitted return the list of all devices including the local device.
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 [devices] where:
|devices| - https://developer.chrome.com/apps/signedInDevices#property-callback-devices.
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/signedInDevices#method-get.
Gets the array of signed in devices, signed into the same account as the current profile. |is-local| - If true only return the information for the local device. If false or omitted return the list of all devices including the local device. 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 [devices] where: |devices| - https://developer.chrome.com/apps/signedInDevices#property-callback-devices. 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/signedInDevices#method-get.
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.app.signed-in-devices namespace.
Taps all valid non-deprecated events in chromex.app.signed-in-devices namespace.
(tap-on-device-info-change-events channel & args)
Fired when the DeviceInfo object of any of the signed in devices changes, or when a device is added or removed.
Events will be put on the |channel| with signature [::on-device-info-change [devices]] where:
|devices| - The array of all signed in devices.
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
https://developer.chrome.com/apps/signedInDevices#event-onDeviceInfoChange.
Fired when the DeviceInfo object of any of the signed in devices changes, or when a device is added or removed. Events will be put on the |channel| with signature [::on-device-info-change [devices]] where: |devices| - The array of all signed in devices. Note: |args| will be passed as additional parameters into Chrome event's .addListener call. https://developer.chrome.com/apps/signedInDevices#event-onDeviceInfoChange.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close