AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <AlexaPlaybackControllerInterface.h>
Public Types | |
enum | Type { Type::SUCCESS, Type::PLAYBACK_OPERATION_NOT_SUPPORTED, Type::NO_CONTENT_AVAILABLE, Type::NOT_SUPPORTED_IN_CURRENT_MODE, Type::INTERNAL_ERROR } |
Public Member Functions | |
Response () | |
Response (Type responseType, const std::string &errorMessage) | |
Public Attributes | |
Type | responseType |
The AlexaPlaybackController response type. More... | |
std::string | errorMessage |
Struct for holding AlexaPlaybackController response for AlexaPlaybackController interface
responseType
should be SUCCESS
if there are no errors while executing playback controller operation. Otherwise, it should return the corresponding error response along with a log message errorMessage
that would be logged in the cloud, for the purposes of aiding debugging.
|
strong |
Enum for the different error types understood by the AlexaPlaybackController capability agent.
|
inline |
Default Constructor. Initializes the response value to 'SUCCESS' by default.
|
inline |
Constructor
responseType | The response type Type |
errorMessage | The error message if responseType is other than SUCCESS. |
std::string alexaClientSDK::acsdkAlexaPlaybackControllerInterfaces::AlexaPlaybackControllerInterface::Response::errorMessage |
The error message for logging if the responseType
is any other than SUCCESS, for the purposes of aiding debugging.
Type alexaClientSDK::acsdkAlexaPlaybackControllerInterfaces::AlexaPlaybackControllerInterface::Response::responseType |
The AlexaPlaybackController response type.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0