Package 

Class AudioSwitchHandler

  • All Implemented Interfaces:
    io.getstream.video.android.core.audio.AudioHandler

    @Deprecated(message = Replaced by AudioSwitchDecorator + AudioSwitchController which provide coroutine-backed audio handling, replaceWith = @ReplaceWith(imports = {}, expression = AudioSwitchDecorator(AudioSwitchController(context, preferredDeviceList, audioDeviceChangeListener)))) 
    public final class AudioSwitchHandler
     implements AudioHandler
                        

    TODO Remove this class on v2

    • Constructor Summary

      Constructors 
      Constructor Description
      AudioSwitchHandler(Context context, List<Class<out AudioDevice>> preferredDeviceList, <ERROR CLASS> audioDeviceChangeListener)
    • Method Summary

      Modifier and Type Method Description
      Unit start() Called when a room is started.
      Unit stop() Called when a room is disconnected.
      final Unit selectDevice(AudioDevice audioDevice)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AudioSwitchHandler

        AudioSwitchHandler(Context context, List<Class<out AudioDevice>> preferredDeviceList, <ERROR CLASS> audioDeviceChangeListener)