setSoundMod method

Future<void> setSoundMod(
  1. int soundMod
)

设置声音输出方式

@param soundMod 可选值:speaker(扬声器-0)或 ear(听筒-1) @discussion 设置声音输出方式

Implementation

Future<void> setSoundMod(int soundMod) {
  return bRTCPluginChannel.invokeMethod('setSoundMod', {
    "soundMod": soundMod,
  });
}