Freigeben über


BarcodeScannerProviderConnection.EnableScannerRequested Ereignis

Definition

Wird ausgelöst, wenn die Client-App versucht, den Barcodescanner zu aktivieren.

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

Ereignistyp

Gilt für: