| Package | Description |
|---|---|
| com.microsoft.azure.sdk.iot.service.devicetwin | |
| com.microsoft.azure.sdk.iot.service.jobs |
| Modifier and Type | Method and Description |
|---|---|
DeviceTwinDevice |
DeviceTwin.getNextDeviceTwin(Query deviceTwinQuery)
Returns the next device twin document
|
| Modifier and Type | Method and Description |
|---|---|
QueryCollectionResponse<DeviceTwinDevice> |
DeviceTwin.next(QueryCollection deviceTwinQueryCollection)
Returns the next DeviceTwinDevice collection for the given query alongside the continuation token needed for querying the next page.
|
QueryCollectionResponse<DeviceTwinDevice> |
DeviceTwin.next(QueryCollection deviceTwinQueryCollection,
QueryOptions options)
Returns the next DeviceTwinDevice collection for the given query alongside the continuation token needed for querying the next page.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DeviceTwin.getTwin(DeviceTwinDevice device)
This method retrieves device twin for the specified device.
|
void |
DeviceTwin.replaceDesiredProperties(DeviceTwinDevice device)
This method replaces desired properties for the specified device.
|
void |
DeviceTwin.replaceTags(DeviceTwinDevice device)
This method replaces tags for the specified device.
|
Job |
DeviceTwin.scheduleUpdateTwin(String queryCondition,
DeviceTwinDevice updateTwin,
Date startTimeUtc,
long maxExecutionTimeInSeconds)
Creates a new Job to update twin tags and desired properties on one or multiple devices
|
void |
DeviceTwin.updateDesiredProperties(DeviceTwinDevice device)
This method updates desired properties for the specified device.
|
void |
DeviceTwin.updateTwin(DeviceTwinDevice device)
This method updates device twin for the specified device.
|
| Modifier and Type | Method and Description |
|---|---|
DeviceTwinDevice |
JobResult.getUpdateTwin()
Getter for update twin json
|
| Modifier and Type | Method and Description |
|---|---|
JobResult |
JobClient.scheduleUpdateTwin(String jobId,
String queryCondition,
DeviceTwinDevice updateTwin,
Date startTimeUtc,
long maxExecutionTimeInSeconds)
Creates a new Job to update twin tags and desired properties on one or multiple devices
|
Copyright © 2017. All rights reserved.