DeviceClientConfig.setDeviceTwinMessageCallback(MessageCallback callback, Object context) 方法

public void setDeviceTwinMessageCallback(MessageCallback callback, Object context)

Setter for the device twin message callback.

参数

callback
MessageCallback

callback to be invoked for device twin messages.

context
Object

is the context for the callback.

适用于