Share via


BarcodeScanner.StatusUpdated Event

Definition

Occurs when the barcode scanner detects an operation status change.

// Register
event_token StatusUpdated(TypedEventHandler<BarcodeScanner, BarcodeScannerStatusUpdatedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
BarcodeScanner::StatusUpdated_revoker StatusUpdated(auto_revoke_t, TypedEventHandler<BarcodeScanner, BarcodeScannerStatusUpdatedEventArgs const&> const& handler) const;
public event TypedEventHandler<BarcodeScanner,BarcodeScannerStatusUpdatedEventArgs> StatusUpdated;
function onStatusUpdated(eventArgs) { /* Your code */ }
barcodeScanner.addEventListener("statusupdated", onStatusUpdated);
barcodeScanner.removeEventListener("statusupdated", onStatusUpdated);
- or -
barcodeScanner.onstatusupdated = onStatusUpdated;
Public Custom Event StatusUpdated As TypedEventHandler(Of BarcodeScanner, BarcodeScannerStatusUpdatedEventArgs) 

Event Type

Applies to