SuccessfulPrint

class SuccessfulPrint(isAborted: () -> Boolean, printAgainFn: () -> Unit, finishPrintFn: () -> Unit) : SDKPrintState

Print was successful print. Printer can print print again or finish print. This state is abortable

Constructors

Link copied to clipboard
constructor(isAborted: () -> Boolean, printAgainFn: () -> Unit, finishPrintFn: () -> Unit)

Functions

Link copied to clipboard
fun finish()

Finish print. Emit PrintCompleted state.

Link copied to clipboard

Create a new print. Emit ReadyToPrint state.