enableSpatialAudio method

FutureOr<void> enableSpatialAudio(
  1. boolean enable
)

@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]);
}