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

Function removeValueForKey

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

Source from the content-addressed store, hash-verified

778}
779
780MMKV_JNI void removeValueForKey(JNIEnv *env, jobject instance, jlong handle, jstring oKey) {
781 MMKV *kv = reinterpret_cast<MMKV *>(handle);
782 if (kv && oKey) {
783 string key = jstring2string(env, oKey);
784 kv->removeValueForKey(key);
785 }
786}
787
788MMKV_JNI void removeValuesForKeys(JNIEnv *env, jobject instance, jobjectArray arrKeys) {
789 MMKV *kv = getMMKV(env, instance);

Callers

nothing calls this directly

Calls 2

jstring2stringFunction · 0.70
removeValueForKeyMethod · 0.45

Tested by

no test coverage detected