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

添加接口

Signed-off-by: Ncff-gite <chenfeifei8@huawei.com>
上级 b97c2930
...@@ -2439,7 +2439,7 @@ sensor.getSensorList().then((data) => { ...@@ -2439,7 +2439,7 @@ sensor.getSensorList().then((data) => {
}); });
``` ```
## sensor. getSingleSensor <sup>9+</sup> ## sensor.getSingleSensor<sup>9+</sup>
getSingleSensor(type:SensorType, callback: AsyncCallback&lt;sensor&gt;): void getSingleSensor(type:SensorType, callback: AsyncCallback&lt;sensor&gt;): void
...@@ -2466,7 +2466,7 @@ getSingleSensor(type:SensorType, callback: AsyncCallback&lt;sensor&gt;): void ...@@ -2466,7 +2466,7 @@ getSingleSensor(type:SensorType, callback: AsyncCallback&lt;sensor&gt;): void
}); });
``` ```
## sensor. getSingleSensor <sup>9+</sup> ## sensor.getSingleSensor<sup>9+</sup>
getSingleSensor(type: SensorType,): Promise&lt;Sensor&gt; getSingleSensor(type: SensorType,): Promise&lt;Sensor&gt;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册