16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_ALEXAINTERFACEMESSAGESENDERINTERFACE_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_ALEXAINTERFACEMESSAGESENDERINTERFACE_H_ 26 namespace sdkInterfaces {
105 ACTION_NOT_PERMITTED_FOR_CONTENT,
108 CONFIRMATION_REQUIRED,
111 CONTENT_NOT_RECORDABLE,
126 TITLE_DISAMBIGUATION_REQUIRED,
226 const int estimatedDeferralInSeconds = 0) = 0;
249 switch (responseType) {
251 return "ACTION_NOT_PERMITTED_FOR_CONTENT";
253 return "CONFIRMATION_REQUIRED";
255 return "CONTENT_NOT_RECORDABLE";
257 return "NOT_SUBSCRIBED";
259 return "RECORDING_EXISTS";
261 return "STORAGE_FULL";
263 return "TITLE_DISAMBIGUATION_REQUIRED";
265 return "TUNER_OCCUPIED";
274 switch (responseType) {
319 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_ALEXAINTERFACEMESSAGESENDERINTERFACE_H_
The endpoint does not exist, or no longer exists.
The endpoint can't handle the directive because it is in a calibration phase, such as warming up...
virtual bool sendDeferredResponseEvent(const std::string &instance, const std::string &correlationToken, const int estimatedDeferralInSeconds=0)=0
ErrorResponseType
Definition: AlexaInterfaceMessageSenderInterface.h:35
Indicates an invalid error type.
The caller does not have the permission to perform specified operation on endpoint.
AlexaResponseType
Definition: AlexaResponseType.h:30
::std::string string
Definition: gtest-port.h:1097
The endpoint is unreachable or offline.
The endpoint can't handle the directive because it's firmware is out of date.
The endpoint can't handle the directive because it has experienced a hardware malfunction.
AlexaVideoErrorResponseType
Definition: AlexaInterfaceMessageSenderInterface.h:102
virtual ~AlexaInterfaceMessageSenderInterface()=default
The operation can't be performed because the endpoint is already in operation.
An error occurred that can't be described by one of the other error types.
static ErrorResponseType alexaResponseTypeToErrorType(const avsCommon::avs::AlexaResponseType responseType)
Definition: AlexaInterfaceMessageSenderInterface.h:273
Indicates the record operation failed due to restrictions on the content.
Indicates an additional confirmation must occur before the requested action can be completed...
The endpoint can't handle the directive because it is performing another action.
The endpoint is not in operation.
The endpoint can't be set to the specified value because it's outside the acceptable range...
Endpoint already in operation.
Invalid value or unsupported value passed.
The endpoint was busy and could not perform the requested operation.
The endpoint can't be set to the specified value because it's outside the acceptable temperature rang...
The user is not subscribed to the content for a channel or other subscription-based content...
The endpoint can't handle the directive because the battery power is too low.
The bridge is unreachable or offline.
The endpoint can't handle the requested operation because it is in a calibration phase, such as warming up.
Indicates that a recording request failed because the recording already exists.
virtual bool sendErrorResponseEvent(const std::string &instance, const std::string &correlationToken, const avsCommon::avs::AVSMessageEndpoint &endpoint, const ErrorResponseType errorType, const std::string &errorMessage="")=0
static std::string alexaVideoErrorResponseToString(AlexaVideoErrorResponseType responseType)
Definition: AlexaInterfaceMessageSenderInterface.h:247
The directive is not supported or is malformed.
Indicates that a recording request failed because the DVR storage is full.
AVS does not have permissions to perform the specified action on the endpoint.
The endpoint can't handle the directive because it doesn't support the requested power level...
The endpoint could not perform the requested operation as its battery was low.
The bridge is unreachable or offline.
An error occurred that can't be described by one of the other error types.
The maximum rate at which an endpoint or bridge can process directives has been exceeded.
The authorization credential provided by Alexa is invalid.
Definition: AVSMessageEndpoint.h:32
The maximum rate at which an endpoint or bridge can handle the requests has been exceeded.
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
The endpoint is not in operation.
The endpoint was busy and could not perform because it has experienced a hardware malfunction...
Indicates that a recording request failed because of a scheduling conflict with another recording...
The endpoint can't be set to the specified value because it's outside the acceptable temperature rang...
The endpoint can't be set to the specified value because of its current mode of operation.
The directive contains a value that is not valid for the target endpoint.
The endpoint can't be set to the specified value because it's outside the acceptable range...
Definition: AlexaInterfaceMessageSenderInterface.h:31
The endpoint can't be set to the specified value because of its current mode of operation.
The authorization credential provided by Alexa has expired.
The endpoint is unreachable or offline.
The endpoint was busy and could not perform because its firmware is out of date.
virtual bool sendResponseEvent(const std::string &instance, const std::string &correlationToken, const avsCommon::avs::AVSMessageEndpoint &endpoint, const std::string &jsonPayload="{}")=0