SmartCardEmulator.ConnectionDeactivated 이벤트

정의

디바이스와의 연결이 물리적으로 끊어지거나 NFC 판독기가 다른 앱에 대한 연결을 요청할 때 발생합니다.

// Register
event_token ConnectionDeactivated(TypedEventHandler<SmartCardEmulator, SmartCardEmulatorConnectionDeactivatedEventArgs const&> const& handler) const;

// Revoke with event_token
void ConnectionDeactivated(event_token const* cookie) const;

// Revoke with event_revoker
SmartCardEmulator::ConnectionDeactivated_revoker ConnectionDeactivated(auto_revoke_t, TypedEventHandler<SmartCardEmulator, SmartCardEmulatorConnectionDeactivatedEventArgs const&> const& handler) const;
public event TypedEventHandler<SmartCardEmulator,SmartCardEmulatorConnectionDeactivatedEventArgs> ConnectionDeactivated;
function onConnectionDeactivated(eventArgs) { /* Your code */ }
smartCardEmulator.addEventListener("connectiondeactivated", onConnectionDeactivated);
smartCardEmulator.removeEventListener("connectiondeactivated", onConnectionDeactivated);
- or -
smartCardEmulator.onconnectiondeactivated = onConnectionDeactivated;
Public Custom Event ConnectionDeactivated As TypedEventHandler(Of SmartCardEmulator, SmartCardEmulatorConnectionDeactivatedEventArgs) 

이벤트 유형

적용 대상

추가 정보