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

Function enableAutoExpire

flutter/mmkv_linux/linux/flutter-bridge.cpp:617–623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

615}
616
617MMKV_EXPORT bool enableAutoExpire(void *handle, uint32_t expireDuration) {
618 MMKV *kv = static_cast<MMKV *>(handle);
619 if (kv) {
620 return kv->enableAutoKeyExpire(expireDuration);
621 }
622 return false;
623}
624
625MMKV_EXPORT bool disableAutoExpire(void *handle) {
626 MMKV *kv = static_cast<MMKV *>(handle);

Callers

nothing calls this directly

Calls 1

enableAutoKeyExpireMethod · 0.45

Tested by

no test coverage detected