DeviceTwin.getTwin(DeviceTwinDevice device) Method

Definition

This method retrieves device twin for the specified device.

public void getTwin(DeviceTwinDevice device)

Parameters

device
DeviceTwinDevice

The device with a valid id for which device twin is to be retrieved.

Exceptions

This exception is thrown if the IO operation failed.

java.io.IOException

This exception is thrown if the IO operation failed.

Applies to