BarcodeScannerProviderConnection.EnableScannerRequested Event

Definition

Raised when the client app attempts to enable the barcode scanner.

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

Event Type

Applies to