IosGalleryDetailPlatformActions

Coordinates IosGalleryDetailPlatformActions behavior in the SDAI presentation layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
private val imageSaver: ImageSaver

Exposes the imageSaver value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the imageSharer value used by the SDAI presentation layer.

Functions

Link copied to clipboard
open suspend override fun copyText(text: String): GalleryDetailActionResult

Executes the copyText step in the SDAI presentation layer.

Link copied to clipboard
open suspend override fun saveImage(base64: String): GalleryDetailActionResult

Performs the SDAI side effect handled by saveImage.

Link copied to clipboard
private suspend fun shareActivityItem(item: Any): GalleryDetailActionResult

Performs the SDAI side effect handled by shareActivityItem.

Link copied to clipboard
open suspend override fun shareImage(base64: String): GalleryDetailActionResult

Performs the SDAI side effect handled by shareImage.

Link copied to clipboard
open suspend override fun shareText(text: String): GalleryDetailActionResult

Performs the SDAI side effect handled by shareText.