AndroidGalleryDetailPlatformActions
internal class AndroidGalleryDetailPlatformActions(val context: Context, val fileProviderDescriptor: FileProviderDescriptor, val dispatchersProvider: DispatchersProvider, val base64ToBitmapConverter: Base64ToBitmapConverter, val imageSaver: ImageSaver) : GalleryDetailPlatformActions, FileSavableExporter.BmpToFile(source)
Coordinates AndroidGalleryDetailPlatformActions behavior in the SDAI presentation layer.
Author
Dmitriy Moroz
Constructors
Link copied to clipboard
constructor(context: Context, fileProviderDescriptor: FileProviderDescriptor, dispatchersProvider: DispatchersProvider, base64ToBitmapConverter: Base64ToBitmapConverter, imageSaver: ImageSaver)
Types
Properties
Link copied to clipboard
Exposes the base64ToBitmapConverter value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the dispatchersProvider value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the fileProviderDescriptor value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the imageSaver value used by the SDAI presentation layer.
Functions
Link copied to clipboard
Executes the copyText step in the SDAI presentation layer.
Link copied to clipboard
private inline suspend fun runPlatformAction(crossinline action: suspend () -> Unit): GalleryDetailActionResult
Executes the runPlatformAction step in the SDAI presentation layer.
Link copied to clipboard
Converts SDAI data with saveBitmapToFile.
Link copied to clipboard
Performs the SDAI side effect handled by saveImage.
Link copied to clipboard
Performs the SDAI side effect handled by shareImage.
Link copied to clipboard
Performs the SDAI side effect handled by shareText.