SaveBarcodeTakenPictureUseCase

class SaveBarcodeTakenPictureUseCase(barcodeFileStorage: BarcodeFileStorage, imageFileIOProcessor: ImageFileIOProcessor)

Saves taken camera pictures in the files repository

Constructors

Link copied to clipboard
constructor(barcodeFileStorage: BarcodeFileStorage, imageFileIOProcessor: ImageFileIOProcessor)

Functions

Link copied to clipboard
fun saveTakenPicture(image: ByteArray, imageOrientation: Int = 0): <Error class: unknown class><String>

Stores taken picture in BarcodeFileStorage throws IOException and Exception that need to be handled with catch {} in flow api