DigitalTwins 接口

定义

An instance of this class provides access to all the operations defined in DigitalTwins.

public interface DigitalTwins

方法

getDigitalTwin(String id)

Gets a digital twin.

getDigitalTwinAsync(String id)

Gets a digital twin.

getDigitalTwinAsync(String id, final ServiceCallback<Object> serviceCallback)

Gets a digital twin.

getDigitalTwinWithServiceResponseAsync(String id)

Gets a digital twin.

invokeComponentCommand(String id, String componentPath, String commandName)

Invoke a digital twin command.

invokeComponentCommand(String id, String componentPath, String commandName, Object payload, Integer connectTimeoutInSeconds, Integer responseTimeoutInSeconds)

Invoke a digital twin command.

invokeComponentCommandAsync(String id, String componentPath, String commandName)

Invoke a digital twin command.

invokeComponentCommandAsync(String id, String componentPath, String commandName, final ServiceCallback<Object> serviceCallback)

Invoke a digital twin command.

invokeComponentCommandAsync(String id, String componentPath, String commandName, Object payload, Integer connectTimeoutInSeconds, Integer responseTimeoutInSeconds)

Invoke a digital twin command.

invokeComponentCommandAsync(String id, String componentPath, String commandName, Object payload, Integer connectTimeoutInSeconds, Integer responseTimeoutInSeconds, final ServiceCallback<Object> serviceCallback)

Invoke a digital twin command.

invokeComponentCommandWithServiceResponseAsync(String id, String componentPath, String commandName)

Invoke a digital twin command.

invokeComponentCommandWithServiceResponseAsync(String id, String componentPath, String commandName, Object payload, Integer connectTimeoutInSeconds, Integer responseTimeoutInSeconds)

Invoke a digital twin command.

invokeRootLevelCommand(String id, String commandName)

Invoke a digital twin root level command.

invokeRootLevelCommand(String id, String commandName, Object payload, Integer connectTimeoutInSeconds, Integer responseTimeoutInSeconds)

Invoke a digital twin root level command.

invokeRootLevelCommandAsync(String id, String commandName)

Invoke a digital twin root level command.

invokeRootLevelCommandAsync(String id, String commandName, final ServiceCallback<Object> serviceCallback)

Invoke a digital twin root level command.

invokeRootLevelCommandAsync(String id, String commandName, Object payload, Integer connectTimeoutInSeconds, Integer responseTimeoutInSeconds)

Invoke a digital twin root level command.

invokeRootLevelCommandAsync(String id, String commandName, Object payload, Integer connectTimeoutInSeconds, Integer responseTimeoutInSeconds, final ServiceCallback<Object> serviceCallback)

Invoke a digital twin root level command.

invokeRootLevelCommandWithServiceResponseAsync(String id, String commandName)

Invoke a digital twin root level command.

invokeRootLevelCommandWithServiceResponseAsync(String id, String commandName, Object payload, Integer connectTimeoutInSeconds, Integer responseTimeoutInSeconds)

Invoke a digital twin root level command.

updateDigitalTwin(String id, List<Object> digitalTwinPatch)

Updates a digital twin.

updateDigitalTwin(String id, List<Object> digitalTwinPatch, String ifMatch)

Updates a digital twin.

updateDigitalTwinAsync(String id, List<Object> digitalTwinPatch)

Updates a digital twin.

updateDigitalTwinAsync(String id, List<Object> digitalTwinPatch, final ServiceCallback<Void> serviceCallback)

Updates a digital twin.

updateDigitalTwinAsync(String id, List<Object> digitalTwinPatch, String ifMatch)

Updates a digital twin.

updateDigitalTwinAsync(String id, List<Object> digitalTwinPatch, String ifMatch, final ServiceCallback<Void> serviceCallback)

Updates a digital twin.

updateDigitalTwinWithServiceResponseAsync(String id, List<Object> digitalTwinPatch)

Updates a digital twin.

updateDigitalTwinWithServiceResponseAsync(String id, List<Object> digitalTwinPatch, String ifMatch)

Updates a digital twin.

适用于