【发布时间】:2018-02-27 16:31:06
【问题描述】:
当我尝试在 tizen studio 中获取蓝牙属性时:
var bluetoothSwitchAppControl = new tizen.ApplicationControl('http://tizen.org/appcontrol/operation/edit', null, 'application/x-bluetooth-on-off');
var adapter = tizen.bluetooth.getDefaultAdapter();
我收到此错误:
未捕获的类型错误:无法读取未定义的属性“getDefaultAdapter”
问题是什么以及如何解决?
【问题讨论】:
标签: tizen tizen-wearable-sdk tizen-web-app