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

Function removeValuesForKeys

Android/MMKV/mmkv/src/main/cpp/native-bridge.cpp:788–796  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

786}
787
788MMKV_JNI void removeValuesForKeys(JNIEnv *env, jobject instance, jobjectArray arrKeys) {
789 MMKV *kv = getMMKV(env, instance);
790 if (kv && arrKeys) {
791 vector<string> keys = jarray2vector(env, arrKeys);
792 if (!keys.empty()) {
793 kv->removeValuesForKeys(keys);
794 }
795 }
796}
797
798MMKV_JNI void clearAll(JNIEnv *env, jobject instance) {
799 MMKV *kv = getMMKV(env, instance);

Callers

nothing calls this directly

Calls 3

getMMKVFunction · 0.85
jarray2vectorFunction · 0.85
removeValuesForKeysMethod · 0.45

Tested by

no test coverage detected