Skip to main content

In-Person Payments

VFIScannerDataEvent.h

Last updated: 11-Jul-2024

Variables

NSString *__nonnull const VFIScannerDataEventSCANNERDATARECEIVED
class VFIScannerDataEvent : public NSObject

  • Scanner Data Event Handler

Public Functions

virtual nullable NSString * getMessage ()

  • A user-readable message. This message may not be localized, in which case the type field should be used for determining a localized message.

virtual nullable NSString * getType ()

  • The type of status. This will generally be SUCCESS for a status of 0, and contain a different type for other errors.

virtual int32_t getStatus()

  • Get the status for this particular event. A status of 0 means success, any other status is a failure.

virtual nonnull NSString * getDataAsString ()

  • Get scanner captured data returned as a string.

virtual nonnull NSData * getDataAsBinary ()

  • Get scanner captured data returned as an array of bytes.

virtual VFIScannerBarcodeFormatEnum getFormat()

  • Get scannerFormat returned from successful scan.

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo