NUGU SDK Linux  1.7.6
SpeakerInterface

Speaker capability interface. More...

+ Collaboration diagram for SpeakerInterface:

Classes

class  NuguCapability::ISpeakerHandler
 speaker handler interface More...
 
class  NuguCapability::ISpeakerListener
 speaker listener interface More...
 
class  NuguCapability::SpeakerInfo
 SpeakerInfo. More...
 

Macros

#define NUGU_SPEAKER_ALARM_STRING   NUGU_AUDIO_ATTRIBUTE_ALARM_DEFAULT_STRING
 
#define NUGU_SPEAKER_CALL_STRING   NUGU_AUDIO_ATTRIBUTE_CALL_DEFAULT_STRING
 
#define NUGU_SPEAKER_DEFAULT_STEP   10 /** @def Set speaker default volume step to 10 */
 
#define NUGU_SPEAKER_DEFAULT_VOLUME   50 /** @def Set speaker default volume to 50 */
 
#define NUGU_SPEAKER_MAX_VOLUME   100 /** @def Set speaker maximum volume to 100 */
 
#define NUGU_SPEAKER_MIN_VOLUME   0 /** @def Set speaker minimum volume to 0 */
 
#define NUGU_SPEAKER_MUSIC_STRING   NUGU_AUDIO_ATTRIBUTE_MUSIC_DEFAULT_STRING
 
#define NUGU_SPEAKER_NAVIGATION_STRING   NUGU_AUDIO_ATTRIBUTE_NAVIGATION_DEFAULT_STRING
 
#define NUGU_SPEAKER_NOTIFICATION_STRING   NUGU_AUDIO_ATTRIBUTE_NOTIFICATION_DEFAULT_STRING
 
#define NUGU_SPEAKER_NUGU_STRING   "NUGU"
 
#define NUGU_SPEAKER_RINGTONE_STRING   NUGU_AUDIO_ATTRIBUTE_RINGTONE_DEFAULT_STRING
 
#define NUGU_SPEAKER_SYSTEM_SOUND_STRING   NUGU_AUDIO_ATTRIBUTE_SYSTEM_SOUND_DEFAULT_STRING
 
#define NUGU_SPEAKER_UNABLE_CONTROL   -1 /** @def This property is set to be out of control. */
 
#define NUGU_SPEAKER_VOICE_COMMAND_STRING   NUGU_AUDIO_ATTRIBUTE_VOICE_COMMAND_DEFAULT_STRING
 

Enumerations

enum class  NuguCapability::SpeakerType {
  NUGU = 0 , MUSIC = NUGU_AUDIO_ATTRIBUTE_MUSIC , RINGTONE = NUGU_AUDIO_ATTRIBUTE_RINGTONE , CALL = NUGU_AUDIO_ATTRIBUTE_CALL ,
  NOTIFICATION = NUGU_AUDIO_ATTRIBUTE_NOTIFICATION , ALARM = NUGU_AUDIO_ATTRIBUTE_ALARM , VOICE_COMMAND = NUGU_AUDIO_ATTRIBUTE_VOICE_COMMAND , NAVIGATION = NUGU_AUDIO_ATTRIBUTE_NAVIGATION ,
  SYSTEM_SOUND = NUGU_AUDIO_ATTRIBUTE_SYSTEM_SOUND
}
 SpeakerType. More...
 

Detailed Description

Speaker capability interface.

Control the volumes for nugu, call, alarm and external.

Enumeration Type Documentation

◆ SpeakerType

SpeakerType.

Enumerator
NUGU 

General NUGU Speaker type: Music + Voice command

MUSIC 

Music type

RINGTONE 

Ringtone type

CALL 

Call type

NOTIFICATION 

Notification type

ALARM 

Alarm type

VOICE_COMMAND 

Voice Command type

NAVIGATION 

Navigation type

SYSTEM_SOUND 

System Sound type