16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_AVS_INCLUDE_AVSCOMMON_AVS_PLAYERACTIVITY_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_AVS_INCLUDE_AVSCOMMON_AVS_PLAYERACTIVITY_H_ 57 switch (playerActivity) {
67 return "BUFFER_UNDERRUN";
71 return "unknown PlayerActivity";
97 }
else if (
"PLAYING" == str) {
99 }
else if (
"STOPPED" == str) {
101 }
else if (
"PAUSED" == str) {
103 }
else if (
"BUFFER_UNDERRUN" == str) {
105 }
else if (
"FINISHED" == str) {
108 is.setstate(std::ios_base::failbit);
117 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_AVS_INCLUDE_AVSCOMMON_AVS_PLAYERACTIVITY_H_ Indicates that playback has finished.
::std::string string
Definition: gtest-port.h:1097
std::istream & operator>>(std::istream &is, PlayerActivity &value)
Definition: PlayerActivity.h:92
Indicates that a buffer underrun has occurred and the stream is buffering.
Initial state, prior to acting on the first Play directive.
Indicates that audio is currently playing.
Indicates that the audio stream has been paused.
std::string playerActivityToString(PlayerActivity playerActivity)
Definition: PlayerActivity.h:56
std::ostream & operator<<(std::ostream &stream, AlexaResponseType responseType)
Definition: AlexaResponseType.h:93
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
PlayerActivity
Identifies the player state.
Definition: PlayerActivity.h:27