![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <MessageInterface.h>
Public Member Functions | |
MessageInterface (const int version, const std::string &nameSpace, const std::string &name) | |
virtual std::string | get ()=0 |
virtual rapidjson::Value && | getValue ()=0 |
Protected Attributes | |
rapidjson::Document | mDocument |
rapidjson::Value | mPayload |
An interface for rapidjson::Document based messages.
All messages have the format: { header : { version, namespace, name } payload : {} }
|
inline |
Constructor
version | The version for this message |
nameSpace | The namespace for this message |
name | The type from this message |
|
pure virtual |
Retrieves the json string representing this message
Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::messages::Message.
|
pure virtual |
Retrieves the rapidjson::Value
object representation of this message
rapidjson::Value
object representation of message Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::messages::Message.
|
protected |
|
protected |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0