fix jsdoc error

Signed-off-by: hui <lizhihui10@huawei.com>
This commit is contained in:
hui 2024-07-24 11:15:29 +08:00
parent 3808e2f714
commit 967e0f856d
5 changed files with 198 additions and 0 deletions

View File

@ -391,6 +391,7 @@ declare namespace a2dp {
/**
* codec type
*
* @type { CodecType }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 11
*/
@ -398,6 +399,7 @@ declare namespace a2dp {
/**
* codec bits per sample.
*
* @type { CodecBitsPerSample }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 11
*/
@ -405,6 +407,7 @@ declare namespace a2dp {
/**
* codec channel mode.
*
* @type { CodecChannelMode }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 11
*/
@ -412,6 +415,7 @@ declare namespace a2dp {
/**
* codec sample rate.
*
* @type { CodecSampleRate }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 11
*/

View File

@ -136,6 +136,7 @@ declare namespace baseProfile {
/**
* The address of device
*
* @type { string }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 10
*/
@ -144,6 +145,7 @@ declare namespace baseProfile {
/**
* Profile state value
*
* @type { ProfileConnectionState }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 10
*/

File diff suppressed because it is too large Load Diff

View File

@ -1098,6 +1098,7 @@ declare namespace connection {
/**
* Address of a Bluetooth device.
*
* @type { string }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 10
*/
@ -1105,6 +1106,7 @@ declare namespace connection {
/**
* Profile connection state of the device.
*
* @type { BondState }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 10
*/
@ -1112,6 +1114,7 @@ declare namespace connection {
/**
* Cause of unbond.
*
* @type { UnbondCause }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 12
*/
@ -1129,6 +1132,7 @@ declare namespace connection {
/**
* ID of the device to pair.
*
* @type { string }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 10
*/
@ -1136,6 +1140,7 @@ declare namespace connection {
/**
* Key for the device pairing.
*
* @type { string }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 10
*/
@ -1143,6 +1148,7 @@ declare namespace connection {
/**
* Indicates the pairing type to a peer device.
*
* @type { PinType }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @systemapi
* @since 10
@ -1161,6 +1167,7 @@ declare namespace connection {
/**
* Major classes of Bluetooth devices.
*
* @type { MajorClass }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 10
*/
@ -1168,6 +1175,7 @@ declare namespace connection {
/**
* Major and minor classes of Bluetooth devices.
*
* @type { MajorMinorClass }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 10
*/
@ -1175,6 +1183,7 @@ declare namespace connection {
/**
* Class of the device.
*
* @type { number }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 10
*/
@ -1404,6 +1413,7 @@ declare namespace connection {
/**
* Identify of the discovery device
*
* @type { string }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @systemapi
* @since 12
@ -1412,6 +1422,7 @@ declare namespace connection {
/**
* RSSI of the remote device
*
* @type { number }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @systemapi
* @since 12
@ -1420,6 +1431,7 @@ declare namespace connection {
/**
* The local name of the device
*
* @type { string }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @systemapi
* @since 12
@ -1428,6 +1440,7 @@ declare namespace connection {
/**
* The class of the device
*
* @type { DeviceClass }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @systemapi
* @since 12
@ -1446,6 +1459,7 @@ declare namespace connection {
/**
* Identify of the discovery device.
*
* @type { string }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @systemapi
* @since 12

View File

@ -169,6 +169,7 @@ declare namespace socket {
/**
* Indicates the UUID in the SDP record.
*
* @type { string }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 10
*/
@ -176,6 +177,7 @@ declare namespace socket {
/**
* Indicates secure channel or not
*
* @type { boolean }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 10
*/
@ -183,6 +185,7 @@ declare namespace socket {
/**
* Spp link type
*
* @type { SppType }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 10
*/