ClaimedMagneticStripeReader.AamvaCardDataReceived 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在刷卡汽车卡时发生。
// 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) 卡 规范格式化的驾驶执照或其他卡中的数据。