ClaimedBarcodeScanner.Closed ClaimedBarcodeScanner.Closed ClaimedBarcodeScanner.Closed ClaimedBarcodeScanner.Closed ClaimedBarcodeScanner.Closed Event

Definition

Event that is raised when the ClaimedBarcodeScanner is closed.

public : event TypedEventHandler<ClaimedBarcodeScanner, ClaimedBarcodeScannerClosedEventArgs> Closed
// Register
event_token Closed(TypedEventHandler<ClaimedBarcodeScanner, ClaimedBarcodeScannerClosedEventArgs> const& handler) const;

// Revoke with event_token
void Closed(event_token const& cookie) const;

// Revoke with event_revoker
Closed_revoker Closed(auto_revoke_t, TypedEventHandler<ClaimedBarcodeScanner, ClaimedBarcodeScannerClosedEventArgs> const& handler) const;
public event TypedEventHandler<ClaimedBarcodeScanner, ClaimedBarcodeScannerClosedEventArgs> Closed
Public Event Closed As TypedEventHandler (Of ClaimedBarcodeScanner, ClaimedBarcodeScannerClosedEventArgs)
function onClosed(eventArgs){/* Your code */}


claimedBarcodeScanner.addEventListener("closed", onClosed);
claimedBarcodeScanner.removeEventListener("closed", onClosed);

Remarks

When an application is suspended, all ClaimedBarcodeScanner objects are closed. This event can be useful to determine when barcode scanner connections need to be re-established.

See also