다음을 통해 공유


BarcodeScannerProviderConnection.EnableScannerRequested 이벤트

정의

클라이언트 앱이 바코드 스캐너를 사용하도록 설정하려고 할 때 발생합니다.

// Register
event_token EnableScannerRequested(TypedEventHandler<BarcodeScannerProviderConnection, BarcodeScannerEnableScannerRequestEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
BarcodeScannerProviderConnection::EnableScannerRequested_revoker EnableScannerRequested(auto_revoke_t, TypedEventHandler<BarcodeScannerProviderConnection, BarcodeScannerEnableScannerRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<BarcodeScannerProviderConnection,BarcodeScannerEnableScannerRequestEventArgs> EnableScannerRequested;
function onEnableScannerRequested(eventArgs) { /* Your code */ }
barcodeScannerProviderConnection.addEventListener("enablescannerrequested", onEnableScannerRequested);
barcodeScannerProviderConnection.removeEventListener("enablescannerrequested", onEnableScannerRequested);
- or -
barcodeScannerProviderConnection.onenablescannerrequested = onEnableScannerRequested;
Public Custom Event EnableScannerRequested As TypedEventHandler(Of BarcodeScannerProviderConnection, BarcodeScannerEnableScannerRequestEventArgs) 

이벤트 유형

적용 대상