ClaimedMagneticStripeReader.AamvaCardDataReceived Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a motor vehicle card is swiped.
// Register
event_token AamvaCardDataReceived(TypedEventHandler<ClaimedMagneticStripeReader, MagneticStripeReaderAamvaCardDataReceivedEventArgs const&> const& handler) const;
// Revoke with event_token
void AamvaCardDataReceived(event_token const* cookie) const;
// Revoke with event_revoker
ClaimedMagneticStripeReader::AamvaCardDataReceived_revoker AamvaCardDataReceived(auto_revoke_t, TypedEventHandler<ClaimedMagneticStripeReader, MagneticStripeReaderAamvaCardDataReceivedEventArgs const&> const& handler) const;
public event TypedEventHandler<ClaimedMagneticStripeReader,MagneticStripeReaderAamvaCardDataReceivedEventArgs> AamvaCardDataReceived;
function onAamvaCardDataReceived(eventArgs) { /* Your code */ }
claimedMagneticStripeReader.addEventListener("aamvacarddatareceived", onAamvaCardDataReceived);
claimedMagneticStripeReader.removeEventListener("aamvacarddatareceived", onAamvaCardDataReceived);
- or -
claimedMagneticStripeReader.onaamvacarddatareceived = onAamvaCardDataReceived;
Public Custom Event AamvaCardDataReceived As TypedEventHandler(Of ClaimedMagneticStripeReader, MagneticStripeReaderAamvaCardDataReceivedEventArgs)
Event Type
Remarks
An application can register for this event handler to receive data from driver licenses or other cards formatted according to American Association Motor Vehicles Administrators (AAMVA) card specification.