speaker listener interface
More...
#include <speaker_interface.hh>
speaker listener interface
- See also
- ISpeakerHandler
◆ requestSetVolume()
virtual void NuguCapability::ISpeakerListener::requestSetVolume |
( |
const std::string & |
ps_id, |
|
|
SpeakerType |
type, |
|
|
int |
volume, |
|
|
bool |
linear |
|
) |
| |
|
pure virtual |
The SDK requests the volume setting received from the server.
- Parameters
-
[in] | ps_id | play service id |
[in] | type | speaker type |
[in] | volume | volume level |
[in] | linear | change volume method. if linear is true volume is changed gradually, otherwise immediately |
- See also
- sendEventVolumeChanged()
◆ requestSetMute()
virtual void NuguCapability::ISpeakerListener::requestSetMute |
( |
const std::string & |
ps_id, |
|
|
SpeakerType |
type, |
|
|
bool |
mute |
|
) |
| |
|
pure virtual |
The SDK requests the mute setting received from the server.
- Parameters
-
[in] | ps_id | play service id |
[in] | type | speaker type |
[in] | mute | volume mute |
- See also
- sendEventMuteChanged()
The documentation for this class was generated from the following file: