TwinParser 构造函数

定义

重载

TwinParser()

CONSTRUCTOR Create a TwinParser instance with default values. set OnDesiredCallback as null set OnReportedCallback as null set Tags as null

TwinParser(TwinChangedCallback onDesiredCallback)

CONSTRUCTOR Create a TwinParser instance with default values. set OnReportedCallback as null set Tags as null

TwinParser(TwinChangedCallback onDesiredCallback, TwinChangedCallback onReportedCallback)

CONSTRUCTOR Create a TwinParser instance with default values. set Tags as null

TwinParser()

CONSTRUCTOR Create a TwinParser instance with default values. set OnDesiredCallback as null set OnReportedCallback as null set Tags as null

public TwinParser()

TwinParser(TwinChangedCallback onDesiredCallback)

CONSTRUCTOR Create a TwinParser instance with default values. set OnReportedCallback as null set Tags as null

public TwinParser(TwinChangedCallback onDesiredCallback)

参数

onDesiredCallback
TwinChangedCallback

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

TwinParser(TwinChangedCallback onDesiredCallback, TwinChangedCallback onReportedCallback)

CONSTRUCTOR Create a TwinParser instance with default values. set Tags as null

public TwinParser(TwinChangedCallback onDesiredCallback, TwinChangedCallback onReportedCallback)

参数

onDesiredCallback
TwinChangedCallback

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

onReportedCallback
TwinChangedCallback

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

适用于