GalleryPickerMode

data class GalleryPickerMode(val allowMultipleSelection: Boolean = true, val mediaType: MediaType = MediaType.ImagesAndVideos) : AttachmentPickerMode

Mode for picking images and videos from the device gallery.

When selected, displays a grid of media files from the device's storage. Requires storage permissions when using the in-app picker (not required for system picker).

Parameters

allowMultipleSelection

When true, users can select multiple items. When false, only single selection is allowed. Defaults to true.

mediaType

Filters which media types are shown. See MediaType for options. Defaults to MediaType.ImagesAndVideos.

Constructors

Link copied to clipboard
constructor(allowMultipleSelection: Boolean = true, mediaType: MediaType = MediaType.ImagesAndVideos)

Properties

Link copied to clipboard
Link copied to clipboard