Share via


BarcodeScannerProviderConnection.SetActiveSymbologiesRequested Event

Definition

Raised when the client app attempts to set the barcode symbologies for the device to use.

// Register
event_token SetActiveSymbologiesRequested(TypedEventHandler<BarcodeScannerProviderConnection, BarcodeScannerSetActiveSymbologiesRequestEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
BarcodeScannerProviderConnection::SetActiveSymbologiesRequested_revoker SetActiveSymbologiesRequested(auto_revoke_t, TypedEventHandler<BarcodeScannerProviderConnection, BarcodeScannerSetActiveSymbologiesRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<BarcodeScannerProviderConnection,BarcodeScannerSetActiveSymbologiesRequestEventArgs> SetActiveSymbologiesRequested;
function onSetActiveSymbologiesRequested(eventArgs) { /* Your code */ }
barcodeScannerProviderConnection.addEventListener("setactivesymbologiesrequested", onSetActiveSymbologiesRequested);
barcodeScannerProviderConnection.removeEventListener("setactivesymbologiesrequested", onSetActiveSymbologiesRequested);
- or -
barcodeScannerProviderConnection.onsetactivesymbologiesrequested = onSetActiveSymbologiesRequested;
Public Custom Event SetActiveSymbologiesRequested As TypedEventHandler(Of BarcodeScannerProviderConnection, BarcodeScannerSetActiveSymbologiesRequestEventArgs) 

Event Type

Applies to