enableSpatialAudio method
@detail api
@author majun.lvhiei
@brief Enables/disables spatial audio function.
@param enable Whether to enable spatial audio function:
- YES: Enable
- NO: Disable(Default setting)
@note You need to call updateSelfPosition:{@link #ByteRTCSpatialAudio#updateSelfPosition} as well to really enjoy the spatial audio effect.
Implementation
FutureOr<void> enableSpatialAudio(BOOL enable) async {
return await nativeCall('enableSpatialAudio:', [enable]);
}