ImageWriterService

@objc
public protocol ImageWriterService : AnyObject

Image writer service protocol

  • Write image to URL

    Declaration

    Swift

    func writeImage(_ image: VerIDImage, completion: ((Error?) -> Void)?) -> URL?

    Parameters

    image

    Image to write to the URL

    completion

    Callback invoked on completion of the write operation

    Return Value

    URL if the image was written or nil if the writing failed