ClaimedMagneticStripeReader.AamvaCardDataReceived 事件

定义

在刷卡汽车卡时发生。

// 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) 

事件类型

注解

应用程序可以注册此事件处理程序,以接收根据美国协会机动车管理员 (AAMVA) 卡 规范格式化的驾驶执照或其他卡中的数据。

适用于

另请参阅