registerNativeMethods static method
Implementation
static void registerNativeMethods({String? dynamicLibName}) {
if (isRegistered) {
return;
}
isRegistered = true;
if (dynamicLibName != null) {
_dynamicLibName = dynamicLibName;
}
UnitRCLog.info("registerNativeMethods start");
UnitRCCppBind.bind(createReceivePort());
UnitRCLog.info("registerNativeMethods end");
NotifyHelper.startTimer();
}