diff --git a/api/@ohos.bluetooth.connection.d.ts b/api/@ohos.bluetooth.connection.d.ts index bd27512c0..8638199e6 100644 --- a/api/@ohos.bluetooth.connection.d.ts +++ b/api/@ohos.bluetooth.connection.d.ts @@ -63,6 +63,13 @@ declare namespace connection { * @systemapi * @since 10 */ + /** + * Indicate the profile uuid. + * + * @typedef { constant.ProfileUuids } ProfileUuids + * @syscap SystemCapability.Communication.Bluetooth.Core + * @since 12 + */ type ProfileUuids = constant.ProfileUuids; /** diff --git a/api/@ohos.bluetooth.constant.d.ts b/api/@ohos.bluetooth.constant.d.ts index ff03e16c3..5e001baad 100644 --- a/api/@ohos.bluetooth.constant.d.ts +++ b/api/@ohos.bluetooth.constant.d.ts @@ -83,6 +83,13 @@ declare namespace constant { * @systemapi * @since 10 */ + /** + * Enum for the profile's uuid + * + * @enum { string } + * @syscap SystemCapability.Communication.Bluetooth.Core + * @since 12 + */ export enum ProfileUuids { /** * Hands-Free Profile: Audio Gateway @@ -91,6 +98,12 @@ declare namespace constant { * @systemapi * @since 10 */ + /** + * Hands-Free Profile: Audio Gateway + * + * @syscap SystemCapability.Communication.Bluetooth.Core + * @since 12 + */ PROFILE_UUID_HFP_AG = '0000111F-0000-1000-8000-00805F9B34FB', /** * Hands-Free Profile: Hands Free @@ -99,6 +112,12 @@ declare namespace constant { * @systemapi * @since 10 */ + /** + * Hands-Free Profile: Hands Free + * + * @syscap SystemCapability.Communication.Bluetooth.Core + * @since 12 + */ PROFILE_UUID_HFP_HF = '0000111E-0000-1000-8000-00805F9B34FB', /** * Headset Profile: Audio Gateway @@ -107,6 +126,12 @@ declare namespace constant { * @systemapi * @since 10 */ + /** + * Headset Profile: Audio Gateway + * + * @syscap SystemCapability.Communication.Bluetooth.Core + * @since 12 + */ PROFILE_UUID_HSP_AG = '00001112-0000-1000-8000-00805F9B34FB', /** * Headset Profile: Headset @@ -115,6 +140,12 @@ declare namespace constant { * @systemapi * @since 10 */ + /** + * Headset Profile: Headset + * + * @syscap SystemCapability.Communication.Bluetooth.Core + * @since 12 + */ PROFILE_UUID_HSP_HS = '00001108-0000-1000-8000-00805F9B34FB', /** * Advanced Audio Distribution Profile: Source @@ -123,6 +154,12 @@ declare namespace constant { * @systemapi * @since 10 */ + /** + * Advanced Audio Distribution Profile: Source + * + * @syscap SystemCapability.Communication.Bluetooth.Core + * @since 12 + */ PROFILE_UUID_A2DP_SRC = '0000110A-0000-1000-8000-00805F9B34FB', /** * Advanced Audio Distribution Profile: Sink @@ -131,6 +168,12 @@ declare namespace constant { * @systemapi * @since 10 */ + /** + * Advanced Audio Distribution Profile: Sink + * + * @syscap SystemCapability.Communication.Bluetooth.Core + * @since 12 + */ PROFILE_UUID_A2DP_SINK = '0000110B-0000-1000-8000-00805F9B34FB', /** * Audio/Video Remote Control Profile: Controller @@ -139,6 +182,12 @@ declare namespace constant { * @systemapi * @since 10 */ + /** + * Audio/Video Remote Control Profile: Controller + * + * @syscap SystemCapability.Communication.Bluetooth.Core + * @since 12 + */ PROFILE_UUID_AVRCP_CT = '0000110E-0000-1000-8000-00805F9B34FB', /** * Audio/Video Remote Control Profile: Target @@ -147,6 +196,12 @@ declare namespace constant { * @systemapi * @since 10 */ + /** + * Audio/Video Remote Control Profile: Target + * + * @syscap SystemCapability.Communication.Bluetooth.Core + * @since 12 + */ PROFILE_UUID_AVRCP_TG = '0000110C-0000-1000-8000-00805F9B34FB', /** * Human Interface Device Profile @@ -155,6 +210,12 @@ declare namespace constant { * @systemapi * @since 10 */ + /** + * Human Interface Device Profile + * + * @syscap SystemCapability.Communication.Bluetooth.Core + * @since 12 + */ PROFILE_UUID_HID = '00001124-0000-1000-8000-00805F9B34FB', /** * HID over GATT Profile @@ -163,6 +224,12 @@ declare namespace constant { * @systemapi * @since 10 */ + /** + * HID over GATT Profile + * + * @syscap SystemCapability.Communication.Bluetooth.Core + * @since 12 + */ PROFILE_UUID_HOGP = '00001812-0000-1000-8000-00805F9B34FB' }