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

Function disableAutoExpire

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

Source from the content-addressed store, hash-verified

1098}
1099
1100MMKV_JNI jboolean disableAutoExpire(JNIEnv *env, jobject instance) {
1101 MMKV *kv = getMMKV(env, instance);
1102 if (kv) {
1103 return (jboolean) kv->disableAutoKeyExpire();
1104 }
1105 return (jboolean) false;
1106}
1107
1108MMKV_JNI void enableCompareBeforeSet(JNIEnv *env, jobject instance) {
1109 MMKV *kv = getMMKV(env, instance);

Callers

nothing calls this directly

Calls 2

getMMKVFunction · 0.85
disableAutoKeyExpireMethod · 0.45

Tested by

no test coverage detected