com.voximplant.sdk.hardware

Interface IAudioDeviceManager



  • public interface IAudioDeviceManager
    Interface that may be used to manage audio devices on Android device.
    • Method Detail

      • enableLoudspeaker

        boolean enableLoudspeaker(boolean useLoudspeaker)
        Enable/disable loudspeaker. Disabled by default. It is highly recommended to enable loudspeaker after the call is connected.
        Parameters:
        useLoudspeaker - Enable/disable loudspeaker
        Returns:
        true on success, false otherwise
      • setAudioFocusChangeListener

        void setAudioFocusChangeListener(IAudioFocusChangeListener listener)
        Set IAudioFocusChangeListener listener to handle audio focus change events
        Parameters:
        listener - IAudioFocusChangeListener listener or null.
        See Also:
        IAudioFocusChangeListener