followSystemPlaybackDevice method
@detail api
@author yezijian.me
@brief 设置音频播放路由是否跟随系统。
@param followed
- true: 跟随。此时,调用 setAudioPlaybackDevice:{@link #ByteRTCAudioDeviceManager#setAudioPlaybackDevice} 会失败。默认值。
- false: 不跟随系统。此时,可以调用 setAudioPlaybackDevice:{@link #ByteRTCAudioDeviceManager#setAudioPlaybackDevice} 进行设置。
Implementation
FutureOr<void> followSystemPlaybackDevice(BOOL followed) async {
return await nativeCall('followSystemPlaybackDevice:', [followed]);
}