Partager via


BarcodeScannerProviderConnection.StartSoftwareTriggerRequested Événement

Définition

Déclenché lorsque l’application cliente tente de signaler au scanneur de codes-barres de commencer l’analyse.

// Register
event_token StartSoftwareTriggerRequested(TypedEventHandler<BarcodeScannerProviderConnection, BarcodeScannerStartSoftwareTriggerRequestEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
BarcodeScannerProviderConnection::StartSoftwareTriggerRequested_revoker StartSoftwareTriggerRequested(auto_revoke_t, TypedEventHandler<BarcodeScannerProviderConnection, BarcodeScannerStartSoftwareTriggerRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<BarcodeScannerProviderConnection,BarcodeScannerStartSoftwareTriggerRequestEventArgs> StartSoftwareTriggerRequested;
function onStartSoftwareTriggerRequested(eventArgs) { /* Your code */ }
barcodeScannerProviderConnection.addEventListener("startsoftwaretriggerrequested", onStartSoftwareTriggerRequested);
barcodeScannerProviderConnection.removeEventListener("startsoftwaretriggerrequested", onStartSoftwareTriggerRequested);
- or -
barcodeScannerProviderConnection.onstartsoftwaretriggerrequested = onStartSoftwareTriggerRequested;
Public Custom Event StartSoftwareTriggerRequested As TypedEventHandler(Of BarcodeScannerProviderConnection, BarcodeScannerStartSoftwareTriggerRequestEventArgs) 

Type d'événement

S’applique à