提交 f3a099f2 编写于 作者: C cff-gite

添加接口

Signed-off-by: Ncff-gite <chenfeifei8@huawei.com>
上级 0d16e37a
......@@ -2460,7 +2460,6 @@ getSingleSensor(type:SensorType, callback: AsyncCallback&lt;sensor&gt;): void
sensor.getSingleSensor(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, (error, data) => {
if (error) {
console.error('getSingleSensor failed');
expect(false).assertTrue();
} else {
console.info("getSingleSensor " + JSON.stringify(data));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册