From 8e054da5e8ccd8c7aa48f343cfdb68285d4a1548 Mon Sep 17 00:00:00 2001 From: guoxiadi Date: Wed, 18 Jun 2025 19:17:05 +0800 Subject: [PATCH] arkts version bt Signed-off-by: guoxiadi --- api/@ohos.bluetooth.a2dp.d.ts | 3 ++- api/@ohos.bluetooth.ble.d.ts | 12 ++++++++---- api/@ohos.bluetooth.connection.d.ts | 9 ++++++--- api/@ohos.bluetooth.hfp.d.ts | 3 ++- api/@ohos.bluetooth.hid.d.ts | 3 ++- 5 files changed, 20 insertions(+), 10 deletions(-) diff --git a/api/@ohos.bluetooth.a2dp.d.ts b/api/@ohos.bluetooth.a2dp.d.ts index a4403cf13d..6e2402d568 100644 --- a/api/@ohos.bluetooth.a2dp.d.ts +++ b/api/@ohos.bluetooth.a2dp.d.ts @@ -43,7 +43,8 @@ declare namespace a2dp { * * @typedef { baseProfile.BaseProfile } BaseProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since arkts {'1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ type BaseProfile = baseProfile.BaseProfile; diff --git a/api/@ohos.bluetooth.ble.d.ts b/api/@ohos.bluetooth.ble.d.ts index c0cc1c722f..0a0853d7e7 100644 --- a/api/@ohos.bluetooth.ble.d.ts +++ b/api/@ohos.bluetooth.ble.d.ts @@ -3951,7 +3951,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since arkts {'1.1':'13','1.2':'20'} + * @arkts 1.1&1.2 */ interface DescriptorReadRequest { /** @@ -4125,7 +4126,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since arkts {'1.1':'13','1.2':'20'} + * @arkts 1.1&1.2 */ interface DescriptorWriteRequest { /** @@ -5131,7 +5133,8 @@ declare namespace ble { * @typedef AdvertisingStateChangeInfo * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since 13 + * @since arkts {'1.1':'13','1.2':'20'} + * @arkts 1.1&1.2 */ interface AdvertisingStateChangeInfo { /** @@ -6147,7 +6150,8 @@ declare namespace ble { * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since 13 + * @since arkts {'1.1':'13','1.2':'20'} + * @arkts 1.1&1.2 */ enum AdvertisingState { /** diff --git a/api/@ohos.bluetooth.connection.d.ts b/api/@ohos.bluetooth.connection.d.ts index 219ca1502a..014f7757e2 100644 --- a/api/@ohos.bluetooth.connection.d.ts +++ b/api/@ohos.bluetooth.connection.d.ts @@ -1676,7 +1676,8 @@ declare namespace connection { * * @typedef PinRequiredParam * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since arkts {'1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ interface PinRequiredParam { /** @@ -2066,7 +2067,8 @@ declare namespace connection { * * @typedef DiscoveryResult * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 18 + * @since arkts {'1.1':'18','1.2':'20'} + * @arkts 1.1&1.2 */ interface DiscoveryResult { /** @@ -2141,7 +2143,8 @@ declare namespace connection { * * @typedef BatteryInfo * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 12 + * @since arkts {'1.1':'12','1.2':'20'} + * @arkts 1.1&1.2 */ interface BatteryInfo { /** diff --git a/api/@ohos.bluetooth.hfp.d.ts b/api/@ohos.bluetooth.hfp.d.ts index 62dfaacc35..53e4c633c3 100644 --- a/api/@ohos.bluetooth.hfp.d.ts +++ b/api/@ohos.bluetooth.hfp.d.ts @@ -34,7 +34,8 @@ declare namespace hfp { * * @typedef { baseProfile.BaseProfile } BaseProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since arkts {'1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ type BaseProfile = baseProfile.BaseProfile; diff --git a/api/@ohos.bluetooth.hid.d.ts b/api/@ohos.bluetooth.hid.d.ts index b31f161d14..7375d03744 100644 --- a/api/@ohos.bluetooth.hid.d.ts +++ b/api/@ohos.bluetooth.hid.d.ts @@ -34,7 +34,8 @@ declare namespace hid { * * @typedef { baseProfile.BaseProfile } BaseProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since arkts {'1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ type BaseProfile = baseProfile.BaseProfile; -- Gitee