loadCommons static method
Load the RACommons native library.
This is the core library that provides:
- Module registry
- Service provider registry
- Platform adapter interface
- Logging and error handling
- LLM/STT/TTS component APIs
Implementation
static DynamicLibrary loadCommons() {
if (_commonsLibrary != null) {
return _commonsLibrary!;
}
try {
_commonsLibrary = _loadLibrary(_commonsLibraryName);
_loadError = null;
return _commonsLibrary!;
} catch (e) {
_loadError = e.toString();
rethrow;
}
}