Device service
activateDeviceService
activateDeviceService
Description
Activate the current device service for data collection.
Parameters
identity
(Identity): The identity for activation.
Returns
Promise<any>
: A promise that resolves when the operation is complete.
Usage example:
deactivateDeviceService
deactivateDeviceService
Description
Deactivate the current device for data collection. It may be desirable to deactivate a device if the host application's user logs out or if the user becomes inactive.
Parameters
identity
(Identity): The identity for deactivation.
Returns
Promise<any>
: A promise that resolves when the operation is complete.
Usage example:
fetchDeviceService
fetchDeviceService
Description
Fetch the current Device's model.
Parameters
identity
(Identity): The identity for fetching the current Device's model.
Returns
Promise<any>
: A promise that resolves with the current Device's model.
Usage example:
Last updated