Interface MMKVHandler


  • public interface MMKVHandler
    Callback handler for MMKV. Callback is called on the operating thread of the MMKV instance.
    • Method Detail

      • wantLogRedirecting

        boolean wantLogRedirecting()
        Returns:
        Return False if you don't want log redirecting.
      • mmkvLog

        void mmkvLog​(MMKVLogLevel level,
                     java.lang.String file,
                     int line,
                     java.lang.String function,
                     java.lang.String message)
        Log Redirecting.
        Parameters:
        level - The level of this log.
        file - The file name of this log.
        line - The line of code of this log.
        function - The function name of this log.
        message - The content of this log.