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) 卡片規格格式化的驅動程式授權或其他卡片的資料。