インタフェース BarcodeManagerCallback


public interface BarcodeManagerCallback
Callback interface of BarcodeManager
  • メソッドの詳細

    • onReceivedBarcodeDecodeData

      default void onReceivedBarcodeDecodeData(String decodeData, Map<String,String> parameter)
      Receive decode and parameter data by callback when scan barcode. BarcodeManager.startDecode() BarcodeManager.startDecode(int, int)
      パラメータ:
      decodeData - Decoded data of the barcode that was scanned.
      parameter - Map object containing parameters If no parameters are stored, null is returned.
      KEY_PARAMETER_CODE_ID = Code ID
    • onReceivedBarcodeDecodeData

      default void onReceivedBarcodeDecodeData(byte[] decodeData)
      Receive decode data by callback when scan barcode. BarcodeManager.startDecode() BarcodeManager.startDecode(int, int)
      パラメータ:
      decodeData - Decoded data of the barcode that was scanned.
    • onReceivedResponse

      default void onReceivedResponse(BarcodeConst.BarcodeCommandAction type, BarcodeResult result)
      Receive response event.
      Executed response.
      パラメータ:
      type - : Type of action processed. BarcodeConst.BarcodeCommandAction
      result - : Description of processing results. BarcodeResult
    • onBarcodeManagerStandByReady

      default void onBarcodeManagerStandByReady()
      Called back when information acquisition from the terminal after connecting to AsReader is completed. Attention!

      If you wish to set barcodes or other settings during initialization from the application, do so after this callback. For example, setting character assignment, formatting, barcode read enable setting, etc.
    • onBarcodeManagerError

      void onBarcodeManagerError(BarcodeManagerError error)
      Called when an error occurred.
      パラメータ:
      error - Error messages.