sendRequestWithNoPayload
fun sendRequestWithNoPayload( json: Json, messageId: String, topic: String, action: String)
Content copied to clipboard
Sends an AASB request to AACS that does not require a payload. A request is a message from the client to Alexa which is not a reply to a previously sent message from Alexa. A request may or may not have a reply.
The AASB message specification is available in the Alexa Auto AASB specification documentation page.
Parameters
json
The Json instance that should be used to encode the request.
messageId
The ID of the request. This allows the client to identify the reply to this request from Alexa, if this request results in a reply.
topic
The topic of the message as described in the AASB documentation.
action
The action value of the reply as described in the AASB documentation.