 |
AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Go to the documentation of this file.
16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_SPEAKERINTERFACE_H_
17 #define ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_SPEAKERINTERFACE_H_
23 namespace sdkInterfaces {
61 virtual bool setVolume(int8_t volume) = 0;
69 virtual bool setMute(
bool mute) = 0;
88 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_SPEAKERINTERFACE_H_
virtual bool setVolume(int8_t volume)=0
virtual ~SpeakerInterface()=default
Definition: SpeakerInterface.h:42
bool mute
True means muted, false means unmuted.
Definition: SpeakerInterface.h:46
virtual bool getSpeakerSettings(SpeakerSettings *settings)=0
virtual bool setMute(bool mute)=0
int8_t volume
Must be within [AVS_SET_VOLUME_MIN, AVS_SET_VOLUME_MAX].
Definition: SpeakerInterface.h:44
Definition: SpeakerInterface.h:33
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
bool operator==(const SpeakerSettings &rhs) const
Operator overload to compare two SpeakerSettings objects.
Definition: SpeakerInterface.h:48
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0