public interface DeviceService
| Modifier and Type | Method and Description | 
|---|---|
| DeviceQuery | createDeviceQuery() | 
| DeviceRegistration | createDeviceRegistration() | 
| void | disableDevice(String deviceId)Disables the device with the given id. | 
| Device | enableDevice(String id,
            String userId,
            String tenantId)Enable the device and update the user and tenant assignment. | 
| void | removeDevice(String deviceId) | 
DeviceRegistration createDeviceRegistration()
DeviceQuery createDeviceQuery()
void removeDevice(String deviceId)
void disableDevice(String deviceId)
deviceId - the id of the deviceDevice enableDevice(String id, String userId, String tenantId)
userId or tenantId then the device user and tenant assignment won't be changed.id - the id of the deviceuserId - the id of the user to which it should be assignedtenantId - the id of the tenant to which it should be assignedCopyright © 2019. All rights reserved.