SmartCardEmulator.ApduReceived Kejadian
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Terjadi ketika unit data protokol aplikasi (APDU) diterima oleh pengontrol NFC.
// Register
event_token ApduReceived(TypedEventHandler<SmartCardEmulator, SmartCardEmulatorApduReceivedEventArgs const&> const& handler) const;
// Revoke with event_token
void ApduReceived(event_token const* cookie) const;
// Revoke with event_revoker
SmartCardEmulator::ApduReceived_revoker ApduReceived(auto_revoke_t, TypedEventHandler<SmartCardEmulator, SmartCardEmulatorApduReceivedEventArgs const&> const& handler) const;
public event TypedEventHandler<SmartCardEmulator,SmartCardEmulatorApduReceivedEventArgs> ApduReceived;
function onApduReceived(eventArgs) { /* Your code */ }
smartCardEmulator.addEventListener("apdureceived", onApduReceived);
smartCardEmulator.removeEventListener("apdureceived", onApduReceived);
- or -
smartCardEmulator.onapdureceived = onApduReceived;
Public Custom Event ApduReceived As TypedEventHandler(Of SmartCardEmulator, SmartCardEmulatorApduReceivedEventArgs)