-
public final class AttachmentPickerItemStateRepresents the state of a single item in the attachment picker.
Each item displayed in the attachment picker (images, videos, files) is represented by this class, which holds both the metadata about the attachment and its current selection state.
-
-
Field Summary
Fields Modifier and Type Field Description private final AttachmentMetaDataattachmentMetaDataprivate final BooleanisSelected
-
Constructor Summary
Constructors Constructor Description AttachmentPickerItemState(AttachmentMetaData attachmentMetaData, Boolean isSelected)
-
Method Summary
Modifier and Type Method Description final AttachmentMetaDatagetAttachmentMetaData()final BooleangetIsSelected()-
-
Constructor Detail
-
AttachmentPickerItemState
AttachmentPickerItemState(AttachmentMetaData attachmentMetaData, Boolean isSelected)
- Parameters:
attachmentMetaData- The metadata describing the attachment, including its URI, file name, size, MIME type, and other relevant information.isSelected- Whether this item is currently selected.
-
-
Method Detail
-
getAttachmentMetaData
final AttachmentMetaData getAttachmentMetaData()
-
getIsSelected
final Boolean getIsSelected()
-
-
-
-