PosPrinter.StatusUpdated PosPrinter.StatusUpdated PosPrinter.StatusUpdated PosPrinter.StatusUpdated PosPrinter.StatusUpdated Event

Definition

Occurs when the status of the power or availability of the point-of-service printer changes.

public : event TypedEventHandler<PosPrinter, PosPrinterStatusUpdatedEventArgs> StatusUpdated
// Register
event_token StatusUpdated(TypedEventHandler<PosPrinter, PosPrinterStatusUpdatedEventArgs> const& handler) const;

// Revoke with event_token
void StatusUpdated(event_token const& cookie) const;

// Revoke with event_revoker
StatusUpdated_revoker StatusUpdated(auto_revoke_t, TypedEventHandler<PosPrinter, PosPrinterStatusUpdatedEventArgs> const& handler) const;
public event TypedEventHandler<PosPrinter, PosPrinterStatusUpdatedEventArgs> StatusUpdated
Public Event StatusUpdated As TypedEventHandler (Of PosPrinter, PosPrinterStatusUpdatedEventArgs)
function onStatusUpdated(eventArgs){/* Your code */}


posPrinter.addEventListener("statusupdated", onStatusUpdated);
posPrinter.removeEventListener("statusupdated", onStatusUpdated);

See also