16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_AVS_INCLUDE_AVSCOMMON_AVS_PLAYBEHAVIOR_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_AVS_INCLUDE_AVSCOMMON_AVS_PLAYBEHAVIOR_H_ 50 switch (playBehavior) {
56 return "REPLACE_ENQUEUED";
58 return "unknown PlayBehavior";
69 if (
nullptr == playBehavior) {
114 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_AVS_INCLUDE_AVSCOMMON_AVS_PLAYBEHAVIOR_H_ bool stringToPlayBehavior(const std::string &text, PlayBehavior *playBehavior)
Definition: PlayBehavior.h:68
PlayBehavior
Used to determine how a client must handle queueing and playback of a stream.
Definition: PlayBehavior.h:29
::std::string string
Definition: gtest-port.h:1097
std::string playBehaviorToString(PlayBehavior playBehavior)
Definition: PlayBehavior.h:49
bool Value(const T &value, M matcher)
Definition: gmock-matchers.h:4347
bool convertToValue(const rapidjson::Value &documentNode, PlayBehavior *playBehavior)
Definition: PlayBehavior.h:102
Replace all streams in the queue. This does not impact the currently playing stream.
std::ostream & operator<<(std::ostream &stream, AlexaResponseType responseType)
Definition: AlexaResponseType.h:93
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
bool convertToValue(const rapidjson::Value &documentNode, std::string *value)
Adds a stream to the end of the current queue.