ReadyToPrint

class ReadyToPrint(isAborted: () -> Boolean, printFileWrapperFn: (FileWrapper) -> Unit, printBitmapFn: (Bitmap) -> Unit) : SDKPrintState

In this state, a an asset must be provided for printing Printer can print bitmap and fileWrapper This state is abortable

Constructors

Link copied to clipboard
constructor(isAborted: () -> Boolean, printFileWrapperFn: (FileWrapper) -> Unit, printBitmapFn: (Bitmap) -> Unit)

Functions

Link copied to clipboard
fun print(bitmap: Bitmap)
fun print(fileWrapper: FileWrapper)