Package-level declarations
This package contains classes and functions which are intended for use by services or frontends that interact with the Alexa Voice Personal Assistant (VPA).
More specifically, the AacsSenderWrapper class and the utility functions in AlexaMessageData
, such as parseAasbMessage or createAasbReplyHeader, should be used when implementing a com.tomtom.ivi.platform.alexa.api.service.alexahandler.AlexaHandlerService.
Types
A class that is used to send Alexa Auto Services Bridge (AASB) messages to the Alexa Auto Client Service (AACS). A service implementing the AlexaHandlerService
should use this class to send requests/replies to the AACS.
A class representing a basic AASB message with no custom payload. The classes mirror the JSON messages as described in the Alexa Auto AASB specification.
A class representing the header
field of a generic AASB message, as described in the Alexa Auto AASB specification.
A class representing the messageDescription
field of the header of a generic AASB message, as described in the Alexa Auto AASB specification.
Annotation used to mark JSON fields that we allow to be null
or missing, but for which we want to print a warning when that's the case.
Properties
Functions
Create an AASB reply header object. A reply is the response to a previously received message.
Create an AASB request header object. 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.
Creates an object to represent a request from the client to Alexa, 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.
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.
Returns this string with the Alexa Auto Service Broker (AASB) prefix, resulting in the fully-qualified name of the Intent action or category.
Returns this string without the Alexa Auto Service Broker (AASB) prefix, or null
if such a prefix was not found.