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

Function registerContentChangeNotify

flutter/mmkv_linux/linux/flutter-bridge.cpp:692–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

690}
691
692MMKV_EXPORT void registerContentChangeNotify(ContenctChangeCallback_t callback) {
693 g_flutterHandler.contentChangeCallback = callback;
694 if (callback || g_flutterHandler.logCallback || g_flutterHandler.errorCallback || g_flutterHandler.contentLoadedCallback) {
695 MMKV::registerHandler(&g_flutterHandler);
696 }
697}
698
699MMKV_EXPORT void registerContentLoadedNotify(ContenctChangeCallback_t callback) {
700 g_flutterHandler.contentLoadedCallback = callback;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected