PosEventType enumeration (pointofservicedriverinterface.h)

This enumeration defines values used in the PosEventDataHeader structure to indicate the type of event that was raised.

Syntax

typedef enum _PosEventType {
  InvalidEvent,
  _MinEventType,
  ReleaseDeviceRequested,
  StatusUpdated,
  BarcodeScannerTriggerPressed,
  BarcodeScannerTriggerReleased,
  BarcodeScannerDataReceived,
  BarcodeScannerErrorOccurred,
  BarcodeScannerImagePreviewReceived,
  MagneticStripeReaderDataReceived,
  MagneticStripeReaderErrorOccurred,
  _Max
} PosEventType;

Constants

 
InvalidEvent
The event code is not valid.
_MinEventType
Reserved for internal use.
ReleaseDeviceRequested
Represents the ReleaseDeviceRequested event.
StatusUpdated
Represents the StatusUpdated event.
BarcodeScannerTriggerPressed
Represents the BarcodeScannerTriggerPressed event.
BarcodeScannerTriggerReleased
Represents the BarcodeScannerTriggerReleased event.
BarcodeScannerDataReceived
Represents the BarcodeScannerDataReceived event.
BarcodeScannerErrorOccurred
Represents the BarcodeScannerErrorOccurred event.
BarcodeScannerImagePreviewReceived
Represents the BarcodeScannerImagePreviewReceived event.
MagneticStripeReaderDataReceived
Represents the MagneticStripeReaderDataReceived event.
MagneticStripeReaderErrorOccurred
Represents the MagneticStripeReaderErrorOccurred event.
_Max
Reserved for internal use.

Requirements

Requirement Value
Header pointofservicedriverinterface.h (include Pointofservicedriverinterface.h)