EMDK 3.1 解初始化扫描器的正确方法



我使用 EMDK 3.0 编写了用于取消初始化扫描程序的示例应用程序,它的正确方法是什么?

scanner.cancelRead();
scanner.disable();
scanner.removeDataListener(this);
scanner.removeStatusListener(this);
scanner.release();

我想订购上述步骤。

有一个

完整的示例代码,请访问: https://developer.motorolasolutions.com/docs/DOC-2659

根据文档,正确的程序似乎是:

scanner.cancelRead();
scanner.disable();

最新更新