diff --git a/api/@ohos.bluetooth.a2dp.d.ts b/api/@ohos.bluetooth.a2dp.d.ts index b9774a32f6a68fad1fa836fc1458f3c521f2ac32..8d87b2f8dec0ecaa9a34e223b93c49a7b8ca091d 100644 --- a/api/@ohos.bluetooth.a2dp.d.ts +++ b/api/@ohos.bluetooth.a2dp.d.ts @@ -168,8 +168,7 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ isAbsoluteVolumeSupported(deviceId: string): Promise; @@ -189,8 +188,7 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ isAbsoluteVolumeSupported(deviceId: string, callback: AsyncCallback): void; @@ -210,8 +208,7 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ isAbsoluteVolumeEnabled(deviceId: string): Promise; @@ -231,8 +228,7 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ isAbsoluteVolumeEnabled(deviceId: string, callback: AsyncCallback): void; @@ -252,8 +248,7 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ enableAbsoluteVolume(deviceId: string): Promise; @@ -273,8 +268,7 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ enableAbsoluteVolume(deviceId: string, callback: AsyncCallback): void; @@ -294,8 +288,7 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ disableAbsoluteVolume(deviceId: string): Promise; @@ -315,8 +308,7 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ disableAbsoluteVolume(deviceId: string, callback: AsyncCallback): void; diff --git a/api/@ohos.bluetooth.access.d.ts b/api/@ohos.bluetooth.access.d.ts index 886358a2137f4d63441243b021dedd5973f6583c..97652ad7a624358bca9222a4ccf2d73a01dc46c7 100644 --- a/api/@ohos.bluetooth.access.d.ts +++ b/api/@ohos.bluetooth.access.d.ts @@ -251,8 +251,7 @@ declare namespace access { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ function factoryReset(callback: AsyncCallback): void; @@ -268,8 +267,7 @@ declare namespace access { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ function factoryReset(): Promise; diff --git a/api/@ohos.bluetooth.baseProfile.d.ts b/api/@ohos.bluetooth.baseProfile.d.ts index 27f240b77424a83be8b494879c036b712f6ba5c7..a7aacb613be13ba0ba93ddb3a69e71f78721befe 100644 --- a/api/@ohos.bluetooth.baseProfile.d.ts +++ b/api/@ohos.bluetooth.baseProfile.d.ts @@ -276,8 +276,7 @@ declare namespace baseProfile { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ setConnectionStrategy(deviceId: string, strategy: ConnectionStrategy): Promise; @@ -299,8 +298,7 @@ declare namespace baseProfile { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ setConnectionStrategy(deviceId: string, strategy: ConnectionStrategy, callback: AsyncCallback): void; @@ -321,8 +319,7 @@ declare namespace baseProfile { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ getConnectionStrategy(deviceId: string, callback: AsyncCallback): void; @@ -343,8 +340,7 @@ declare namespace baseProfile { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ getConnectionStrategy(deviceId: string): Promise; diff --git a/api/@ohos.bluetooth.ble.d.ts b/api/@ohos.bluetooth.ble.d.ts index d41a685ca9f6427a47c3040a989c11ef190b8759..42ee0c67e2f02106e5349b03c4de6beb42bf0749 100644 --- a/api/@ohos.bluetooth.ble.d.ts +++ b/api/@ohos.bluetooth.ble.d.ts @@ -362,7 +362,6 @@ declare namespace ble { * @crossplatform * @atomicservice * @since 20 - * @arkts 1.1&1.2 */ function startAdvertising(setting: AdvertiseSetting, advData: AdvertiseData, advResponse?: AdvertiseData): void; @@ -468,7 +467,6 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @since 20 - * @arkts 1.1&1.2 */ function startAdvertising(advertisingParams: AdvertisingParams, callback: AsyncCallback): void; @@ -532,7 +530,6 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @since 20 - * @arkts 1.1&1.2 */ function startAdvertising(advertisingParams: AdvertisingParams): Promise; @@ -568,7 +565,6 @@ declare namespace ble { * @throws { BusinessError } 2902055 - Invalid advertising id. * @syscap SystemCapability.Communication.Bluetooth.Core * @since 20 - * @arkts 1.1&1.2 */ function enableAdvertising(advertisingEnableParams: AdvertisingEnableParams, callback: AsyncCallback): void; @@ -604,7 +600,6 @@ declare namespace ble { * @throws { BusinessError } 2902055 - Invalid advertising id. * @syscap SystemCapability.Communication.Bluetooth.Core * @since 20 - * @arkts 1.1&1.2 */ function enableAdvertising(advertisingEnableParams: AdvertisingEnableParams): Promise; @@ -640,7 +635,6 @@ declare namespace ble { * @throws { BusinessError } 2902055 - Invalid advertising id. * @syscap SystemCapability.Communication.Bluetooth.Core * @since 20 - * @arkts 1.1&1.2 */ function disableAdvertising(advertisingDisableParams: AdvertisingDisableParams, callback: AsyncCallback): void; @@ -676,7 +670,6 @@ declare namespace ble { * @throws { BusinessError } 2902055 - Invalid advertising id. * @syscap SystemCapability.Communication.Bluetooth.Core * @since 20 - * @arkts 1.1&1.2 */ function disableAdvertising(advertisingDisableParams: AdvertisingDisableParams): Promise; @@ -1179,8 +1172,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 */ notifyCharacteristicChanged( deviceId: string, @@ -1243,8 +1235,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 */ notifyCharacteristicChanged(deviceId: string, notifyCharacteristic: NotifyCharacteristic): Promise; @@ -1999,8 +1990,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 */ getDeviceName(callback: AsyncCallback): void; @@ -2047,8 +2037,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 */ getDeviceName(): Promise; @@ -2220,7 +2209,6 @@ declare namespace ble { * @crossplatform * @atomicservice * @since 20 - * @arkts 1.1&1.2 */ readCharacteristicValue(characteristic: BLECharacteristic, callback: AsyncCallback): void; @@ -2298,7 +2286,6 @@ declare namespace ble { * @crossplatform * @atomicservice * @since 20 - * @arkts 1.1&1.2 */ readCharacteristicValue(characteristic: BLECharacteristic): Promise; @@ -2376,7 +2363,6 @@ declare namespace ble { * @crossplatform * @atomicservice * @since 20 - * @arkts 1.1&1.2 */ readDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback): void; @@ -2454,7 +2440,6 @@ declare namespace ble { * @crossplatform * @atomicservice * @since 20 - * @arkts 1.1&1.2 */ readDescriptorValue(descriptor: BLEDescriptor): Promise; @@ -3088,7 +3073,6 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice * @since 20 - * @arkts 1.1&1.2 */ setCharacteristicChangeIndication( characteristic: BLECharacteristic, @@ -3150,7 +3134,6 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice * @since 20 - * @arkts 1.1&1.2 */ setCharacteristicChangeIndication(characteristic: BLECharacteristic, enable: boolean): Promise; @@ -3426,8 +3409,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 */ startScan(filters: Array, options?: ScanOptions): Promise; /** @@ -3443,8 +3425,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 */ stopScan(): Promise; /** diff --git a/api/@ohos.bluetooth.connection.d.ts b/api/@ohos.bluetooth.connection.d.ts index ecc70d378d9d27c940ab9cd226408f3be09c6c6d..1d5680acdfb48556e63da8c9c8137e1fd2c9b0a5 100644 --- a/api/@ohos.bluetooth.connection.d.ts +++ b/api/@ohos.bluetooth.connection.d.ts @@ -236,8 +236,7 @@ declare namespace connection { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 */ function pairDevice(deviceId: string, callback: AsyncCallback): void; @@ -290,8 +289,7 @@ declare namespace connection { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 */ function pairDevice(deviceId: string): Promise; @@ -314,8 +312,7 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ function pairCredibleDevice(deviceId: string, transport: BluetoothTransport, callback: AsyncCallback): void; @@ -338,8 +335,7 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ function pairCredibleDevice(deviceId: string, transport: BluetoothTransport): Promise; @@ -359,8 +355,7 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ function cancelPairedDevice(deviceId: string, callback: AsyncCallback): void; @@ -380,8 +375,7 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ function cancelPairedDevice(deviceId: string): Promise; @@ -401,8 +395,7 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ function cancelPairingDevice(deviceId: string, callback: AsyncCallback): void; @@ -422,8 +415,7 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ function cancelPairingDevice(deviceId: string): Promise; @@ -714,8 +706,7 @@ declare namespace connection { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ function setDevicePinCode(deviceId: string, code: string, callback: AsyncCallback): void; @@ -734,8 +725,7 @@ declare namespace connection { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ function setDevicePinCode(deviceId: string, code: string): Promise; @@ -936,8 +926,7 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ function getLocalProfileUuids(callback: AsyncCallback>): void; @@ -956,8 +945,7 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 */ function getLocalProfileUuids(): Promise>; @@ -1008,8 +996,7 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 */ function getRemoteProfileUuids(deviceId: string, callback: AsyncCallback>): void; @@ -1060,8 +1047,7 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 */ function getRemoteProfileUuids(deviceId: string): Promise>; @@ -1097,8 +1083,7 @@ declare namespace connection { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 */ function connectAllowedProfiles(deviceId: string, callback: AsyncCallback): void; @@ -1134,8 +1119,7 @@ declare namespace connection { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 */ function connectAllowedProfiles(deviceId: string): Promise; @@ -1155,8 +1139,7 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ function disconnectAllowedProfiles(deviceId: string, callback: AsyncCallback): void; @@ -1230,8 +1213,7 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ function disconnectAllowedProfiles(deviceId: string): Promise;