Share via


ClaimedBarcodeScanner class (Handheld 8)

2/18/2014

Represents the claimed barcode scanner.

Syntax

public sealed class ClaimedBarcodeScanner : Object,
    IDisposable
Public NotInheritable Class ClaimedBarcodeScanner
    Inherits Object
    Implements IDisposable
public ref class ClaimedBarcodeScanner sealed : Object,
    IClosable

Attributes

MarshalingBehaviorAttribute(Agile)
ThreadingAttribute(Both)
VersionAttribute(NTDDI_WIN8)

Members

The ClaimedBarcodeScanner class has these types of members:

  • Events
  • Methods
  • Properties

Events

The ClaimedBarcodeScanner class has these events.

Event Description

DataReceived

Occurs when the device scans a barcode.

ErrorOccured

Occurs when the barcode scanner detects an error.

ImagePreviewReceived

Occurs when the device receives the bitmap image of the scan.

ReleaseDeviceRequested

Occurs when the device gets a request to release its exclusive claim.

TriggerPressed

Occurs when the barcode scanner trigger or button is pressed during a scanning operation.

TriggerReleased

Occurs when the barcode scanner trigger or button is released during a scanning operation.

Methods

The ClaimedBarcodeScanner class has these methods. It also inherits methods from the Object class.

Method Description

DisableAsync

Puts the barcode scanner into a non-operational state.

EnableAsync

Gets the barcode scanner into a ready state.

RetainDevice

Retains exclusive claim to the barcode scanner.

ResetStatisticsAsync

Resets the specified statistics to zero for all statistics that can be reset.

UpdateStatisticsAsync

Updates the specified statistics.

SetActiveProfileAsync

Sets the active profile on the barcode scanner.

SetActiveSymbologiesAsync

Sets the barcode scanner to use the specified symbology.

Properties

The ClaimedBarcodeScanner class has these properties.

Property Access type Description

DeviceId

Read/write

Gets the DeviceInformation.Id property of the claimed barcode scanner.

IsDecodeDataEnabled

Read/write

Gets or sets a Boolean value that indicates whether to provide the decoded data to the application.

IsDisabledOnDataReceived

Read/write

Gets or sets a Boolean value that indicates whether the barcode scanner is disabled after receiving the data.

IsEnabled

Read-only

Indicates whether the barcode scanner can receive DataReceived events.

See Also

Reference

Windows.Devices.PointOfService namespace