| 778 | } |
| 779 | |
| 780 | MMKV_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 | |
| 788 | MMKV_JNI void removeValuesForKeys(JNIEnv *env, jobject instance, jobjectArray arrKeys) { |
| 789 | MMKV *kv = getMMKV(env, instance); |
nothing calls this directly
no test coverage detected