Package-level declarations

Types

Link copied to clipboard
fun interface ClipboardHandler

Abstraction over the ClipboardHandlerImpl that allows users to copy messages.

Link copied to clipboard
class ClipboardHandlerImpl(clipboardManager: ClipboardManager, autoTranslationEnabled: Boolean = false, getCurrentUser: () -> User? = { null }) : ClipboardHandler

A simple implementation that relies on the clipboardManager to copy messages.

Link copied to clipboard
interface DateFormatter

An interface that allows to format date-time objects as strings.

Link copied to clipboard

Default implementation of DownloadAttachmentUriGenerator that generates a download URI based on the asset URL or image URL of the attachment.

Link copied to clipboard

Default implementation of ImageAssetTransformer that doesn't provide any headers.

Link copied to clipboard

Default implementation of ImageHeadersProvider that doesn't provide any headers.

Link copied to clipboard

Generates a download URI for the given attachment.

Link copied to clipboard

Intercepts and modifies the download request before it is enqueued.

Link copied to clipboard

Provides HTTP headers for image loading requests.

Link copied to clipboard

Provides HTTP headers for image loading requests.

Link copied to clipboard
fun interface TimeProvider : Function0<Long>

An interface that provides the current time in milliseconds.

Link copied to clipboard

Provides HTTP headers for video loading requests.