initialize abstract method

Future<void> initialize()

Initializes the LocalSpatialAudioEngine.

You must call this method to initialize the LocalSpatialAudioEngine before calling other methods of the LocalSpatialAudioEngine class. The SDK supports only one LocalSpatialAudioEngine instance per app.

Returns When the method call succeeds, there is no return value; when it fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly. See Error Codes for details and resolution suggestions.

Implementation

Future<void> initialize();