Meeting SDK for Linux API Reference
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IAudioSettingContextEvent Class Referenceabstract

Audio setting context callback event. More...

#include <setting_service_interface.h>

Public Member Functions

virtual ~IAudioSettingContextEvent ()
 
virtual void onComputerMicDeviceChanged (IList< IMicInfo * > *pNewMicList)=0
 Callback event if the SDK detects that the computer mic devices have been changed.
 
virtual void onComputerSpeakerDeviceChanged (IList< ISpeakerInfo * > *pNewSpeakerList)=0
 Callback event if the SDK detects that the computer speaker devices have been changed.
 
virtual void onDefaultMicDeviceChanged (const zchar_t *deviceId, const zchar_t *deviceName)=0
 Notify the user that a microphone device is selected.
 
virtual void onDefaultSpeakerDeviceChanged (const zchar_t *deviceId, const zchar_t *deviceName)=0
 Notify the user that a speaker device is selected.
 

Detailed Description

Audio setting context callback event.

Definition at line 986 of file setting_service_interface.h.

Constructor & Destructor Documentation

◆ ~IAudioSettingContextEvent()

virtual IAudioSettingContextEvent::~IAudioSettingContextEvent ( )
inlinevirtual

Definition at line 989 of file setting_service_interface.h.

989{}

Member Function Documentation

◆ onComputerMicDeviceChanged()

virtual void IAudioSettingContextEvent::onComputerMicDeviceChanged ( IList< IMicInfo * > * pNewMicList)
pure virtual

Callback event if the SDK detects that the computer mic devices have been changed.

Parameters
pNewMicListThe new list of all mic devices plugged into the computer.

◆ onComputerSpeakerDeviceChanged()

virtual void IAudioSettingContextEvent::onComputerSpeakerDeviceChanged ( IList< ISpeakerInfo * > * pNewSpeakerList)
pure virtual

Callback event if the SDK detects that the computer speaker devices have been changed.

Parameters
pNewSpeakerListThe new list of all speaker devices plugged into the computer.

◆ onDefaultMicDeviceChanged()

virtual void IAudioSettingContextEvent::onDefaultMicDeviceChanged ( const zchar_t * deviceId,
const zchar_t * deviceName )
pure virtual

Notify the user that a microphone device is selected.

Parameters
deviceIdSpecify a device to be selected.
deviceNameSpecify the device name assigned by deviceId.

◆ onDefaultSpeakerDeviceChanged()

virtual void IAudioSettingContextEvent::onDefaultSpeakerDeviceChanged ( const zchar_t * deviceId,
const zchar_t * deviceName )
pure virtual

Notify the user that a speaker device is selected.

Parameters
deviceIdSpecify a device to be selected.
deviceNameSpecify the device name assigned by deviceId.