add support and examples for deferred state report responses
This commit is contained in:
parent
f4d07b589c
commit
61b032c889
8 changed files with 147 additions and 25 deletions
4
dist/Device.js
vendored
4
dist/Device.js
vendored
|
|
@ -40,8 +40,8 @@ class Device extends events_1.EventEmitter {
|
|||
getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
getStatusMessage(correlationToken, isResponse = false) {
|
||||
return new AlexaStatusMessage_1.AlexaStatusMessage(correlationToken, this.rootTopic, this.endpointId, this.mqttClient, isResponse);
|
||||
getStatusMessage(correlationToken, isResponse = false, isDeferred = false) {
|
||||
return new AlexaStatusMessage_1.AlexaStatusMessage(correlationToken, this.rootTopic, this.endpointId, this.mqttClient, isResponse, isDeferred);
|
||||
}
|
||||
setManufacturerName(name) {
|
||||
this.manufacturerName = name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue