removeAllRemotePosition method
@valid since 3.52 @detail api @author wangjunzheng @brief 移除调用 updateRemotePosition{@link #ISpatialAudio#updateRemotePosition} 为所有远端用户设置的空间音频效果。 @return - 0:成功。 - <0:失败。
Implementation
Future<int?> removeAllRemotePosition() async {
$a() => ($instance as $p_a.ISpatialAudio).removeAllRemotePosition();
$i() => ($instance as $p_i.ByteRTCSpatialAudio).removeAllRemotePosition();
if (Platform.isAndroid) {
return $a();
} else if (Platform.isIOS) {
return $i();
} else {
throw UnsupportedError(
'Not Support Platform ${Platform.operatingSystem}');
}
}