16 #ifndef ACSDKAUDIOPLAYER_CLEARBEHAVIOR_H_ 17 #define ACSDKAUDIOPLAYER_CLEARBEHAVIOR_H_ 25 namespace acsdkAudioPlayer {
43 switch (clearBehavior) {
45 return "CLEAR_ENQUEUED";
49 return "unknown ClearBehavior";
60 if (
nullptr == clearBehavior) {
101 #endif // ACSDKAUDIOPLAYER_CLEARBEHAVIOR_H_ std::string clearBehaviorToString(ClearBehavior clearBehavior)
Definition: ClearBehavior.h:42
bool convertToValue(const rapidjson::Value &documentNode, ClearBehavior *clearBehavior)
Definition: ClearBehavior.h:90
::std::string string
Definition: gtest-port.h:1097
bool stringToClearBehavior(const std::string &text, ClearBehavior *clearBehavior)
Definition: ClearBehavior.h:59
std::ostream & operator<<(std::ostream &stream, const ClearBehavior &clearBehavior)
Definition: ClearBehavior.h:79
ClearBehavior
Used to determine clear queue behavior.
Definition: ClearBehavior.h:28
bool Value(const T &value, M matcher)
Definition: gmock-matchers.h:4347
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
bool convertToValue(const rapidjson::Value &documentNode, std::string *value)
Clears the queue and continues to play the currently playing stream.
Clears the entire playback queue and stops the currently playing stream (if applicable).