enableAudio abstract method

Future<void> enableAudio()

Enables the audio module.

The audio module is enabled by default After calling disableAudio to disable the audio module, you can call this method to re-enable it.

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.

Implementation

Future<void> enableAudio();