MCPcopy Create free account
hub / github.com/Tencent/MMKV / registerErrorHandler

Function registerErrorHandler

Android/MMKV/mmkv/src/main/cpp/flutter-bridge.cpp:703–708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

701}
702
703MMKV_EXPORT void registerErrorHandler(ErrorCallback_t callback) {
704 g_flutterHandler.errorCallback = callback;
705 if (callback || g_flutterHandler.logCallback || g_flutterHandler.contentChangeCallback || g_flutterHandler.contentLoadedCallback) {
706 MMKV::registerHandler(&g_flutterHandler);
707 }
708}
709
710MMKV_EXPORT void registerContentChangeNotify(ContenctChangeCallback_t callback) {
711 g_flutterHandler.contentChangeCallback = callback;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected