|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ProtocolAdapter.PrinterListener
Interface definition for a callbacks to notify for printer event.
Method Summary | |
---|---|
void |
onBatteryStateChanged(boolean lowBattery)
This method is invoke when printer battery state is changed. |
void |
onPaperStateChanged(boolean hasPaper)
This method is invoke when paper state is changes. |
void |
onThermalHeadStateChanged(boolean overheated)
This method is invoke when printer thermal head state is changed. |
Method Detail |
---|
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 hasPaper)
hasPaper
- indicates whether printer has paper or not.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |