Skip to content

ActiveAudioDeviceChangedEvent

Lejla Solak edited this page Jun 7, 2023 · 1 revision



getActiveAudioDevice()

Description

Getter for the activeAudioDevice field.

Arguments

  • none

Returns

  • AudioDevice - Value of the activeAudioDevice field representing the currently active audio device.

Example

AudioDeviceEventListener audioDeviceEventListener = new DefaultAudioDeviceEventListener() {
    @Override
    public void onActiveAudioDeviceChanged(@NonNull ActiveAudioDeviceChangedEvent activeAudioDeviceChangedEvent) {
        AudioDevice activeAudioDevice = activeAudioDeviceChangedEvent.getActiveAudioDevice();
    }
});

Tutorials

Migration guides

Reference documentation

Clone this wiki locally