Partager via


CashDrawer.StatusUpdated Événement

Définition

Indique qu’il y a eu une modification de la status de disponibilité de l’alimentation du tiroir.

// Register
event_token StatusUpdated(TypedEventHandler<CashDrawer, CashDrawerStatusUpdatedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
CashDrawer::StatusUpdated_revoker StatusUpdated(auto_revoke_t, TypedEventHandler<CashDrawer, CashDrawerStatusUpdatedEventArgs const&> const& handler) const;
public event TypedEventHandler<CashDrawer,CashDrawerStatusUpdatedEventArgs> StatusUpdated;
function onStatusUpdated(eventArgs) { /* Your code */ }
cashDrawer.addEventListener("statusupdated", onStatusUpdated);
cashDrawer.removeEventListener("statusupdated", onStatusUpdated);
- or -
cashDrawer.onstatusupdated = onStatusUpdated;
Public Custom Event StatusUpdated As TypedEventHandler(Of CashDrawer, CashDrawerStatusUpdatedEventArgs) 

Type d'événement

S’applique à