共用方式為


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

適用於

另請參閱