AiutaImagePickerUploadsHistoryFeatureDataProviderCustom

Interface for custom uploads history data provider implementation.

This interface allows for custom implementation of uploads history management, providing methods to observe and modify the list of uploaded images.

Properties

Link copied to clipboard
abstract val uploadedImages: StateFlow<List<AiutaInputImage>>

A StateFlow containing the list of currently uploaded images. This flow can be observed to react to changes in the uploads history.

Functions

Link copied to clipboard
abstract suspend fun addUploadedImages(images: List<AiutaInputImage>)

Adds new images to the uploads history.

Link copied to clipboard
abstract suspend fun deleteUploadedImages(images: List<AiutaInputImage>)

Removes images from the uploads history.

Link copied to clipboard
abstract suspend fun selectUploadedImage(image: AiutaInputImage)

Marks an image as selected in the uploads history.