Bagikan melalui


BarcodeScannerProviderConnection.StartSoftwareTriggerRequested Kejadian

Definisi

Muncul ketika aplikasi klien mencoba memberi sinyal pemindai kode batang untuk mulai memindai.

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

Jenis Acara

Berlaku untuk