| Package | Description |
|---|---|
| com.microsoft.azure.sdk.iot.service |
| Modifier and Type | Method and Description |
|---|---|
Device |
RegistryManager.addDevice(Device device)
Add device using the given Device object
Return with the response device object from IotHub
|
static Device |
Device.createDevice(String deviceId,
AuthenticationType authenticationType)
Static create function
Creates device object using the given name that will use a Certificate Authority signed certificate for authentication.
|
static Device |
Device.createFromId(String deviceId,
DeviceStatus status,
SymmetricKey symmetricKey)
Static create function
Creates device object using the given name.
|
Device |
RegistryManager.getDevice(String deviceId)
Get device data by device Id from IotHub
|
Device |
RegistryManager.updateDevice(Device device)
Update device not forced
|
Device |
RegistryManager.updateDevice(Device device,
Boolean forceUpdate)
Update device with forceUpdate input parameter
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Device> |
RegistryManager.addDeviceAsync(Device device)
Async wrapper for add() operation
|
CompletableFuture<Device> |
RegistryManager.getDeviceAsync(String deviceId)
Async wrapper for getDevice() operation
|
ArrayList<Device> |
RegistryManager.getDevices(Integer maxCount)
Get list of devices
|
CompletableFuture<ArrayList<Device>> |
RegistryManager.getDevicesAsync(Integer maxCount)
Async wrapper for getDevices() operation
|
CompletableFuture<Device> |
RegistryManager.updateDeviceAsync(Device device)
Async wrapper for updateDevice() operation
|
CompletableFuture<Device> |
RegistryManager.updateDeviceAsync(Device device,
Boolean forceUpdate)
Async wrapper for forced updateDevice() operation
|
| Modifier and Type | Method and Description |
|---|---|
Device |
RegistryManager.addDevice(Device device)
Add device using the given Device object
Return with the response device object from IotHub
|
CompletableFuture<Device> |
RegistryManager.addDeviceAsync(Device device)
Async wrapper for add() operation
|
String |
RegistryManager.getDeviceConnectionString(Device device)
Return the iothub device connection string for a provided device.
|
Device |
RegistryManager.updateDevice(Device device)
Update device not forced
|
Device |
RegistryManager.updateDevice(Device device,
Boolean forceUpdate)
Update device with forceUpdate input parameter
|
CompletableFuture<Device> |
RegistryManager.updateDeviceAsync(Device device)
Async wrapper for updateDevice() operation
|
CompletableFuture<Device> |
RegistryManager.updateDeviceAsync(Device device,
Boolean forceUpdate)
Async wrapper for forced updateDevice() operation
|
Copyright © 2017. All rights reserved.