PrinterUpdateListener

The Brady SDK PrinterUpdateListener interface can be implemented to an Activity.

PrinterUpdate(List[PrinterProperties] changedProperties)

PrinterUpdate triggers whenever a PrinterProperty changes on the current printer connection.

For example, if a user changes the part installed in the printer, this function will trigger and "changedProperties" will contain "SupplyName", "SupplyYNumber", "SupplyHeight", "SupplyWidth", and "SubstrateRemainingPercent" (assuming the new part isn't the same in dimension).

  • This interface can be implemented to an Activity by adding implements PrinterUpdateListener in the class header.
    • The PrinterUpdate function is required to be implemented when this is done (even if you leave the function empty).