16 #ifndef AACE_ALEXA_ALEXA_ENGINE_INTERFACES_H    17 #define AACE_ALEXA_ALEXA_ENGINE_INTERFACES_H    52     virtual void onLocalSetVolume(
SpeakerType type, int8_t volume) = 0;
    53     virtual void onLocalAdjustVolume(
SpeakerType type, int8_t delta) = 0;
    54     virtual void onLocalSetMute(
SpeakerType type, 
bool mute) = 0;
    60             stream << 
"ALEXA_VOLUME";
    63             stream << 
"ALERTS_VOLUME";
    96     static constexpr uint64_t UNSPECIFIED_INDEX = std::numeric_limits<uint64_t>::max();
    98     virtual bool onStartCapture(
   100         uint64_t keywordBegin,
   102         const std::string& keyword) = 0;
   103     virtual bool onStopCapture() = 0;
   104     virtual bool enableWakewordDetection() = 0;
   105     virtual bool disableWakewordDetection() = 0;
   111             stream << 
"HOLD_TO_TALK";
   114             stream << 
"TAP_TO_TALK";
   117             stream << 
"WAKEWORD";
   128     virtual void onLocalStop() = 0;
   129     virtual void removeAllAlerts() = 0;
   194     virtual void onTogglePressed(
PlaybackToggle toggle, 
bool action) = 0;
   246         AUTHORIZATION_FAILED,
   271         AUTHORIZATION_EXPIRED,
   276         UNSUPPORTED_GRANT_TYPE,
   286         AUTHORIZATION_PENDING,
   301         INVALID_CBL_CLIENT_ID
   310             stream << 
"UNINITIALIZED";
   313             stream << 
"REFRESHED";
   319             stream << 
"UNRECOVERABLE_ERROR";
   328             stream << 
"NO_ERROR";
   331             stream << 
"UNKNOWN_ERROR";
   334             stream << 
"AUTHORIZATION_FAILED";
   337             stream << 
"UNAUTHORIZED_CLIENT";
   340             stream << 
"SERVER_ERROR";
   343             stream << 
"INVALID_REQUEST";
   346             stream << 
"INVALID_VALUE";
   349             stream << 
"AUTHORIZATION_EXPIRED";
   352             stream << 
"UNSUPPORTED_GRANT_TYPE";
   355             stream << 
"INVALID_CODE_PAIR";
   358             stream << 
"AUTHORIZATION_PENDING";
   361             stream << 
"SLOW_DOWN";
   364             stream << 
"INTERNAL_ERROR";
   367             stream << 
"INVALID_CBL_CLIENT_ID";
   401     virtual void onReportDiscoveredPlayers(
const std::vector<DiscoveredPlayerInfo>& discoveredPlayers) = 0;
   402     virtual void onRequestToken(
const std::string& localPlayerId) = 0;
   403     virtual void onLoginComplete(
const std::string& localPlayerId) = 0;
   404     virtual void onLogoutComplete(
const std::string& localPlayerId) = 0;
   405     virtual void onPlayerEvent(
const std::string& localPlayerId, 
const std::string& eventName) = 0;
   406     virtual void onPlayerError(
   407         const std::string& localPlayerId,
   408         const std::string& errorName,
   410         const std::string& description,
   412     virtual void onSetFocus(
const std::string& playerId) = 0;
   413     virtual void onRemoveDiscoveredPlayer(
const std::string& localPlayerId) = 0;
   421     virtual void onPlayerEvent(
const std::string& eventName) = 0;
   422     virtual void onPlayerError(
const std::string& errorName, 
long code, 
const std::string& description, 
bool fatal) = 0;
   423     virtual void onSetFocus(
bool focusAcquire = 
true) = 0;
   438     virtual bool onDoNotDisturbChanged(
const bool doNotDisturb) = 0;
   471     virtual void onLocalSetBandLevels(
const std::vector<EqualizerBandLevel>& bandLevels) = 0;
   482     virtual void onLocalAdjustBandLevels(
const std::vector<EqualizerBandLevel>& bandAdjustments) = 0;
   490     virtual void onLocalResetBands(
const std::vector<EqualizerBand>& bands) = 0;
   536     virtual int64_t onGetPlayerPosition() = 0;
   544     virtual int64_t onGetPlayerDuration() = 0;
   556     virtual void onDisplayCardCleared() = 0;
   564     virtual void onStopForegroundActivity() = 0;
   570 #endif  // AACE_ALEXA_ALEXA_ENGINE_INTERFACES_H Definition: AlexaEngineInterfaces.h:429
Definition: AlexaEngineInterfaces.h:562
AuthState
Definition: AlexaEngineInterfaces.h:205
Definition: AlexaEngineInterfaces.h:72
Definition: AlexaEngineInterfaces.h:444
Definition: AlexaEngineInterfaces.h:126
AuthError
Definition: AlexaEngineInterfaces.h:231
PlaybackButton
Definition: AlexaEngineInterfaces.h:140
Definition: AlexaEngineInterfaces.h:526
std::string equalizerBandToString(const EqualizerControllerEngineInterface::EqualizerBand &band)
Definition: AlexaEngineInterfaces.h:499
Definition: AddressBook.h:26
Definition: AlexaEngineInterfaces.h:135
std::pair< EqualizerBand, int > EqualizerBandLevel
Definition: AlexaEngineInterfaces.h:462
Mid-range equalizer band. 
PlaybackToggle
Definition: AlexaEngineInterfaces.h:170
Definition: AlexaEngineInterfaces.h:550
Definition: AlexaEngineInterfaces.h:200
SpeakerType
Definition: AlexaEngineInterfaces.h:39
Initiator
Definition: AlexaEngineInterfaces.h:77
Definition: AlexaEngineInterfaces.h:34
EqualizerBand
Definition: AlexaEngineInterfaces.h:449