Freigeben über


MagneticStripeReader.StatusUpdated Ereignis

Definition

Tritt auf, wenn das Gerät einen Vorgang status Änderung erkennt.

// Register
event_token StatusUpdated(TypedEventHandler<MagneticStripeReader, MagneticStripeReaderStatusUpdatedEventArgs const&> const& handler) const;

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

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

Ereignistyp

Gilt für: