openharmony 鸿蒙 js-apidiff-ConnectivityKit

2026-08-25 浏览 (1)

Change TypeOld VersionNew Versiond.ts File
New error codeClass name: HceService;
API declaration: on(type: 'hceCmd', callback: AsyncCallback<number[]>): void;
DIfferences: NA
Class name: HceService;
API declaration: on(type: 'hceCmd', callback: AsyncCallback<number[]>): void;
DIfferences: 201,401,801
api/@ohos.nfc.cardEmulation.d.ts
Deleted error codeClass name: access;
API declaration: function on(type: 'stateChange', callback: Callback<BluetoothState>): void;
DIfferences: 201
Class name: access;
API declaration: function on(type: 'stateChange', callback: Callback<BluetoothState>): void;
DIfferences: NA
api/@ohos.bluetooth.access.d.ts
Deleted error codeClass name: access;
API declaration: function off(type: 'stateChange', callback?: Callback<BluetoothState>): void;
DIfferences: 201
Class name: access;
API declaration: function off(type: 'stateChange', callback?: Callback<BluetoothState>): void;
DIfferences: NA
api/@ohos.bluetooth.access.d.ts
Deleted error codeClass name: connection;
API declaration: function getRemoteDeviceClass(deviceId: string): DeviceClass;
DIfferences: 201
Class name: connection;
API declaration: function getRemoteDeviceClass(deviceId: string): DeviceClass;
DIfferences: NA
api/@ohos.bluetooth.connection.d.ts
Permission changeClass name: access;
API declaration: function on(type: 'stateChange', callback: Callback<BluetoothState>): void;
DIfferences: ohos.permission.ACCESS_BLUETOOTH
Class name: access;
API declaration: function on(type: 'stateChange', callback: Callback<BluetoothState>): void;
DIfferences: NA
api/@ohos.bluetooth.access.d.ts
Permission changeClass name: access;
API declaration: function off(type: 'stateChange', callback?: Callback<BluetoothState>): void;
DIfferences: ohos.permission.ACCESS_BLUETOOTH
Class name: access;
API declaration: function off(type: 'stateChange', callback?: Callback<BluetoothState>): void;
DIfferences: NA
api/@ohos.bluetooth.access.d.ts
Permission changeClass name: connection;
API declaration: function getRemoteDeviceClass(deviceId: string): DeviceClass;
DIfferences: ohos.permission.ACCESS_BLUETOOTH
Class name: connection;
API declaration: function getRemoteDeviceClass(deviceId: string): DeviceClass;
DIfferences: NA
api/@ohos.bluetooth.connection.d.ts
New APINAClass name: global;
API declaration: declare namespace opp
DIfferences: declare namespace opp
api/@ohos.bluetooth.opp.d.ts
New APINAClass name: opp;
API declaration: interface OppServerProfile
DIfferences: interface OppServerProfile
api/@ohos.bluetooth.opp.d.ts
New APINAClass name: global;
API declaration: export interface BarcodeTag
DIfferences: export interface BarcodeTag
api/tag/nfctech.d.ts
New APINAClass name: BarcodeTag;
API declaration: getBarcode(): Promise<ArrayBuffer>;
DIfferences: getBarcode(): Promise<ArrayBuffer>;
api/tag/nfctech.d.ts
New APINAClass name: access;
API declaration: function addPersistentDeviceId(deviceId: string): Promise<void>;
DIfferences: function addPersistentDeviceId(deviceId: string): Promise<void>;
api/@ohos.bluetooth.access.d.ts
New APINAClass name: access;
API declaration: function deletePersistentDeviceId(deviceId: string): Promise<void>;
DIfferences: function deletePersistentDeviceId(deviceId: string): Promise<void>;
api/@ohos.bluetooth.access.d.ts
New APINAClass name: access;
API declaration: function getPersistentDeviceIds(): string[];
DIfferences: function getPersistentDeviceIds(): string[];
api/@ohos.bluetooth.access.d.ts
New APINAClass name: access;
API declaration: function isValidRandomDeviceId(deviceId: string): boolean;
DIfferences: function isValidRandomDeviceId(deviceId: string): boolean;
api/@ohos.bluetooth.access.d.ts
New APINAClass name: connection;
API declaration: function getRemoteDeviceName(deviceId: string, alias?: boolean): string;
DIfferences: function getRemoteDeviceName(deviceId: string, alias?: boolean): string;
api/@ohos.bluetooth.connection.d.ts
New APINAClass name: connection;
API declaration: function connectAllowedProfiles(deviceId: string, callback: AsyncCallback<void>): void;
DIfferences: function connectAllowedProfiles(deviceId: string, callback: AsyncCallback<void>): void;
api/@ohos.bluetooth.connection.d.ts
New APINAClass name: connection;
API declaration: function connectAllowedProfiles(deviceId: string): Promise<void>;
DIfferences: function connectAllowedProfiles(deviceId: string): Promise<void>;
api/@ohos.bluetooth.connection.d.ts
New APINAClass name: connection;
API declaration: function on(type: 'discoveryResult', callback: Callback<Array<DiscoveryResult>>): void;
DIfferences: function on(type: 'discoveryResult', callback: Callback<Array<DiscoveryResult>>): void;
api/@ohos.bluetooth.connection.d.ts
New APINAClass name: connection;
API declaration: function off(type: 'discoveryResult', callback?: Callback<Array<DiscoveryResult>>): void;
DIfferences: function off(type: 'discoveryResult', callback?: Callback<Array<DiscoveryResult>>): void;
api/@ohos.bluetooth.connection.d.ts
New APINAClass name: connection;
API declaration: interface DiscoveryResult
DIfferences: interface DiscoveryResult
api/@ohos.bluetooth.connection.d.ts
New APINAClass name: DiscoveryResult;
API declaration: deviceId: string;
DIfferences: deviceId: string;
api/@ohos.bluetooth.connection.d.ts
New APINAClass name: DiscoveryResult;
API declaration: rssi: number;
DIfferences: rssi: number;
api/@ohos.bluetooth.connection.d.ts
New APINAClass name: DiscoveryResult;
API declaration: deviceName: string;
DIfferences: deviceName: string;
api/@ohos.bluetooth.connection.d.ts
New APINAClass name: DiscoveryResult;
API declaration: deviceClass: DeviceClass;
DIfferences: deviceClass: DeviceClass;
api/@ohos.bluetooth.connection.d.ts
New APINAClass name: HceService;
API declaration: off(type: 'hceCmd', callback?: AsyncCallback<number[]>): void;
DIfferences: off(type: 'hceCmd', callback?: AsyncCallback<number[]>): void;
api/@ohos.nfc.cardEmulation.d.ts
New APINAClass name: wifiManager;
API declaration: function getMultiLinkedInfo(): Array<WifiLinkedInfo>;
DIfferences: function getMultiLinkedInfo(): Array<WifiLinkedInfo>;
api/@ohos.wifiManager.d.ts
New APINAClass name: wifiManager;
API declaration: function getLinkedInfoSync(): WifiLinkedInfo;
DIfferences: function getLinkedInfoSync(): WifiLinkedInfo;
api/@ohos.wifiManager.d.ts
New APINAClass name: wifiManager;
API declaration: enum WifiLinkType
DIfferences: enum WifiLinkType
api/@ohos.wifiManager.d.ts
New APINAClass name: WifiLinkType;
API declaration: DEFAULT_LINK = 0
DIfferences: DEFAULT_LINK = 0
api/@ohos.wifiManager.d.ts
New APINAClass name: WifiLinkType;
API declaration: WIFI7_SINGLE_LINK = 1
DIfferences: WIFI7_SINGLE_LINK = 1
api/@ohos.wifiManager.d.ts
New APINAClass name: WifiLinkType;
API declaration: WIFI7_MLSR = 2
DIfferences: WIFI7_MLSR = 2
api/@ohos.wifiManager.d.ts
New APINAClass name: WifiLinkType;
API declaration: WIFI7_EMLSR = 3
DIfferences: WIFI7_EMLSR = 3
api/@ohos.wifiManager.d.ts
New APINAClass name: WifiLinkType;
API declaration: WIFI7_STR = 4
DIfferences: WIFI7_STR = 4
api/@ohos.wifiManager.d.ts
New APINAClass name: WifiLinkedInfo;
API declaration: wifiLinkType?: WifiLinkType;
DIfferences: wifiLinkType?: WifiLinkType;
api/@ohos.wifiManager.d.ts
New APINAClass name: BLECharacteristic;
API declaration: characteristicValueHandle?: number;
DIfferences: characteristicValueHandle?: number;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: BLEDescriptor;
API declaration: descriptorHandle?: number;
DIfferences: descriptorHandle?: number;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: AdvertiseData;
API declaration: includeTxPower?: boolean;
DIfferences: includeTxPower?: boolean;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: ScanReportMode;
API declaration: FENCE_SENSITIVITY_LOW = 10
DIfferences: FENCE_SENSITIVITY_LOW = 10
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: ScanReportMode;
API declaration: FENCE_SENSITIVITY_HIGH = 11
DIfferences: FENCE_SENSITIVITY_HIGH = 11
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: socket;
API declaration: function getDeviceId(clientSocket: number): string;
DIfferences: function getDeviceId(clientSocket: number): string;
api/@ohos.bluetooth.socket.d.ts
New APINAClass name: socket;
API declaration: function sppWriteAsync(clientSocket: number, data: ArrayBuffer): Promise<void>;
DIfferences: function sppWriteAsync(clientSocket: number, data: ArrayBuffer): Promise<void>;
api/@ohos.bluetooth.socket.d.ts
New APINAClass name: socket;
API declaration: function sppReadAsync(clientSocket: number): Promise<ArrayBuffer>;
DIfferences: function sppReadAsync(clientSocket: number): Promise<ArrayBuffer>;
api/@ohos.bluetooth.socket.d.ts
New APINAClass name: tag;
API declaration: const NFC_BARCODE = 10;
DIfferences: const NFC_BARCODE = 10;
api/@ohos.nfc.tag.d.ts
New APINAClass name: tag;
API declaration: function getBarcodeTag(tagInfo: TagInfo): BarcodeTag;
DIfferences: function getBarcodeTag(tagInfo: TagInfo): BarcodeTag;
api/@ohos.nfc.tag.d.ts
New APINAClass name: ndef;
API declaration: function makeApplicationRecord(bundleName: string): NdefRecord;
DIfferences: function makeApplicationRecord(bundleName: string): NdefRecord;
api/@ohos.nfc.tag.d.ts
New APINAClass name: tag;
API declaration: export type BarcodeTag = _BarcodeTag;
DIfferences: export type BarcodeTag = _BarcodeTag;
api/@ohos.nfc.tag.d.ts
New APINAClass name: omapi;
API declaration: function on(type: 'stateChanged', callback: Callback<ServiceState>): void;
DIfferences: function on(type: 'stateChanged', callback: Callback<ServiceState>): void;
api/@ohos.secureElement.d.ts
New APINAClass name: omapi;
API declaration: function off(type: 'stateChanged', callback?: Callback<ServiceState>): void;
DIfferences: function off(type: 'stateChanged', callback?: Callback<ServiceState>): void;
api/@ohos.secureElement.d.ts
Initial version changeClass name: connection;
API declaration: type ProfileUuids = constant.ProfileUuids;
DIfferences: 10
Class name: connection;
API declaration: type ProfileUuids = constant.ProfileUuids;
DIfferences: 12
api/@ohos.bluetooth.connection.d.ts
Initial version changeClass name: connection;
API declaration: function getRemoteProfileUuids(deviceId: string, callback: AsyncCallback<Array<ProfileUuids>>): void;
DIfferences: 10
Class name: connection;
API declaration: function getRemoteProfileUuids(deviceId: string, callback: AsyncCallback<Array<ProfileUuids>>): void;
DIfferences: 12
api/@ohos.bluetooth.connection.d.ts
Initial version changeClass name: connection;
API declaration: function getRemoteProfileUuids(deviceId: string): Promise<Array<ProfileUuids>>;
DIfferences: 10
Class name: connection;
API declaration: function getRemoteProfileUuids(deviceId: string): Promise<Array<ProfileUuids>>;
DIfferences: 12
api/@ohos.bluetooth.connection.d.ts
Initial version changeClass name: constant;
API declaration: export enum ProfileUuids
DIfferences: 10
Class name: constant;
API declaration: export enum ProfileUuids
DIfferences: 12
api/@ohos.bluetooth.constant.d.ts
Initial version changeClass name: ProfileUuids;
API declaration: PROFILE_UUID_HFP_AG = '0000111F-0000-1000-8000-00805F9B34FB'
DIfferences: 10
Class name: ProfileUuids;
API declaration: PROFILE_UUID_HFP_AG = '0000111F-0000-1000-8000-00805F9B34FB'
DIfferences: 12
api/@ohos.bluetooth.constant.d.ts
Initial version changeClass name: ProfileUuids;
API declaration: PROFILE_UUID_HFP_HF = '0000111E-0000-1000-8000-00805F9B34FB'
DIfferences: 10
Class name: ProfileUuids;
API declaration: PROFILE_UUID_HFP_HF = '0000111E-0000-1000-8000-00805F9B34FB'
DIfferences: 12
api/@ohos.bluetooth.constant.d.ts
Initial version changeClass name: ProfileUuids;
API declaration: PROFILE_UUID_HSP_AG = '00001112-0000-1000-8000-00805F9B34FB'
DIfferences: 10
Class name: ProfileUuids;
API declaration: PROFILE_UUID_HSP_AG = '00001112-0000-1000-8000-00805F9B34FB'
DIfferences: 12
api/@ohos.bluetooth.constant.d.ts
Initial version changeClass name: ProfileUuids;
API declaration: PROFILE_UUID_HSP_HS = '00001108-0000-1000-8000-00805F9B34FB'
DIfferences: 10
Class name: ProfileUuids;
API declaration: PROFILE_UUID_HSP_HS = '00001108-0000-1000-8000-00805F9B34FB'
DIfferences: 12
api/@ohos.bluetooth.constant.d.ts
Initial version changeClass name: ProfileUuids;
API declaration: PROFILE_UUID_A2DP_SRC = '0000110A-0000-1000-8000-00805F9B34FB'
DIfferences: 10
Class name: ProfileUuids;
API declaration: PROFILE_UUID_A2DP_SRC = '0000110A-0000-1000-8000-00805F9B34FB'
DIfferences: 12
api/@ohos.bluetooth.constant.d.ts
Initial version changeClass name: ProfileUuids;
API declaration: PROFILE_UUID_A2DP_SINK = '0000110B-0000-1000-8000-00805F9B34FB'
DIfferences: 10
Class name: ProfileUuids;
API declaration: PROFILE_UUID_A2DP_SINK = '0000110B-0000-1000-8000-00805F9B34FB'
DIfferences: 12
api/@ohos.bluetooth.constant.d.ts
Initial version changeClass name: ProfileUuids;
API declaration: PROFILE_UUID_AVRCP_CT = '0000110E-0000-1000-8000-00805F9B34FB'
DIfferences: 10
Class name: ProfileUuids;
API declaration: PROFILE_UUID_AVRCP_CT = '0000110E-0000-1000-8000-00805F9B34FB'
DIfferences: 12
api/@ohos.bluetooth.constant.d.ts
Initial version changeClass name: ProfileUuids;
API declaration: PROFILE_UUID_AVRCP_TG = '0000110C-0000-1000-8000-00805F9B34FB'
DIfferences: 10
Class name: ProfileUuids;
API declaration: PROFILE_UUID_AVRCP_TG = '0000110C-0000-1000-8000-00805F9B34FB'
DIfferences: 12
api/@ohos.bluetooth.constant.d.ts
Initial version changeClass name: ProfileUuids;
API declaration: PROFILE_UUID_HID = '00001124-0000-1000-8000-00805F9B34FB'
DIfferences: 10
Class name: ProfileUuids;
API declaration: PROFILE_UUID_HID = '00001124-0000-1000-8000-00805F9B34FB'
DIfferences: 12
api/@ohos.bluetooth.constant.d.ts
Initial version changeClass name: ProfileUuids;
API declaration: PROFILE_UUID_HOGP = '00001812-0000-1000-8000-00805F9B34FB'
DIfferences: 10
Class name: ProfileUuids;
API declaration: PROFILE_UUID_HOGP = '00001812-0000-1000-8000-00805F9B34FB'
DIfferences: 12
api/@ohos.bluetooth.constant.d.ts
Initial version changeClass name: wifiManager;
API declaration: function isHotspotActive(): boolean;
DIfferences: 9
Class name: wifiManager;
API declaration: function isHotspotActive(): boolean;
DIfferences: 15
api/@ohos.wifiManager.d.ts
New KitClass name: global;
API declaration:
DIfferences: NA
Class name: global;
API declaration: api@ohos.bluetooth.opp.d.ts
DIfferences: ConnectivityKit
api/@ohos.bluetooth.opp.d.ts
New export symbolClass name: global;
API declaration: export interface BarcodeTag
DIfferences: NA
Class name: global;
API declaration:
DIfferences: export interface BarcodeTag
api/tag/nfctech.d.ts

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 js-apidiff-ArkGraphics2D

openharmony 鸿蒙 js-apidiff-ArkGraphics3D

openharmony 鸿蒙 js-apidiff-MediaKit

openharmony 鸿蒙 js-apidiff-InputKit

openharmony 鸿蒙 js-apidiff-BasicServicesKit

openharmony 鸿蒙 js-apidiff-ArkWeb

openharmony 鸿蒙 js-apidiff-MultimodalAwarenessKit

openharmony 鸿蒙 js-apidiff-ArkData

openharmony 鸿蒙 js-apidiff-IPCKit

openharmony 鸿蒙 js-apidiff-ArkTS

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/KZxzR69k