loadExtensionProvider abstract method
Loads an extension.
This method adds external SDK extensions (such as marketplace or SDK extension plugins) into the SDK. To load multiple extensions, call this method multiple times. This method is available only on Windows and Android.
pathThe path and name of the extension dynamic library. For example: /library/libagora_segmentation_extension.dll.unloadAfterUseWhether to automatically unload the extension after use: true : Automatically unloads the extension when RtcEngine is destroyed. false : Does not automatically unload the extension until the process exits (recommended).
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. See Error Codes for details and resolution suggestions.
Implementation
Future<void> loadExtensionProvider(
{required String path, bool unloadAfterUse = false});