Partager via


BarcodeScannerProviderConnection.EnableScannerRequested Événement

Définition

Déclenché lorsque l’application cliente tente d’activer le scanneur de codes-barres.

// 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) 

Type d'événement

S’applique à