exportLocalMessages abstract method

Future<void> exportLocalMessages(
  1. String folderPath,
  2. ZIMMessageExportConfig config,
  3. ZIMMessageExportingProgress? progress
)

Supported versions: 2.15.0 and above.

Detailed description: This method is used to export the local message of the current user.

Business scenario: This interface is called when a message needs to be exported.

Restrictions: It takes effect after login and becomes invalid after logout.

Caution: The name of the message file exported by this interface is zim_backup_msg_text. If the passed in path is the same when calling this interface multiple times, the ZIM SDK will rename the old zim_backup_msg_text file by itself to ensure that the latest exported file name is zim_backup_msg_text.

Implementation

Future<void> exportLocalMessages(String folderPath, ZIMMessageExportConfig config, ZIMMessageExportingProgress? progress);