public static interface ProtocolAdapter.PrinterListener
| Modifier and Type | Method and Description |
|---|---|
void |
onBatteryStateChanged(boolean lowBattery)
This method is invoke when printer battery state is changed.
|
void |
onPaperStateChanged(boolean noPaper)
This method is invoke when paper state is changes.
|
void |
onThermalHeadStateChanged(boolean overheated)
This method is invoke when printer thermal head state is changed.
|
void onBatteryStateChanged(boolean lowBattery)
lowBattery - indicates whether the battery level is low or not.void onThermalHeadStateChanged(boolean overheated)
overheated - indicates whether the thermal head is overheated or not.void onPaperStateChanged(boolean noPaper)
noPaper - indicates whether printer is out of paper or not.