parseAasbMessage

inline fun <T : Any> parseAasbMessage(json: Json, jsonMessage: String): T?

Parses an AASB (Alexa Auto Services Bridge) message. These are messages sent via Intents from the Alexa Auto Client Service (AACS). A service implementing the AlexaHandlerService should use this method to parse AASB messages.

More information about the AACS is available on the Alexa Auto Client Service (AACS) documentation page.

The AASB message specification is available on the Alexa Auto AASB specification documentation page.

Parameters

json

A Json instance that will be used to parse the jsonMessage.

jsonMessage

The JSON message to be parsed.