followSystemPlaybackDevice method

FutureOr<void> followSystemPlaybackDevice(
  1. BOOL followed
)

@detail api @author yezijian.me @brief Set the audio playback device to follow the OS default setting or not. @param followed
- true: follow the OS setting. You can not call setAudioPlaybackDevice:{@link #ByteRTCAudioDeviceManager#setAudioPlaybackDevice} at the same time. The default value. - false: do not follow the OS setting. You can call setAudioPlaybackDevice:{@link #ByteRTCAudioDeviceManager#setAudioPlaybackDevice} to set the audio playback device.

Implementation

FutureOr<void> followSystemPlaybackDevice(BOOL followed) async {
  return await nativeCall('followSystemPlaybackDevice:', [followed]);
}