Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class ButtonEntity(val text: String, val id: String, val isSelected: Boolean)
Link copied to clipboard
Link copied to clipboard
internal class CompositeMessageDAOImpl(buttonContentQueries: ButtonContentQueries, context: <Error class: unknown class>) : CompositeMessageDAO
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class KaliumPager<EntityType : Any>(pager: <Error class: unknown class><Int, EntityType>, val pagingSource: <Error class: unknown class><Int, EntityType>, coroutineContext: <Error class: unknown class>)

Exposes a pagingDataFlow that can be used in Android UI components to display paginated data.

Link copied to clipboard
object LocalId
Link copied to clipboard
data class MessageAssetStatusEntity(val id: String, val conversationId: QualifiedIDEntity, val transferStatus: AssetTransferStatusEntity)
Link copied to clipboard
interface MessageDAO
Link copied to clipboard
internal class MessageDAOImpl(queries: MessagesQueries, assetViewQueries: MessageAssetViewQueries, notificationQueries: NotificationQueries, conversationsQueries: ConversationsQueries, unreadEventsQueries: UnreadEventsQueries, messagePreviewQueries: MessagePreviewQueries, selfUserId: UserIDEntity, reactionsQueries: ReactionsQueries, coroutineContext: <Error class: unknown class>, assetStatusQueries: MessageAssetTransferStatusQueries, buttonContentQueries: ButtonContentQueries) : MessageDAO, MessageInsertExtension
Link copied to clipboard
interface MessageEntity
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
internal class MessageExtensionsImpl(messagesQueries: MessagesQueries, messageAssetViewQueries: MessageAssetViewQueries, messageMapper: MessageMapper, coroutineContext: <Error class: unknown class>) : MessageExtensions
Link copied to clipboard
internal interface MessageInsertExtension

Explaining that this is mainly used to share a bit of logic between MessageDAO and MigrationDAO

Link copied to clipboard
internal class MessageInsertExtensionImpl(messagesQueries: MessagesQueries, unreadEventsQueries: UnreadEventsQueries, conversationsQueries: ConversationsQueries, buttonContentQueries: ButtonContentQueries, selfUserIDEntity: UserIDEntity) : MessageInsertExtension
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
internal class MessageMetadataDAOImpl(metaDataQueries: MessageMetadataQueries, coroutineContext: <Error class: unknown class>) : MessageMetadataDAO
Link copied to clipboard
data class MessagePreviewEntity(val id: String, val conversationId: QualifiedIDEntity, val content: MessagePreviewEntityContent, val date: String, val visibility: MessageEntity.Visibility, val isSelfMessage: Boolean, val senderUserId: QualifiedIDEntity)

Simplified model of MessageEntity used everywhere where there is no need to have all the fields for example in conversation list or notifications

Link copied to clipboard
Link copied to clipboard
data class NotificationMessageEntity(val id: String, val contentType: MessageEntity.ContentType, val isSelfDelete: Boolean, val senderUserId: QualifiedIDEntity, val senderImage: UserAssetIdEntity?, val date: <Error class: unknown class>, val senderName: String?, val text: String?, val assetMimeType: String?, val isQuotingSelf: Boolean, val conversationId: QualifiedIDEntity, val conversationName: String?, val mutedStatus: ConversationEntity.MutedStatus, val conversationType: ConversationEntity.Type, val degradedConversationNotified: Boolean, val legalHoldStatus: ConversationEntity.LegalHoldStatus, val legalHoldStatusChangeNotified: Boolean)
Link copied to clipboard

The type of the failure that happened when trying to deliver a message to a recipient.

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
internal fun ByteArray?.isNullOrEmpty(): Boolean