AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Macros | Enumerations | Functions
PlaybackButtons.h File Reference
#include <iostream>
Include dependency graph for PlaybackButtons.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  std::hash< alexaClientSDK::avsCommon::avs::PlaybackButton >
 
struct  std::hash< alexaClientSDK::avsCommon::avs::PlaybackToggle >
 

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::avsCommon
 
 alexaClientSDK::avsCommon::avs
 
 std
 

Macros

#define ACSDK_PLAYBACK_BUTTON_TO_STRING(button)
 
#define ACSDK_PLAYBACK_TOGGLE_TO_STRING(toggle)
 

Enumerations

enum  alexaClientSDK::avsCommon::avs::PlaybackButton {
  alexaClientSDK::avsCommon::avs::PlaybackButton::PLAY, alexaClientSDK::avsCommon::avs::PlaybackButton::PAUSE, alexaClientSDK::avsCommon::avs::PlaybackButton::NEXT, alexaClientSDK::avsCommon::avs::PlaybackButton::PREVIOUS,
  alexaClientSDK::avsCommon::avs::PlaybackButton::SKIP_FORWARD, alexaClientSDK::avsCommon::avs::PlaybackButton::SKIP_BACKWARD
}
 Enumeration class for supported playback buttons. More...
 
enum  alexaClientSDK::avsCommon::avs::PlaybackToggle {
  alexaClientSDK::avsCommon::avs::PlaybackToggle::SHUFFLE, alexaClientSDK::avsCommon::avs::PlaybackToggle::LOOP, alexaClientSDK::avsCommon::avs::PlaybackToggle::REPEAT, alexaClientSDK::avsCommon::avs::PlaybackToggle::THUMBS_UP,
  alexaClientSDK::avsCommon::avs::PlaybackToggle::THUMBS_DOWN
}
 

Functions

std::string alexaClientSDK::avsCommon::avs::PlaybackButtonToString (PlaybackButton button)
 
std::string alexaClientSDK::avsCommon::avs::PlaybackToggleToString (PlaybackToggle toggle)
 
std::ostream & alexaClientSDK::avsCommon::avs::operator<< (std::ostream &stream, const PlaybackButton &button)
 
std::ostream & alexaClientSDK::avsCommon::avs::operator<< (std::ostream &stream, const PlaybackToggle &toggle)
 

Macro Definition Documentation

◆ ACSDK_PLAYBACK_BUTTON_TO_STRING

#define ACSDK_PLAYBACK_BUTTON_TO_STRING (   button)
Value:
case PlaybackButton::button: { \
return stream << #button; \
}

A macro to be used in operator << overload function to help with the translation of Button to string.

Parameters
buttonThe Button that needs to be translated.

◆ ACSDK_PLAYBACK_TOGGLE_TO_STRING

#define ACSDK_PLAYBACK_TOGGLE_TO_STRING (   toggle)
Value:
case PlaybackToggle::toggle: { \
return stream << #toggle; \
}

A macro to be used in operator << overload function to help with the translation of Toggle to string.

Parameters
toggleThe Toggle that needs to be translated.

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0