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