openharmony 鸿蒙 js-apidiff-ConnectivityKit

2026-08-25 浏览 (1)

Change TypeOld VersionNew Versiond.ts File
New error codeClass name: ble;
API declaration: function startAdvertising(setting: AdvertiseSetting, advData: AdvertiseData, advResponse?: AdvertiseData): void;
DIfferences: NA
Class name: ble;
API declaration: function startAdvertising(setting: AdvertiseSetting, advData: AdvertiseData, advResponse?: AdvertiseData): void;
DIfferences: 2900010,2902054
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: ble;
API declaration: function startAdvertising(advertisingParams: AdvertisingParams, callback: AsyncCallback<number>): void;
DIfferences: NA
Class name: ble;
API declaration: function startAdvertising(advertisingParams: AdvertisingParams, callback: AsyncCallback<number>): void;
DIfferences: 2900010,2902054
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: ble;
API declaration: function startAdvertising(advertisingParams: AdvertisingParams): Promise<number>;
DIfferences: NA
Class name: ble;
API declaration: function startAdvertising(advertisingParams: AdvertisingParams): Promise<number>;
DIfferences: 2900010,2902054
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: ble;
API declaration: function stopAdvertising(advertisingId: number, callback: AsyncCallback<void>): void;
DIfferences: NA
Class name: ble;
API declaration: function stopAdvertising(advertisingId: number, callback: AsyncCallback<void>): void;
DIfferences: 2902055
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: ble;
API declaration: function stopAdvertising(advertisingId: number): Promise<void>;
DIfferences: NA
Class name: ble;
API declaration: function stopAdvertising(advertisingId: number): Promise<void>;
DIfferences: 2902055
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: ble;
API declaration: function enableAdvertising(advertisingEnableParams: AdvertisingEnableParams, callback: AsyncCallback<void>): void;
DIfferences: NA
Class name: ble;
API declaration: function enableAdvertising(advertisingEnableParams: AdvertisingEnableParams, callback: AsyncCallback<void>): void;
DIfferences: 2902055
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: ble;
API declaration: function enableAdvertising(advertisingEnableParams: AdvertisingEnableParams): Promise<void>;
DIfferences: NA
Class name: ble;
API declaration: function enableAdvertising(advertisingEnableParams: AdvertisingEnableParams): Promise<void>;
DIfferences: 2902055
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: ble;
API declaration: function disableAdvertising(advertisingDisableParams: AdvertisingDisableParams, callback: AsyncCallback<void>): void;
DIfferences: NA
Class name: ble;
API declaration: function disableAdvertising(advertisingDisableParams: AdvertisingDisableParams, callback: AsyncCallback<void>): void;
DIfferences: 2902055
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: ble;
API declaration: function disableAdvertising(advertisingDisableParams: AdvertisingDisableParams): Promise<void>;
DIfferences: NA
Class name: ble;
API declaration: function disableAdvertising(advertisingDisableParams: AdvertisingDisableParams): Promise<void>;
DIfferences: 2902055
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: GattClientDevice;
API declaration: readCharacteristicValue(characteristic: BLECharacteristic, callback: AsyncCallback<BLECharacteristic>): void;
DIfferences: NA
Class name: GattClientDevice;
API declaration: readCharacteristicValue(characteristic: BLECharacteristic, callback: AsyncCallback<BLECharacteristic>): void;
DIfferences: 2900011,2901003,2901004,2901005,2901006,2901007
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: GattClientDevice;
API declaration: readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>;
DIfferences: NA
Class name: GattClientDevice;
API declaration: readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>;
DIfferences: 2900011,2901003,2901004,2901005,2901006,2901007
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: GattClientDevice;
API declaration: readDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<BLEDescriptor>): void;
DIfferences: NA
Class name: GattClientDevice;
API declaration: readDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<BLEDescriptor>): void;
DIfferences: 2900011,2901003,2901004,2901005,2901006,2901007
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: GattClientDevice;
API declaration: readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>;
DIfferences: NA
Class name: GattClientDevice;
API declaration: readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>;
DIfferences: 2900011,2901003,2901004,2901005,2901006,2901007
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: GattClientDevice;
API declaration: writeCharacteristicValue(characteristic: BLECharacteristic, writeType: GattWriteType, callback: AsyncCallback<void>): void;
DIfferences: NA
Class name: GattClientDevice;
API declaration: writeCharacteristicValue(characteristic: BLECharacteristic, writeType: GattWriteType, callback: AsyncCallback<void>): void;
DIfferences: 2900011,2901003,2901004,2901005,2901006,2901007
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: GattClientDevice;
API declaration: writeCharacteristicValue(characteristic: BLECharacteristic, writeType: GattWriteType): Promise<void>;
DIfferences: NA
Class name: GattClientDevice;
API declaration: writeCharacteristicValue(characteristic: BLECharacteristic, writeType: GattWriteType): Promise<void>;
DIfferences: 2900011,2901003,2901004,2901005,2901006,2901007
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: GattClientDevice;
API declaration: writeDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<void>): void;
DIfferences: NA
Class name: GattClientDevice;
API declaration: writeDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<void>): void;
DIfferences: 2900011,2901003,2901004,2901005,2901006,2901007
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: GattClientDevice;
API declaration: writeDescriptorValue(descriptor: BLEDescriptor): Promise<void>;
DIfferences: NA
Class name: GattClientDevice;
API declaration: writeDescriptorValue(descriptor: BLEDescriptor): Promise<void>;
DIfferences: 2900011,2901003,2901004,2901005,2901006,2901007
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: GattClientDevice;
API declaration: getRssiValue(callback: AsyncCallback<number>): void;
DIfferences: NA
Class name: GattClientDevice;
API declaration: getRssiValue(callback: AsyncCallback<number>): void;
DIfferences: 2900011,2901003
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: GattClientDevice;
API declaration: getRssiValue(): Promise<number>;
DIfferences: NA
Class name: GattClientDevice;
API declaration: getRssiValue(): Promise<number>;
DIfferences: 2900011,2901003
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: GattClientDevice;
API declaration: setCharacteristicChangeNotification(characteristic: BLECharacteristic, enable: boolean, callback: AsyncCallback<void>): void;
DIfferences: NA
Class name: GattClientDevice;
API declaration: setCharacteristicChangeNotification(characteristic: BLECharacteristic, enable: boolean, callback: AsyncCallback<void>): void;
DIfferences: 2900011,2901003
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: GattClientDevice;
API declaration: setCharacteristicChangeNotification(characteristic: BLECharacteristic, enable: boolean): Promise<void>;
DIfferences: NA
Class name: GattClientDevice;
API declaration: setCharacteristicChangeNotification(characteristic: BLECharacteristic, enable: boolean): Promise<void>;
DIfferences: 2900011,2901003
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: GattClientDevice;
API declaration: setCharacteristicChangeIndication(characteristic: BLECharacteristic, enable: boolean, callback: AsyncCallback<void>): void;
DIfferences: NA
Class name: GattClientDevice;
API declaration: setCharacteristicChangeIndication(characteristic: BLECharacteristic, enable: boolean, callback: AsyncCallback<void>): void;
DIfferences: 2900011,2901003
api/@ohos.bluetooth.ble.d.ts
New error codeClass name: GattClientDevice;
API declaration: setCharacteristicChangeIndication(characteristic: BLECharacteristic, enable: boolean): Promise<void>;
DIfferences: NA
Class name: GattClientDevice;
API declaration: setCharacteristicChangeIndication(characteristic: BLECharacteristic, enable: boolean): Promise<void>;
DIfferences: 2900011,2901003
api/@ohos.bluetooth.ble.d.ts
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
Deleted error codeClass name: wifiManager;
API declaration: function on(type: 'hotspotStateChange', callback: Callback<number>): void;
DIfferences: 202
Class name: wifiManager;
API declaration: function on(type: 'hotspotStateChange', callback: Callback<number>): void;
DIfferences: NA
api/@ohos.wifiManager.d.ts
Deleted error codeClass name: wifiManager;
API declaration: function off(type: 'hotspotStateChange', callback?: Callback<number>): void;
DIfferences: 202
Class name: wifiManager;
API declaration: function off(type: 'hotspotStateChange', callback?: Callback<number>): void;
DIfferences: NA
api/@ohos.wifiManager.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 enableBluetoothAsync(): Promise<void>;
DIfferences: function enableBluetoothAsync(): Promise<void>;
api/@ohos.bluetooth.access.d.ts
New APINAClass name: access;
API declaration: function disableBluetoothAsync(): Promise<void>;
DIfferences: function disableBluetoothAsync(): Promise<void>;
api/@ohos.bluetooth.access.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: ble;
API declaration: function createBleScanner(): BleScanner;
DIfferences: function createBleScanner(): BleScanner;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: ble;
API declaration: interface BleScanner
DIfferences: interface BleScanner
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: BleScanner;
API declaration: startScan(filters: Array<ScanFilter>, options?: ScanOptions): Promise<void>;
DIfferences: startScan(filters: Array<ScanFilter>, options?: ScanOptions): Promise<void>;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: BleScanner;
API declaration: stopScan(): Promise<void>;
DIfferences: stopScan(): Promise<void>;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: BleScanner;
API declaration: on(type: 'BLEDeviceFind', callback: Callback<ScanReport>): void;
DIfferences: on(type: 'BLEDeviceFind', callback: Callback<ScanReport>): void;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: BleScanner;
API declaration: off(type: 'BLEDeviceFind', callback?: Callback<ScanReport>): void;
DIfferences: off(type: 'BLEDeviceFind', callback?: Callback<ScanReport>): void;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: BLECharacteristic;
API declaration: characteristicValueHandle?: number;
DIfferences: characteristicValueHandle?: number;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: BLECharacteristic;
API declaration: permissions?: GattPermissions;
DIfferences: permissions?: GattPermissions;
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: BLEDescriptor;
API declaration: permissions?: GattPermissions;
DIfferences: permissions?: GattPermissions;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: BLEConnectionChangeState;
API declaration: reason?: GattDisconnectReason;
DIfferences: reason?: GattDisconnectReason;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: ble;
API declaration: interface ScanReport
DIfferences: interface ScanReport
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: ScanReport;
API declaration: reportType: ScanReportType;
DIfferences: reportType: ScanReportType;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: ScanReport;
API declaration: scanResult: Array<ScanResult>;
DIfferences: scanResult: Array<ScanResult>;
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: ScanOptions;
API declaration: reportMode?: ScanReportMode;
DIfferences: reportMode?: ScanReportMode;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: GattProperties;
API declaration: broadcast?: boolean;
DIfferences: broadcast?: boolean;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: GattProperties;
API declaration: authenticatedSignedWrite?: boolean;
DIfferences: authenticatedSignedWrite?: boolean;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: GattProperties;
API declaration: extendedProperties?: boolean;
DIfferences: extendedProperties?: boolean;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: ble;
API declaration: enum ScanReportMode
DIfferences: enum ScanReportMode
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: ScanReportMode;
API declaration: NORMAL = 1
DIfferences: NORMAL = 1
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: ScanReportMode;
API declaration: BATCH = 2
DIfferences: BATCH = 2
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: ble;
API declaration: enum ScanReportType
DIfferences: enum ScanReportType
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: ScanReportType;
API declaration: ON_FOUND = 1
DIfferences: ON_FOUND = 1
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: ScanReportType;
API declaration: ON_LOST = 2
DIfferences: ON_LOST = 2
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: ScanReportType;
API declaration: ON_BATCH = 3
DIfferences: ON_BATCH = 3
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: ble;
API declaration: enum GattDisconnectReason
DIfferences: enum GattDisconnectReason
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: GattDisconnectReason;
API declaration: CONN_TIMEOUT = 1
DIfferences: CONN_TIMEOUT = 1
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: GattDisconnectReason;
API declaration: CONN_TERMINATE_PEER_USER = 2
DIfferences: CONN_TERMINATE_PEER_USER = 2
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: GattDisconnectReason;
API declaration: CONN_TERMINATE_LOCAL_HOST = 3
DIfferences: CONN_TERMINATE_LOCAL_HOST = 3
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: GattDisconnectReason;
API declaration: CONN_UNKNOWN = 4
DIfferences: CONN_UNKNOWN = 4
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: ble;
API declaration: interface GattPermissions
DIfferences: interface GattPermissions
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: GattPermissions;
API declaration: read?: boolean;
DIfferences: read?: boolean;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: GattPermissions;
API declaration: readEncrypted?: boolean;
DIfferences: readEncrypted?: boolean;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: GattPermissions;
API declaration: readEncryptedMitm?: boolean;
DIfferences: readEncryptedMitm?: boolean;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: GattPermissions;
API declaration: write?: boolean;
DIfferences: write?: boolean;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: GattPermissions;
API declaration: writeEncrypted?: boolean;
DIfferences: writeEncrypted?: boolean;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: GattPermissions;
API declaration: writeEncryptedMitm?: boolean;
DIfferences: writeEncryptedMitm?: boolean;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: GattPermissions;
API declaration: writeSigned?: boolean;
DIfferences: writeSigned?: boolean;
api/@ohos.bluetooth.ble.d.ts
New APINAClass name: GattPermissions;
API declaration: writeSignedMitm?: boolean;
DIfferences: writeSignedMitm?: boolean;
api/@ohos.bluetooth.ble.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 getRemoteDeviceTransport(deviceId: string): BluetoothTransport;
DIfferences: function getRemoteDeviceTransport(deviceId: string): BluetoothTransport;
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 getLastConnectionTime(deviceId: string): Promise<number>;
DIfferences: function getLastConnectionTime(deviceId: string): Promise<number>;
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: BluetoothTransport;
API declaration: TRANSPORT_DUAL = 2
DIfferences: TRANSPORT_DUAL = 2
api/@ohos.bluetooth.connection.d.ts
New APINAClass name: BluetoothTransport;
API declaration: TRANSPORT_UNKNOWN = 3
DIfferences: TRANSPORT_UNKNOWN = 3
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 enableWifi(): void;
DIfferences: function enableWifi(): void;
api/@ohos.wifiManager.d.ts
New APINAClass name: wifiManager;
API declaration: function disableWifi(): void;
DIfferences: function disableWifi(): void;
api/@ohos.wifiManager.d.ts
New APINAClass name: wifiManager;
API declaration: function addDeviceConfig(config: WifiDeviceConfig): Promise<number>;
DIfferences: function addDeviceConfig(config: WifiDeviceConfig): Promise<number>;
api/@ohos.wifiManager.d.ts
New APINAClass name: wifiManager;
API declaration: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
DIfferences: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
api/@ohos.wifiManager.d.ts
New APINAClass name: wifiManager;
API declaration: function connectToCandidateConfigWithUserAction(networkId: number): Promise<void>;
DIfferences: function connectToCandidateConfigWithUserAction(networkId: number): Promise<void>;
api/@ohos.wifiManager.d.ts
New APINAClass name: wifiManager;
API declaration: function connectToNetwork(networkId: number): void;
DIfferences: function connectToNetwork(networkId: number): void;
api/@ohos.wifiManager.d.ts
New APINAClass name: wifiManager;
API declaration: function disconnect(): void;
DIfferences: function disconnect(): void;
api/@ohos.wifiManager.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: function getDeviceMacAddress(): string[];
DIfferences: function getDeviceMacAddress(): string[];
api/@ohos.wifiManager.d.ts
New APINAClass name: wifiManager;
API declaration: function getDeviceConfigs(): Array<WifiDeviceConfig>;
DIfferences: function getDeviceConfigs(): Array<WifiDeviceConfig>;
api/@ohos.wifiManager.d.ts
New APINAClass name: wifiManager;
API declaration: function removeDevice(id: number): void;
DIfferences: function removeDevice(id: number): void;
api/@ohos.wifiManager.d.ts
New APINAClass name: wifiManager;
API declaration: function isHotspotActive(): boolean;
DIfferences: function isHotspotActive(): boolean;
api/@ohos.wifiManager.d.ts
New APINAClass name: WifiCategory;
API declaration: WIFI7 = 4
DIfferences: WIFI7 = 4
api/@ohos.wifiManager.d.ts
New APINAClass name: WifiCategory;
API declaration: WIFI7_PLUS = 5
DIfferences: WIFI7_PLUS = 5
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: CodecInfo;
API declaration: codecBitRate?: CodecBitRate;
DIfferences: codecBitRate?: CodecBitRate;
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: CodecInfo;
API declaration: codecFrameLength?: CodecFrameLength;
DIfferences: codecFrameLength?: CodecFrameLength;
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: a2dp;
API declaration: interface CodecInfoList
DIfferences: interface CodecInfoList
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: CodecInfoList;
API declaration: codecType: CodecType;
DIfferences: codecType: CodecType;
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: CodecInfoList;
API declaration: codecBitsPerSampleArray: CodecBitsPerSample[];
DIfferences: codecBitsPerSampleArray: CodecBitsPerSample[];
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: CodecInfoList;
API declaration: codecChannelModeArray: CodecChannelMode[];
DIfferences: codecChannelModeArray: CodecChannelMode[];
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: CodecInfoList;
API declaration: codecSampleRateArray: CodecSampleRate[];
DIfferences: codecSampleRateArray: CodecSampleRate[];
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: CodecInfoList;
API declaration: codecBitRateArray: CodecBitRate[];
DIfferences: codecBitRateArray: CodecBitRate[];
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: CodecInfoList;
API declaration: codecFrameLengthArray: CodecFrameLength[];
DIfferences: codecFrameLengthArray: CodecFrameLength[];
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: a2dp;
API declaration: enum CodecBitRate
DIfferences: enum CodecBitRate
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: CodecBitRate;
API declaration: CODEC_BIT_RATE_96000 = 0
DIfferences: CODEC_BIT_RATE_96000 = 0
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: CodecBitRate;
API declaration: CODEC_BIT_RATE_128000 = 1
DIfferences: CODEC_BIT_RATE_128000 = 1
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: CodecBitRate;
API declaration: CODEC_BIT_RATE_192000 = 2
DIfferences: CODEC_BIT_RATE_192000 = 2
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: CodecBitRate;
API declaration: CODEC_BIT_RATE_256000 = 3
DIfferences: CODEC_BIT_RATE_256000 = 3
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: CodecBitRate;
API declaration: CODEC_BIT_RATE_320000 = 4
DIfferences: CODEC_BIT_RATE_320000 = 4
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: CodecBitRate;
API declaration: CODEC_BIT_RATE_480000 = 5
DIfferences: CODEC_BIT_RATE_480000 = 5
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: CodecBitRate;
API declaration: CODEC_BIT_RATE_640000 = 6
DIfferences: CODEC_BIT_RATE_640000 = 6
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: CodecBitRate;
API declaration: CODEC_BIT_RATE_960000 = 7
DIfferences: CODEC_BIT_RATE_960000 = 7
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: CodecBitRate;
API declaration: CODEC_BIT_RATE_ABR = 8
DIfferences: CODEC_BIT_RATE_ABR = 8
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: a2dp;
API declaration: enum CodecFrameLength
DIfferences: enum CodecFrameLength
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: CodecFrameLength;
API declaration: CODEC_FRAME_LENGTH_5MS = 0
DIfferences: CODEC_FRAME_LENGTH_5MS = 0
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: CodecFrameLength;
API declaration: CODEC_FRAME_LENGTH_10MS = 1
DIfferences: CODEC_FRAME_LENGTH_10MS = 1
api/@ohos.bluetooth.a2dp.d.ts
New APINAClass name: socket;
API declaration: function getL2capPsm(serverSocket: number): number;
DIfferences: function getL2capPsm(serverSocket: number): number;
api/@ohos.bluetooth.socket.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: SppOptions;
API declaration: psm?: number;
DIfferences: psm?: number;
api/@ohos.bluetooth.socket.d.ts
New APINAClass name: SppType;
API declaration: SPP_L2CAP = 1
DIfferences: SPP_L2CAP = 1
api/@ohos.bluetooth.socket.d.ts
New APINAClass name: SppType;
API declaration: SPP_L2CAP_BLE = 2
DIfferences: SPP_L2CAP_BLE = 2
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
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-NA

openharmony 鸿蒙 js-apidiff-IPCKit

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