All Classes

com.voximplant.sdk.hardware

Interface IAudioDeviceEventsListener



  • public interface IAudioDeviceEventsListener
    Interface that may be used to monitor and handle audio device change events
    • Method Detail

      • onAudioDeviceChanged

        void onAudioDeviceChanged(AudioDevice currentAudioDevice)
        Evtnt is triggered when active audio device or audio device that will be used for a further call is changed. If the event is triggered during the call, currentAudioDevice is the audio device that is currently used. If the event is triggered when there is no call, currentAudioDevice is the audio device that will be used for the next call.
        Parameters:
        currentAudioDevice - Audio device to be used
        Since:
        2.3.4
      • onAudioDeviceListChanged

        void onAudioDeviceListChanged(java.util.List<AudioDevice> newDeviceList)
        Event is triggered when a new audio device is connected or previously connected audio device is disconnected.
        Parameters:
        newDeviceList - List of currently available audio devices.
        Since:
        2.3.4