public interface PrintMaterialDetector
Modifier and Type | Method and Description |
---|---|
float |
getPercentageOfPrintMaterialRemaining(Printer printer)
This method shouldn't worry about the amount of time they use to determine how much print material is left.
|
void |
startMeasurement(Printer printer)
This method is executed synchronously with the printing process to ensure the print material is settled to a
point where it can be measured properly.
|
void startMeasurement(Printer printer)
float getPercentageOfPrintMaterialRemaining(Printer printer) throws java.io.IOException
java.io.IOException