Package-level declarations

Types

Link copied to clipboard

Use case allowing to delete asset locally, without sending it to other clients. the asset upload succeeded, but instead that the creation and persistence of the initial asset message succeeded.

Link copied to clipboard
internal class DeleteAssetUseCaseImpl(assetRepository: AssetRepository, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl) : DeleteAssetUseCase
Link copied to clipboard
internal class DownloadAssetMessageMetadata(val assetName: String, val assetSize: Long, val assetKey: String, val assetKeyDomain: String?, val assetToken: String?, val encryptionKey: <Error class: unknown class>, val assetSHA256Key: <Error class: unknown class>)
Link copied to clipboard
internal class GetAssetMessageTransferStatusUseCaseImpl(messageRepository: MessageRepository, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl) : GetAssetMessageTransferStatusUseCase
Link copied to clipboard
Link copied to clipboard
class GetAssetSizeLimitUseCaseImpl(isSelfATeamMember: IsSelfATeamMemberUseCase, dispatchers: <Error class: unknown class> = KaliumDispatcherImpl) : GetAssetSizeLimitUseCase
Link copied to clipboard
Link copied to clipboard
internal class GetAvatarAssetUseCaseImpl(assetDataSource: AssetRepository, userRepository: UserRepository) : GetAvatarAssetUseCase
Link copied to clipboard
Link copied to clipboard
internal class GetMessageAssetUseCaseImpl(assetRepository: AssetRepository, messageRepository: MessageRepository, userRepository: UserRepository, updateAssetMessageTransferStatus: UpdateAssetMessageTransferStatusUseCase, scope: <Error class: unknown class>, dispatcher: <Error class: unknown class>) : GetMessageAssetUseCase
class GetPaginatedFlowOfAssetMessageByConversationIdUseCase(dispatcher: <Error class: unknown class>, messageRepository: MessageRepository)

This use case will observe and return a flow of paginated asset messages for a given conversation.

Link copied to clipboard
sealed class MessageAssetResult
Link copied to clipboard

Use case observing statuses of assets when uploading and downloading.

Link copied to clipboard
internal class ObserveAssetStatusesUseCaseImpl(messageRepository: MessageRepository, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl) : ObserveAssetStatusesUseCase
Link copied to clipboard
class ObservePaginatedAssetImageMessages(dispatcher: <Error class: unknown class>, messageRepository: MessageRepository)

This use case will observe and return a flow of paginated image asset messages for a given conversation.

Link copied to clipboard
sealed class PublicAssetResult
Link copied to clipboard
internal class ScheduleNewAssetMessageUseCaseImpl(persistMessage: PersistMessageUseCase, updateAssetMessageTransferStatus: UpdateAssetMessageTransferStatusUseCase, currentClientIdProvider: CurrentClientIdProvider, assetDataSource: AssetRepository, userId: <Error class: unknown class>, slowSyncRepository: SlowSyncRepository, messageSender: MessageSender, messageSendFailureHandler: MessageSendFailureHandler, messageRepository: MessageRepository, userPropertyRepository: UserPropertyRepository, selfDeleteTimer: ObserveSelfDeletionTimerSettingsForConversationUseCase, scope: <Error class: unknown class>, observeFileSharingStatus: ObserveFileSharingStatusUseCase, validateAssetFileUseCase: ValidateAssetFileTypeUseCase, dispatcher: <Error class: unknown class>) : ScheduleNewAssetMessageUseCase
internal class UpdateAssetMessageTransferStatusUseCaseImpl(messageRepository: MessageRepository, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl) : UpdateAssetMessageTransferStatusUseCase
Link copied to clipboard
Link copied to clipboard

Returns true if the file extension is present in file name and is allowed and false otherwise.