| 786 | } |
| 787 | |
| 788 | MMKV_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 | |
| 798 | MMKV_JNI void clearAll(JNIEnv *env, jobject instance) { |
| 799 | MMKV *kv = getMMKV(env, instance); |
nothing calls this directly
no test coverage detected