Alexa Auto SDK  4.3
Public Member Functions | List of all members
aace::aasb::AASB Class Referenceabstract

Public Member Functions

virtual void messageReceived (const std::string &message)=0
 
void publish (const std::string &message)
 
std::shared_ptr< AASBStream > openStream (const std::string &streamId, AASBStream::Mode mode)
 

Detailed Description

Deprecated:
This platform interface is deprecated. Use the Alexa Auto Services Bridge (AASB) MessageBroker to publish and subscribe to AASB messages instead.
See also
aace::core::MessageBroker

AASB should be extended to handle sending and receiving AASB messages to and from the Engine.

Member Function Documentation

◆ messageReceived()

virtual void aace::aasb::AASB::messageReceived ( const std::string &  message)
pure virtual

Notifies the platform implementation that an AASB message has been received from the Engine.

Parameters
[in]topicThe AASB message topic.
[in]topicThe AASB message action.
[in]messageIdThe unique id for this AASB message.
[in]payloadThe AASB message payload.

◆ publish()

void aace::aasb::AASB::publish ( const std::string &  message)

Publishes an AASB message to the Engine.

Parameters
[in]messageThe AASB message.

◆ openStream()

std::shared_ptr< AASBStream > aace::aasb::AASB::openStream ( const std::string &  streamId,
AASBStream::Mode  mode 
)

Opens an AASB stream that has been registered by the Engine.

Parameters
[in]streamIdThe id of the stream being opened.
[in]modeThe stream operation @ mode being requested.

Alexa Auto SDK 4.3 - Copyright 2017-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0