TwinParser.setDesiredCallback(TwinChangedCallback onDesiredCallback) 方法

定义

Set the callback function to report changes on the `Desired` collection when `TwinParser` receives a new json.

public void setDesiredCallback(TwinChangedCallback onDesiredCallback)

参数

onDesiredCallback
TwinChangedCallback

- Callback function to report changes on the `Desired` collection.

适用于