initMediaEngine

Initializes the RTE engine.

public void initMediaEngine(AsyncCallback callBack) throws RteException
Since
Added since version v4.4.0.

This is an asynchronous method that returns the initialization result via a callback function. You need to call this method after creating the RTE object and setting the App ID.

Parameters

callBack
Callback for asynchronously returning the engine initialization result. See AsyncCallback.

Exceptions

If initialization fails, the SDK throws an exception and returns the corresponding error information. You need to catch and handle the exception.