getBarcodeValue

调用设备相机来扫描条形码信息,例如产品名称。

适用于

模型驱动(移动客户端)和画布应用(移动客户端)

Syntax

context.device.getBarcodeValue()

返回值

类型:Promise<string>

请参阅 Promise

例外

请参阅 Web 服务错误代码

设备
Power Apps 组件框架 API 参考
Power Apps 组件框架概述