notifyLoadingFinished static method
network notification, when a network request will response Finished
Implementation
static void notifyLoadingFinished(
int engineId,
String requestId,
String loadingFinishContent,
) {
var contentPtr = loadingFinishContent.toNativeUtf16();
var requestIdPtr = requestId.toNativeUtf16();
_BridgeFFIManager.instance.notifyNetworkEvent(
engineId,
requestIdPtr,
NetworkEventType.loadingFinished.index,
contentPtr,
nullptr,
);
free(contentPtr);
free(requestIdPtr);
}