16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_MESSAGEREQUESTOBSERVERINTERFACE_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_MESSAGEREQUESTOBSERVERINTERFACE_H_ 23 namespace sdkInterfaces {
118 return stream <<
"PENDING";
120 return stream <<
"SUCCESS";
122 return stream <<
"SUCCESS_ACCEPTED";
124 return stream <<
"SUCCESS_NO_CONTENT";
126 return stream <<
"NOT_CONNECTED";
128 return stream <<
"NOT_SYNCHRONIZED";
130 return stream <<
"TIMEDOUT";
132 return stream <<
"PROTOCOL_ERROR";
134 return stream <<
"INTERNAL_ERROR";
136 return stream <<
"SERVER_INTERNAL_ERROR_V2";
138 return stream <<
"REFUSED";
140 return stream <<
"CANCELED";
142 return stream <<
"THROTTLED";
144 return stream <<
"INVALID_AUTH";
146 return stream <<
"CLIENT_ERROR_BAD_REQUEST";
148 return stream <<
"SERVER_OTHER_ERROR";
150 return stream <<
"Unknown MessageRequestObserverInterface::Status";
157 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_MESSAGEREQUESTOBSERVERINTERFACE_H_ The message has not yet been processed for sending.
The send failed because AVS was not connected.
virtual void onResponseStatusReceived(MessageRequestObserverInterface::Status status)
Definition: MessageRequestObserverInterface.h:93
The send failed due to an internal error on the server which sends code 500.
std::ostream & operator<<(std::ostream &stream, const AudioInputProcessorObserverInterface::State &state)
Definition: AudioInputProcessorObserverInterface.h:94
The send failed due to an internal error within ACL.
virtual void onSendCompleted(MessageRequestObserverInterface::Status status)=0
The send failed due to excessive load on the server.
::std::string string
Definition: gtest-port.h:1097
The send failed due to server refusing the request.
The message was successfully sent.
The send failed due to unknown server error.
The send failed because AVS is not synchronized.
Definition: MessageRequestObserverInterface.h:28
The send failed due to server canceling it before the transmission completed.
The send failed due to an underlying protocol error.
The message was accepted by the server.
virtual ~MessageRequestObserverInterface()=default
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
virtual void onExceptionReceived(const std::string &exceptionMessage)=0
The message was successfully sent but the HTTPReponse had no content.
The access credentials provided to ACL were invalid.
Status
Definition: MessageRequestObserverInterface.h:33
The send failed due to invalid request sent by the user.
The send failed because of timeout waiting for AVS response.