-
Methods Method Description com.tencent.mmkv.MMKV.apply() This method is only for compatibility purpose. You should remove all the calls after migration to MMKV. MMKV doesn't rely on apply() to save data to file. If you really worry about losing battery and data corruption, callMMKV.async()
instead.com.tencent.mmkv.MMKV.commit() This method is only for compatibility purpose. You should remove all the calls after migration to MMKV. MMKV doesn't rely on commit() to save data to file. If you really worry about losing battery and data corruption, callMMKV.async()
orMMKV.sync()
instead.com.tencent.mmkv.MMKV.initialize(String) This method is deprecated due to failing to automatically disable checkProcessMode() without Context. Use theMMKV.initialize(Context, String)
method instead.com.tencent.mmkv.MMKV.registerHandler(MMKVHandler) This method is deprecated. Use theMMKV.initialize(Context, String, LibLoader, MMKVLogLevel, MMKVHandler)
method instead.