|
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) |
|
- 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.
◆ 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] | topic | The AASB message topic. |
[in] | topic | The AASB message action. |
[in] | messageId | The unique id for this AASB message. |
[in] | payload | The AASB message payload. |
◆ publish()
void aace::aasb::AASB::publish |
( |
const std::string & |
message | ) |
|
Publishes an AASB message to the Engine.
- Parameters
-
[in] | message | The 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] | streamId | The id of the stream being opened. |
[in] | mode | The 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