本文へスキップ

BS2_SetBarcodeScanListener

+ v2.8.2 Register the listener function that detects barcode input.

Declaration​

#include "BS_API.h"

int BS2_SetBarcodeScanListener(void* context, OnBarcodeScanned ptrBarcodeScanned);

Parameters​

  • [In] context : Context

  • [In] ptrBarcodeScanned : Callback function to receive barcode when the device is scanned

Return value​

Returns BS_SDK_SUCCESS if performed successfully, or a corresponding error code if an error occurs.

このページは役に立ちましたか?