未验证 提交 809b0d10 编写于 作者: O openharmony_ci 提交者: Gitee

!8840 蓝牙文档表格错乱修正

Merge pull request !8840 from 王江颖/OpenHarmony-3.1-Release
...@@ -1269,9 +1269,8 @@ getConnectionDevices(): Array<string> ...@@ -1269,9 +1269,8 @@ getConnectionDevices(): Array<string>
**返回值:** **返回值:**
| | | | 类型 | 说明 |
| ------------------- | ------------- | | ------------------- | ------------- |
| 类型 | 说明 |
| Array<string> | 返回已连接设备的地址列表。 | | Array<string> | 返回已连接设备的地址列表。 |
...@@ -1290,11 +1289,11 @@ getDeviceState(device: string): ProfileConnectionState ...@@ -1290,11 +1289,11 @@ getDeviceState(device: string): ProfileConnectionState
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 必填 | 说明 |
| ------ | ------ | ---- | ------- | | ------ | ------ | ---- | ------- |
| device | string | 是 | 远端设备地址。 | | device | string | 是 | 远端设备地址。 |
**返回值:** **返回值:**
| | | | 类型 | 说明 |
| ------------------------------------------------- | ----------------------- | | ------------------------------------------------- | ----------------------- |
| 类型 | 说明 |
| [ProfileConnectionState](#profileconnectionstate) | 返回profile的连接状态。 | | [ProfileConnectionState](#profileconnectionstate) | 返回profile的连接状态。 |
...@@ -1318,13 +1317,11 @@ connect(device: string): boolean ...@@ -1318,13 +1317,11 @@ connect(device: string): boolean
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 必填 | 说明 |
| ------ | ------ | ---- | ------- | | ------ | ------ | ---- | ------- |
| device | string | 是 | 远端设备地址。 | | device | string | 是 | 远端设备地址。 |
|
**返回值:** **返回值:**
| | |
| ------- | ------------------- |
| 类型 | 说明 | | 类型 | 说明 |
| ------- | ------------------- |
| boolean | 成功返回true,失败返回false。 | | boolean | 成功返回true,失败返回false。 |
**示例:** **示例:**
...@@ -1350,13 +1347,12 @@ disconnect(device: string): boolean ...@@ -1350,13 +1347,12 @@ disconnect(device: string): boolean
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 必填 | 说明 |
| ------ | ------ | ---- | ------- | | ------ | ------ | ---- | ------- |
| device | string | 是 | 远端设备地址。 | | device | string | 是 | 远端设备地址。 |
|
**返回值:** **返回值:**
| | |
| ------- | ------------------- |
| 类型 | 说明 | | 类型 | 说明 |
| ------- | ------------------- |
| boolean | 成功返回true,失败返回false。 | | boolean | 成功返回true,失败返回false。 |
**示例:** **示例:**
...@@ -1443,9 +1439,8 @@ getPlayingState(device: string): PlayingState ...@@ -1443,9 +1439,8 @@ getPlayingState(device: string): PlayingState
**返回值:** **返回值:**
| | |
| ----------------------------- | ---------- |
| 类型 | 说明 | | 类型 | 说明 |
| ----------------------------- | ---------- |
| [PlayingState](#PlayingState) | 远端设备的播放状态。 | | [PlayingState](#PlayingState) | 远端设备的播放状态。 |
**示例:** **示例:**
...@@ -1476,13 +1471,12 @@ connect(device: string): boolean ...@@ -1476,13 +1471,12 @@ connect(device: string): boolean
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 必填 | 说明 |
| ------ | ------ | ---- | ------- | | ------ | ------ | ---- | ------- |
| device | string | 是 | 远端设备地址。 | | device | string | 是 | 远端设备地址。 |
|
**返回值:** **返回值:**
| | |
| ------- | ------------------- |
| 类型 | 说明 | | 类型 | 说明 |
| ------- | ------------------- |
| boolean | 成功返回true,失败返回false。 | | boolean | 成功返回true,失败返回false。 |
**示例:** **示例:**
...@@ -1508,7 +1502,7 @@ disconnect(device: string): boolean ...@@ -1508,7 +1502,7 @@ disconnect(device: string): boolean
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 必填 | 说明 |
| ------ | ------ | ---- | ------- | | ------ | ------ | ---- | ------- |
| device | string | 是 | 远端设备地址。 | | device | string | 是 | 远端设备地址。 |
|
**返回值:** **返回值:**
...@@ -1753,9 +1747,8 @@ removeService(serviceUuid: string): boolean ...@@ -1753,9 +1747,8 @@ removeService(serviceUuid: string): boolean
**返回值:** **返回值:**
| | |
| ------- | -------------------------- |
| 类型 | 说明 | | 类型 | 说明 |
| ------- | -------------------------- |
| boolean | 删除服务操作,成功返回true,否则返回false。 | | boolean | 删除服务操作,成功返回true,否则返回false。 |
**示例:** **示例:**
...@@ -1803,9 +1796,8 @@ server端特征值发生变化时,主动通知已连接的client设备。 ...@@ -1803,9 +1796,8 @@ server端特征值发生变化时,主动通知已连接的client设备。
**返回值:** **返回值:**
| | |
| ------- | ------------------------ |
| 类型 | 说明 | | 类型 | 说明 |
| ------- | ------------------------ |
| boolean | 通知操作,成功返回true,否则返回false。 | | boolean | 通知操作,成功返回true,否则返回false。 |
**示例:** **示例:**
...@@ -1849,9 +1841,8 @@ server端回复client端的读写请求。 ...@@ -1849,9 +1841,8 @@ server端回复client端的读写请求。
**返回值:** **返回值:**
| | |
| ------- | -------------------------- |
| 类型 | 说明 | | 类型 | 说明 |
| ------- | -------------------------- |
| boolean | 回复响应操作,成功返回true,否则返回false。 | | boolean | 回复响应操作,成功返回true,否则返回false。 |
**示例:** **示例:**
...@@ -2479,9 +2470,8 @@ client端读取蓝牙低功耗设备特定服务的特征值。 ...@@ -2479,9 +2470,8 @@ client端读取蓝牙低功耗设备特定服务的特征值。
**返回值:** **返回值:**
| | |
| ---------------------------------------- | -------------------------- |
| 类型 | 说明 | | 类型 | 说明 |
| ---------------------------------------- | -------------------------- |
| Promise<[BLECharacteristic](#blecharacteristic)> | client读取特征值,通过promise形式获取。 | | Promise<[BLECharacteristic](#blecharacteristic)> | client读取特征值,通过promise形式获取。 |
**示例:** **示例:**
...@@ -2570,9 +2560,8 @@ client端读取蓝牙低功耗设备特定的特征包含的描述符。 ...@@ -2570,9 +2560,8 @@ client端读取蓝牙低功耗设备特定的特征包含的描述符。
**返回值:** **返回值:**
| | |
| ---------------------------------------- | -------------------------- |
| 类型 | 说明 | | 类型 | 说明 |
| ---------------------------------------- | -------------------------- |
| Promise<[BLEDescriptor](#bledescriptor)> | client读取描述符,通过promise形式获取。 | | Promise<[BLEDescriptor](#bledescriptor)> | client读取描述符,通过promise形式获取。 |
**示例:** **示例:**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册