NUGU SDK Linux  1.7.6
NuguCapability::ISpeakerListener Class Referenceabstract

speaker listener interface More...

#include <speaker_interface.hh>

+ Inheritance diagram for NuguCapability::ISpeakerListener:
+ Collaboration diagram for NuguCapability::ISpeakerListener:

Public Member Functions

virtual void requestSetMute (const std::string &ps_id, SpeakerType type, bool mute)=0
 The SDK requests the mute setting received from the server. More...
 
virtual void requestSetVolume (const std::string &ps_id, SpeakerType type, int volume, bool linear)=0
 The SDK requests the volume setting received from the server. More...
 
- Public Member Functions inherited from NuguClientKit::ICapabilityListener
virtual ICapabilityInterfacegetCapabilityHandler ()
 Get capability interface object. More...
 
virtual void setCapabilityHandler (ICapabilityInterface *handler)
 Set capability interface object. More...
 

Detailed Description

speaker listener interface

See also
ISpeakerHandler

Member Function Documentation

◆ 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_idplay service id
[in]typespeaker type
[in]volumevolume level
[in]linearchange 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_idplay service id
[in]typespeaker type
[in]mutevolume mute
See also
sendEventMuteChanged()

The documentation for this class was generated from the following file: