validate

internal fun CommonMPBackupExporter.validate(user: BackupUser): Boolean

Validates the given BackupUser and its content.

Throws

IllegalStateException

if mandatory validation fails.


internal fun CommonMPBackupExporter.validate(conversation: BackupConversation): Boolean

Validates the given BackupConversation and its content.

Throws

IllegalStateException

if mandatory validation fails.


internal fun CommonMPBackupExporter.validate(message: BackupMessage): Boolean

Validates the given BackupMessage and its content.

Return

true if the message is valid, false otherwise.

Throws

IllegalStateException

if mandatory validation fails.