| 1090 | } |
| 1091 | |
| 1092 | MMKV_JNI jboolean enableAutoExpire(JNIEnv *env, jobject instance, jint expireDuration) { |
| 1093 | MMKV *kv = getMMKV(env, instance); |
| 1094 | if (kv) { |
| 1095 | return (jboolean) kv->enableAutoKeyExpire(expireDuration); |
| 1096 | } |
| 1097 | return (jboolean) false; |
| 1098 | } |
| 1099 | |
| 1100 | MMKV_JNI jboolean disableAutoExpire(JNIEnv *env, jobject instance) { |
| 1101 | MMKV *kv = getMMKV(env, instance); |
nothing calls this directly
no test coverage detected