PhotoPay C SDK version 8.1.0
Public Member Functions
MBCroatiaQrPaymentRecognizer Struct Reference

Recognizer which can scan Croatian payment PDF417 2D barcode. More...

#include <CroatiaBarcodePaymentRecognizer.h>

Public Member Functions

MB_API MBRecognizerErrorStatus MB_CALL croatiaQrPaymentRecognizerCreate (MBCroatiaQrPaymentRecognizer **croatiaPdf417PaymentRecognizer, MBCroatiaQrPaymentRecognizerSettings const *croatiaQrPaymentRecognizerSettings)
 Allocates and initializes new MBCroatiaQrPaymentRecognizer object. More...
 
MB_API MBRecognizerErrorStatus MB_CALL croatiaQrPaymentRecognizerUpdate (MBCroatiaQrPaymentRecognizer *croatiaQrPaymentRecognizer, MBCroatiaQrPaymentRecognizerSettings const *croatiaQrPaymentRecognizerSettings)
 Updates the MBCroatiaQrPaymentRecognizer with the new settings. Note that updating the recognizer while it is being in use by MBRecognizerRunner will fail. More...
 
MB_API MBRecognizerErrorStatus MB_CALL croatiaQrPaymentRecognizerResult (MBCroatiaQrPaymentRecognizerResult *result, MBCroatiaQrPaymentRecognizer const *croatiaQrPaymentRecognizer)
 Obtains the result from the given MBCroatiaQrPaymentRecognizer object. More...
 
MB_API MBRecognizerErrorStatus MB_CALL croatiaQrPaymentRecognizerDelete (MBCroatiaQrPaymentRecognizer **croatiaQrPaymentRecognizer)
 Destroys the given MBCroatiaQrPaymentRecognizer. More...
 

Detailed Description

Recognizer which can scan Croatian payment PDF417 2D barcode.

Member Function Documentation

◆ croatiaQrPaymentRecognizerCreate()

MB_API MBRecognizerErrorStatus MB_CALL croatiaQrPaymentRecognizerCreate ( MBCroatiaQrPaymentRecognizer **  croatiaPdf417PaymentRecognizer,
MBCroatiaQrPaymentRecognizerSettings const *  croatiaQrPaymentRecognizerSettings 
)

Allocates and initializes new MBCroatiaQrPaymentRecognizer object.

Parameters
croatiaPdf417PaymentRecognizerPointer to pointer referencing the created MBCroatiaQrPaymentRecognizer object.
croatiaQrPaymentRecognizerSettingsSettings that will be used for creating of the MBCroatiaQrPaymentRecognizer object.
Returns
status of the operation. The operation may fail (i.e. if license key is not set or does not allow usage of the requested recognizer), so please check the returned status for possible errors.

◆ croatiaQrPaymentRecognizerDelete()

MB_API MBRecognizerErrorStatus MB_CALL croatiaQrPaymentRecognizerDelete ( MBCroatiaQrPaymentRecognizer **  croatiaQrPaymentRecognizer)

Destroys the given MBCroatiaQrPaymentRecognizer.

Parameters
croatiaQrPaymentRecognizerPointer to pointer to MBCroatiaQrPaymentRecognizer structure that needs to be destroyed. After destruction, the pointer to MBCroatiaQrPaymentRecognizer structure will be set to NULL.
Returns
status of the operation

◆ croatiaQrPaymentRecognizerResult()

MB_API MBRecognizerErrorStatus MB_CALL croatiaQrPaymentRecognizerResult ( MBCroatiaQrPaymentRecognizerResult result,
MBCroatiaQrPaymentRecognizer const *  croatiaQrPaymentRecognizer 
)

Obtains the result from the given MBCroatiaQrPaymentRecognizer object.

Parameters
resultMBCroatiaQrPaymentRecognizerResult structure that will be filled with the recognized data. Note that all pointers in structure will remain valid until given recognizer is destroyed with croatiaQrPaymentRecognizerDelete function or is used for performing the new recognition.
croatiaQrPaymentRecognizerMBCroatiaQrPaymentRecognizer from which result should be obtained.
Returns
status of the operation.

◆ croatiaQrPaymentRecognizerUpdate()

MB_API MBRecognizerErrorStatus MB_CALL croatiaQrPaymentRecognizerUpdate ( MBCroatiaQrPaymentRecognizer croatiaQrPaymentRecognizer,
MBCroatiaQrPaymentRecognizerSettings const *  croatiaQrPaymentRecognizerSettings 
)

Updates the MBCroatiaQrPaymentRecognizer with the new settings. Note that updating the recognizer while it is being in use by MBRecognizerRunner will fail.

Parameters
croatiaQrPaymentRecognizerMBCroatiaQrPaymentRecognizer that should be updated with new settings.
croatiaQrPaymentRecognizerSettingsSettings that will be used for updating the MBCroatiaQrPaymentRecognizer object.
Returns
status of the operation. The operation may fail (i.e. if recognizer is in use by the MBRecognizerRunner), so please check the returned status for possible errors.

The documentation for this struct was generated from the following file: