initialize abstract method
Initializes the RtcEngine.
All interface functions of the RtcEngine class are asynchronous unless otherwise specified. It is recommended to call the interfaces in the same thread. The SDK only supports creating one RtcEngine instance per App.
contextConfiguration for the RtcEngine instance. See RtcEngineContext.
Returns No return value if the method call succeeds; if the method call fails, an AgoraRtcException is thrown, which you need to catch and handle. See Error Codes for details and troubleshooting suggestions. < 0: Failure. -1: General error (not specifically categorized). -2: Invalid parameter. -7: SDK initialization failed. -22: Resource allocation failed. This occurs when the App uses too many resources or system resources are exhausted. -101: Invalid App ID.
Implementation
Future<void> initialize(RtcEngineContext context);