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

Function registerContentLoadedNotify

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

Source from the content-addressed store, hash-verified

697}
698
699MMKV_EXPORT void registerContentLoadedNotify(ContenctChangeCallback_t callback) {
700 g_flutterHandler.contentLoadedCallback = callback;
701 if (callback || g_flutterHandler.logCallback || g_flutterHandler.errorCallback || g_flutterHandler.contentChangeCallback) {
702 MMKV::registerHandler(&g_flutterHandler);
703 }
704}
705
706MMKV_EXPORT void checkContentChanged(void *handle) {
707 MMKV *kv = static_cast<MMKV *>(handle);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected