SDKMoreFunPrinterCallback

Deprecated

Use new Printer flow with print states and printer callback to handle results

Replace with

import com.mpos.payments.transaction.printer.SDKPrinterListener
SDKPrinterListener

Interface to handle printer state callbacks. The SDKMoreFunPrinterError parameter provides information about possible errors that may occur during printing operations.

Functions

Link copied to clipboard
abstract fun onError(error: SDKMoreFunPrinterError)

Callback method invoked when an error occurs during the printer operation.

Link copied to clipboard
abstract fun onSuccess()

Callback method invoked when the printer operation is successful.