#include <NGIAgoraAudioDeviceManager.h>
◆ onDeviceStateChanged()
virtual void agora::rtc::IAudioDeviceManagerObserver::onDeviceStateChanged |
( |
| ) |
|
|
pure virtual |
Occurs when the device state changes, for example, when a device is added or removed.
To get the current information of the connected audio devices, call getNumberOfPlayoutDevices.
◆ onRoutingChanged()
virtual void agora::rtc::IAudioDeviceManagerObserver::onRoutingChanged |
( |
AudioRoute |
route | ) |
|
|
pure virtual |
Occurs when the audio route changes.
- Parameters
-
route | The current audio route. See #AudioRoute. |