MessageDao

abstract class MessageDao

Message Data Access Object. Note: In order to avoid potential crashes in customer apps, all generated DAO methods should be protected and exposed via a separate public method that wraps the internal DAO call with a try/catch.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
open fun deleteMessages(messageIds: List<String>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun insert(message: MessageEntity)
Link copied to clipboard
open fun insertMessages(messages: List<MessageEntity>)
Link copied to clipboard
open fun markMessagesDeleted(messageIds: List<String>)
Link copied to clipboard
open fun markMessagesRead(messageIds: List<String>)
Link copied to clipboard
open fun markMessagesReadOrigin(messageIds: List<String>)
Link copied to clipboard
open fun markMessagesUnread(messageIds: List<String>)
Link copied to clipboard
open fun messageExists(messageId: String): Boolean