enableSoundPositionIndication method Null safety

Future<void> enableSoundPositionIndication(
  1. bool enabled
)

开启/关闭远端用户的语音立体声。

如果想调用 RtcEngine.setRemoteVoicePosition 实现听声辨位的功能,请确保在调用 RtcEngine.joinChannel方法前调用该方法。

Parameter enabled 是否开启远端用户语音立体声:

  • true:开启。
  • false:(默认)关闭。

Implementation

@override
Future<void> enableSoundPositionIndication(bool enabled) {
  return _invokeMethod('enableSoundPositionIndication', {
    'enabled': enabled,
  });
}