Package-level declarations
Types
Link copied to clipboard
data class AttachmentPickerItemState(val attachmentMetaData: AttachmentMetaData, val isSelected: Boolean = false)
Represents the state of a single item in the attachment picker.
Link copied to clipboard
interface AttachmentPickerMode
Represents a mode (tab) in the attachment picker.
Link copied to clipboard
data class AttachmentState(val message: Message, val isMine: Boolean = false, val onLongItemClick: (Message) -> Unit = {}, val onMediaGalleryPreviewResult: (MediaGalleryPreviewResult?) -> Unit = {})
Represents the state of Attachment items, used to render and add handlers required for the attachment to work.
Link copied to clipboard
data class CameraPickerMode(val captureMode: CaptureMode = CaptureMode.PhotoAndVideo) : AttachmentPickerMode
Mode for capturing photos or videos using the device camera.
Link copied to clipboard
Defines what type of media can be captured with the camera.
Link copied to clipboard
Mode for selecting a slash command.
Link copied to clipboard
Mode for picking files from device storage.
Link copied to clipboard
data class GalleryPickerMode(val allowMultipleSelection: Boolean = true, val mediaType: MediaType = MediaType.ImagesAndVideos) : AttachmentPickerMode
Mode for picking images and videos from the device gallery.
Link copied to clipboard
Mode for creating a poll attachment.