com.avaya.deskphoneservices.device

## Interface AudioDeviceChangeListener

-     public interface AudioDeviceChangeListener

  Listener interface for users of `DefaultVantageAudioDeviceHandler` to be notified of potential audio device changes.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onAudioDeviceChanged(com.avaya.clientservices.media.AudioDevice activeAudioDevice, boolean unmuted)` Called whenever the currently active audio device may have changed.
    `void` | `onAudioDeviceListChanged(java.util.Collection<com.avaya.clientservices.media.AudioDevice> audioDevices)` Called whenever the collection of available audio devices may have changed.

- - ### Method Detail

    - #### onAudioDeviceChanged

          void onAudioDeviceChanged(@NonNull
                                    com.avaya.clientservices.media.AudioDevice activeAudioDevice,
                                    boolean unmuted)

      Called whenever the currently active audio device may have changed.
      Parameters:
        `activeAudioDevice` - The newly active audio device.
        `unmuted` - `true` if the audio was unmuted as a result of the change.

    - #### onAudioDeviceListChanged

          void onAudioDeviceListChanged(@NonNull
                                        java.util.Collection<com.avaya.clientservices.media.AudioDevice> audioDevices)

      Called whenever the collection of available audio devices may have changed.
      Parameters:
        `audioDevices` - The available audio devices.