Package-level declarations
Types
Link copied to clipboard
interface DeleteAssetUseCase
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
interface GetAssetMessageTransferStatusUseCase
Link copied to clipboard
internal class GetAssetMessageTransferStatusUseCaseImpl(messageRepository: MessageRepository, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl) : GetAssetMessageTransferStatusUseCase
Link copied to clipboard
interface GetAssetSizeLimitUseCase
Link copied to clipboard
class GetAssetSizeLimitUseCaseImpl(isSelfATeamMember: IsSelfATeamMemberUseCase, dispatchers: <Error class: unknown class> = KaliumDispatcherImpl) : GetAssetSizeLimitUseCase
Link copied to clipboard
interface GetAvatarAssetUseCase
Link copied to clipboard
internal class GetAvatarAssetUseCaseImpl(assetDataSource: AssetRepository, userRepository: UserRepository) : GetAvatarAssetUseCase
Link copied to clipboard
Link copied to clipboard
class GetImageAssetMessagesForConversationUseCaseImpl(dispatcher: <Error class: unknown class>, messageRepository: MessageRepository) : GetImageAssetMessagesForConversationUseCase
Link copied to clipboard
interface GetMessageAssetUseCase
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
Link copied to clipboard
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
Link copied to clipboard
interface ObserveAssetStatusesUseCase
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
Link copied to clipboard
interface ScheduleNewAssetMessageResult
Link copied to clipboard
interface ScheduleNewAssetMessageUseCase
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
Link copied to clipboard
interface UpdateAssetMessageTransferStatusUseCase
Link copied to clipboard
internal class UpdateAssetMessageTransferStatusUseCaseImpl(messageRepository: MessageRepository, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl) : UpdateAssetMessageTransferStatusUseCase
Link copied to clipboard
Link copied to clipboard
interface ValidateAssetFileTypeUseCase
Returns true if the file extension is present in file name and is allowed and false otherwise.
Link copied to clipboard