Package-level declarations

Types

Link copied to clipboard
data class BroadcastMessage(val id: String, val content: <Error class: unknown class>, val date: <Error class: unknown class>, val senderUserId: <Error class: unknown class>, val status: <Error class: unknown class>, val isSelfMessage: Boolean, val senderClientId: <Error class: unknown class>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
internal class CompositeMessageDataSource(compositeMessageDAO: <Error class: unknown class>) : CompositeMessageRepository
Link copied to clipboard
Link copied to clipboard
internal interface CryptoSessionMapper
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class FilteredRecipient(val valid: Map<String, Map<String, Map<String, <Error class: unknown class>>>>, val invalid: List<<Error class: unknown class><<Error class: unknown class>, List<String>>>)
Link copied to clipboard
internal class MessageDataSource(selfUserId: <Error class: unknown class>, messageApi: <Error class: unknown class>, mlsMessageApi: <Error class: unknown class>, messageDAO: <Error class: unknown class>, sendMessageFailureMapper: SendMessageFailureMapper = MapperProvider.sendMessageFailureMapper(), messageMapper: MessageMapper = MapperProvider.messageMapper(selfUserId), linkPreviewMapper: LinkPreviewMapper = MapperProvider.linkPreviewMapper(), messageMentionMapper: MessageMentionMapper = MapperProvider.messageMentionMapper(selfUserId), receiptModeMapper: ReceiptModeMapper = MapperProvider.receiptModeMapper(), sendMessagePartialFailureMapper: SendMessagePartialFailureMapper = MapperProvider.sendMessagePartialFailureMapper(), notificationMapper: LocalNotificationMessageMapper = LocalNotificationMessageMapperImpl()) : MessageRepository
Link copied to clipboard
interface MessageMapper
Link copied to clipboard
class MessageMapperImpl(selfUserId: <Error class: unknown class>, linkPreviewMapper: LinkPreviewMapper = MapperProvider.linkPreviewMapper(), messageMentionMapper: MessageMentionMapper = MapperProvider.messageMentionMapper(selfUserId), userMapper: UserMapper = MapperProvider.userMapper()) : MessageMapper
Link copied to clipboard
Link copied to clipboard
internal class MessageMetadataSource(messageMetaDataDAO: <Error class: unknown class>) : MessageMetadataRepository
Link copied to clipboard
internal interface MessageRepository
Link copied to clipboard
internal interface MessageRepositoryExtensions
Link copied to clipboard
internal class MessageRepositoryExtensionsImpl(messageDAO: <Error class: unknown class>, messageMapper: MessageMapper) : MessageRepositoryExtensions
Link copied to clipboard
data class MessageSent(val time: <Error class: unknown class>, val failedToConfirmClients: List<<Error class: unknown class>> = listOf(), val missing: List<<Error class: unknown class>> = listOf())
Link copied to clipboard
interface MessageTarget
Link copied to clipboard

Internal UseCase that should be used instead of MessageRepository.persistMessage(Message) It automatically updates ConversationModifiedDate and ConversationNotificationDate if needed

Link copied to clipboard
internal class PersistMessageUseCaseImpl(messageRepository: MessageRepository, selfUserId: <Error class: unknown class>, notificationEventsManager: NotificationEventsManager) : PersistMessageUseCase
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class ProtoContentMapperImpl(assetMapper: AssetMapper = MapperProvider.assetMapper(), availabilityMapper: AvailabilityStatusMapper = MapperProvider.availabilityStatusMapper(), encryptionAlgorithmMapper: EncryptionAlgorithmMapper = MapperProvider.encryptionAlgorithmMapper(), idMapper: IdMapper = MapperProvider.idMapper(), selfUserId: <Error class: unknown class>, linkPreviewMapper: LinkPreviewMapper = MapperProvider.linkPreviewMapper(), messageMentionMapper: MessageMentionMapper = MapperProvider.messageMentionMapper(selfUserId)) : ProtoContentMapper
Link copied to clipboard
internal object SelfDeletionMapper
Link copied to clipboard
Link copied to clipboard

Maps the QualifiedSendMessageResponse to a MessageSent object. This mapper is useful in case we receive a successful response from the backend, but there are some users that failed to receive the message. ie: federated users and/or conversations.

Link copied to clipboard
internal interface SessionEstablisher
Link copied to clipboard
internal class SessionEstablisherImpl(proteusClientProvider: ProteusClientProvider, preKeyRepository: PreKeyRepository, idMapper: IdMapper = MapperProvider.idMapper()) : SessionEstablisher
Link copied to clipboard
internal interface SystemMessageInserter
Link copied to clipboard
internal class SystemMessageInserterImpl(selfUserId: <Error class: unknown class>, persistMessage: PersistMessageUseCase) : SystemMessageInserter

Functions

Link copied to clipboard
fun <Error class: unknown class>.toDao(): <Error class: unknown class>
Link copied to clipboard
fun <Error class: unknown class>.toEntityStatus(): <Error class: unknown class>
Link copied to clipboard
fun <Error class: unknown class>.toEntityVisibility(): <Error class: unknown class>
Link copied to clipboard
fun <Error class: unknown class>.toMessageContent(): <Error class: unknown class>
fun <Error class: unknown class>.toMessageContent(hidden: Boolean, selfUserId: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
fun <Error class: unknown class>.toMessageEntityContent(): <Error class: unknown class>
Link copied to clipboard
fun <Error class: unknown class>.toModel(): <Error class: unknown class>
fun <Error class: unknown class>.toModel(): <Error class: unknown class>
fun <Error class: unknown class>.toModel(): <Error class: unknown class>
fun <Error class: unknown class>.toModel(readCount: Long): <Error class: unknown class>