CashDrawer.StatusUpdated CashDrawer.StatusUpdated CashDrawer.StatusUpdated CashDrawer.StatusUpdated CashDrawer.StatusUpdated Event

Definition

Indicates there has been a change in the power availability status of the drawer.

public : event TypedEventHandler<CashDrawer, CashDrawerStatusUpdatedEventArgs> StatusUpdated
// Register
event_token StatusUpdated(TypedEventHandler<CashDrawer, CashDrawerStatusUpdatedEventArgs> 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<CashDrawer, CashDrawerStatusUpdatedEventArgs> const& handler) const;
public event TypedEventHandler<CashDrawer, CashDrawerStatusUpdatedEventArgs> StatusUpdated
Public Event StatusUpdated As TypedEventHandler (Of CashDrawer, CashDrawerStatusUpdatedEventArgs)
function onStatusUpdated(eventArgs){/* Your code */}


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