Change Type Old Version New Version d.ts File
Deleted Class name: WifiEapConfig;
Method or attribute name: caCertAliases: string;
NA @ohos.wifiManager.d.ts
Deleted Class name: WifiEapConfig;
Method or attribute name: clientCertAliases: string;
NA @ohos.wifiManager.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: close(callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: close(callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: close(): Promise<void>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: close(): Promise<void>;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketServer;
Method or attribute name: getState(callback: AsyncCallback<SocketStateBase>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: getState(callback: AsyncCallback<SocketStateBase>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketServer;
Method or attribute name: getState(): Promise<SocketStateBase>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: getState(): Promise<SocketStateBase>;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: on(type: 'message', callback: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: on(type: 'message', callback: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketServer;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: off(type: 'message', callback?: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: off(type: 'message', callback?: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketServer;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: send(options: TCPSendOptions, callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: send(options: TCPSendOptions): Promise<void>;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: getRemoteAddress(callback: AsyncCallback<NetAddress>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: getRemoteAddress(callback: AsyncCallback<NetAddress>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketServer;
Method or attribute name: setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketServer;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: getCertificate(callback: AsyncCallback<X509CertRawData>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: getCertificate(): Promise<X509CertRawData>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: getRemoteCertificate(callback: AsyncCallback<X509CertRawData>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: getRemoteCertificate(): Promise<X509CertRawData>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: getProtocol(callback: AsyncCallback<string>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: getProtocol(): Promise<string>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: getCipherSuite(callback: AsyncCallback<Array<string>>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: getCipherSuite(): Promise<Array<string>>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: getSignatureAlgorithms(callback: AsyncCallback<Array<string>>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: getSignatureAlgorithms(): Promise<Array<string>>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: send(data: string, callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: send(data: string): Promise<void>;
@ohos.net.socket.d.ts
Added NA Class name: a2dp;
Method or attribute name: type BaseProfile = baseProfile.BaseProfile;
@ohos.bluetooth.a2dp.d.ts
Added NA Class name: a2dp;
Method or attribute name: function createA2dpSrcProfile(): A2dpSourceProfile;
@ohos.bluetooth.a2dp.d.ts
Added NA Class name: A2dpSourceProfile;
Method or attribute name: connect(deviceId: string): void;
@ohos.bluetooth.a2dp.d.ts
Added NA Class name: A2dpSourceProfile;
Method or attribute name: disconnect(deviceId: string): void;
@ohos.bluetooth.a2dp.d.ts
Added NA Class name: A2dpSourceProfile;
Method or attribute name: getPlayingState(deviceId: string): PlayingState;
@ohos.bluetooth.a2dp.d.ts
Added NA Class name: PlayingState;
Method or attribute name: STATE_NOT_PLAYING
@ohos.bluetooth.a2dp.d.ts
Added NA Class name: PlayingState;
Method or attribute name: STATE_PLAYING
@ohos.bluetooth.a2dp.d.ts
Added NA Class name: access;
Method or attribute name: function enableBluetooth(): void;
@ohos.bluetooth.access.d.ts
Added NA Class name: access;
Method or attribute name: function disableBluetooth(): void;
@ohos.bluetooth.access.d.ts
Added NA Class name: access;
Method or attribute name: function getState(): BluetoothState;
@ohos.bluetooth.access.d.ts
Added NA Class name: access;
Method or attribute name: function on(type: 'stateChange', callback: Callback<BluetoothState>): void;
@ohos.bluetooth.access.d.ts
Added NA Class name: access;
Method or attribute name: function off(type: 'stateChange', callback?: Callback<BluetoothState>): void;
@ohos.bluetooth.access.d.ts
Added NA Class name: BluetoothState;
Method or attribute name: STATE_OFF = 0
@ohos.bluetooth.access.d.ts
Added NA Class name: BluetoothState;
Method or attribute name: STATE_TURNING_ON = 1
@ohos.bluetooth.access.d.ts
Added NA Class name: BluetoothState;
Method or attribute name: STATE_ON = 2
@ohos.bluetooth.access.d.ts
Added NA Class name: BluetoothState;
Method or attribute name: STATE_TURNING_OFF = 3
@ohos.bluetooth.access.d.ts
Added NA Class name: BluetoothState;
Method or attribute name: STATE_BLE_TURNING_ON = 4
@ohos.bluetooth.access.d.ts
Added NA Class name: BluetoothState;
Method or attribute name: STATE_BLE_ON = 5
@ohos.bluetooth.access.d.ts
Added NA Class name: BluetoothState;
Method or attribute name: STATE_BLE_TURNING_OFF = 6
@ohos.bluetooth.access.d.ts
Added NA Class name: baseProfile;
Method or attribute name: type ProfileConnectionState = constant.ProfileConnectionState;
@ohos.bluetooth.baseProfile.d.ts
Added NA Class name: ConnectionStrategy;
Method or attribute name: CONNECTION_STRATEGY_UNSUPPORTED = 0
@ohos.bluetooth.baseProfile.d.ts
Added NA Class name: ConnectionStrategy;
Method or attribute name: CONNECTION_STRATEGY_ALLOWED = 1
@ohos.bluetooth.baseProfile.d.ts
Added NA Class name: ConnectionStrategy;
Method or attribute name: CONNECTION_STRATEGY_FORBIDDEN = 2
@ohos.bluetooth.baseProfile.d.ts
Added NA Class name: StateChangeParam;
Method or attribute name: deviceId: string;
@ohos.bluetooth.baseProfile.d.ts
Added NA Class name: StateChangeParam;
Method or attribute name: state: ProfileConnectionState;
@ohos.bluetooth.baseProfile.d.ts
Added NA Class name: BaseProfile;
Method or attribute name: setConnectionStrategy(deviceId: string, strategy: ConnectionStrategy): Promise<void>;
@ohos.bluetooth.baseProfile.d.ts
Added NA Class name: BaseProfile;
Method or attribute name: setConnectionStrategy(deviceId: string, strategy: ConnectionStrategy, callback: AsyncCallback<void>): void;
@ohos.bluetooth.baseProfile.d.ts
Added NA Class name: BaseProfile;
Method or attribute name: getConnectionStrategy(deviceId: string, callback: AsyncCallback<ConnectionStrategy>): void;
@ohos.bluetooth.baseProfile.d.ts
Added NA Class name: BaseProfile;
Method or attribute name: getConnectionStrategy(deviceId: string): Promise<ConnectionStrategy>;
@ohos.bluetooth.baseProfile.d.ts
Added NA Class name: BaseProfile;
Method or attribute name: getConnectedDevices(): Array<string>;
@ohos.bluetooth.baseProfile.d.ts
Added NA Class name: BaseProfile;
Method or attribute name: getConnectionState(deviceId: string): ProfileConnectionState;
@ohos.bluetooth.baseProfile.d.ts
Added NA Class name: BaseProfile;
Method or attribute name: on(type: 'connectionStateChange', callback: Callback<StateChangeParam>): void;
@ohos.bluetooth.baseProfile.d.ts
Added NA Class name: BaseProfile;
Method or attribute name: off(type: 'connectionStateChange', callback?: Callback<StateChangeParam>): void;
@ohos.bluetooth.baseProfile.d.ts
Added NA Class name: ble;
Method or attribute name: type ProfileConnectionState = constant.ProfileConnectionState;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ble;
Method or attribute name: function createGattServer(): GattServer;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ble;
Method or attribute name: function createGattClientDevice(deviceId: string): GattClientDevice;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ble;
Method or attribute name: function getConnectedBLEDevices(): Array<string>;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ble;
Method or attribute name: function startBLEScan(filters: Array<ScanFilter>, options?: ScanOptions): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ble;
Method or attribute name: function stopBLEScan(): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ble;
Method or attribute name: function startAdvertising(setting: AdvertiseSetting, advData: AdvertiseData, advResponse?: AdvertiseData): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ble;
Method or attribute name: function stopAdvertising(): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ble;
Method or attribute name: function on(type: 'BLEDeviceFind', callback: Callback<Array<ScanResult>>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ble;
Method or attribute name: function off(type: 'BLEDeviceFind', callback?: Callback<Array<ScanResult>>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattServer;
Method or attribute name: addService(service: GattService): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattServer;
Method or attribute name: removeService(serviceUuid: string): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattServer;
Method or attribute name: close(): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: close(): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattServer;
Method or attribute name: notifyCharacteristicChanged(

deviceId: string,

notifyCharacteristic: NotifyCharacteristic,

callback: AsyncCallback<void>

): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattServer;
Method or attribute name: notifyCharacteristicChanged(deviceId: string, notifyCharacteristic: NotifyCharacteristic): Promise<void>;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattServer;
Method or attribute name: sendResponse(serverResponse: ServerResponse): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattServer;
Method or attribute name: on(type: 'characteristicRead', callback: Callback<CharacteristicReadRequest>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattServer;
Method or attribute name: on(type: 'characteristicWrite', callback: Callback<CharacteristicWriteRequest>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattServer;
Method or attribute name: on(type: 'descriptorRead', callback: Callback<DescriptorReadRequest>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattServer;
Method or attribute name: on(type: 'descriptorWrite', callback: Callback<DescriptorWriteRequest>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattServer;
Method or attribute name: on(type: 'connectionStateChange', callback: Callback<BLEConnectionChangeState>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattServer;
Method or attribute name: on(type: 'BLEMtuChange', callback: Callback<number>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: on(type: 'BLEMtuChange', callback: Callback<number>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattServer;
Method or attribute name: off(type: 'characteristicRead', callback?: Callback<CharacteristicReadRequest>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattServer;
Method or attribute name: off(type: 'characteristicWrite', callback?: Callback<CharacteristicWriteRequest>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattServer;
Method or attribute name: off(type: 'descriptorRead', callback?: Callback<DescriptorReadRequest>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattServer;
Method or attribute name: off(type: 'descriptorWrite', callback?: Callback<DescriptorWriteRequest>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattServer;
Method or attribute name: off(type: 'connectionStateChange', callback?: Callback<BLEConnectionChangeState>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattServer;
Method or attribute name: off(type: 'BLEMtuChange', callback?: Callback<number>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: off(type: 'BLEMtuChange', callback?: Callback<number>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: connect(): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: disconnect(): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: getDeviceName(callback: AsyncCallback<string>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: getDeviceName(): Promise<string>;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: getServices(callback: AsyncCallback<Array<GattService>>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: getServices(): Promise<Array<GattService>>;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic, callback: AsyncCallback<BLECharacteristic>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<BLEDescriptor>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: writeCharacteristicValue(

characteristic: BLECharacteristic,

writeType: GattWriteType,

callback: AsyncCallback<void>

): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: writeCharacteristicValue(characteristic: BLECharacteristic, writeType: GattWriteType): Promise<void>;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: writeDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<void>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: writeDescriptorValue(descriptor: BLEDescriptor): Promise<void>;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: getRssiValue(callback: AsyncCallback<number>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: getRssiValue(): Promise<number>;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: setBLEMtuSize(mtu: number): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: setCharacteristicChangeNotification(

characteristic: BLECharacteristic,

enable: boolean,

callback: AsyncCallback<void>

): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: setCharacteristicChangeNotification(characteristic: BLECharacteristic, enable: boolean): Promise<void>;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: setCharacteristicChangeIndication(

characteristic: BLECharacteristic,

enable: boolean,

callback: AsyncCallback<void>

): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: setCharacteristicChangeIndication(characteristic: BLECharacteristic, enable: boolean): Promise<void>;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: on(type: 'BLECharacteristicChange', callback: Callback<BLECharacteristic>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: on(type: 'BLEConnectionStateChange', callback: Callback<BLEConnectionChangeState>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: off(type: 'BLECharacteristicChange', callback?: Callback<BLECharacteristic>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattClientDevice;
Method or attribute name: off(type: 'BLEConnectionStateChange', callback?: Callback<BLEConnectionChangeState>): void;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattService;
Method or attribute name: serviceUuid: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: BLECharacteristic;
Method or attribute name: serviceUuid: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: BLEDescriptor;
Method or attribute name: serviceUuid: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: NotifyCharacteristic;
Method or attribute name: serviceUuid: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: CharacteristicReadRequest;
Method or attribute name: serviceUuid: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: CharacteristicWriteRequest;
Method or attribute name: serviceUuid: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: DescriptorReadRequest;
Method or attribute name: serviceUuid: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: DescriptorWriteRequest;
Method or attribute name: serviceUuid: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ServiceData;
Method or attribute name: serviceUuid: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattService;
Method or attribute name: isPrimary: boolean;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattService;
Method or attribute name: characteristics: Array<BLECharacteristic>;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattService;
Method or attribute name: includeServices?: Array<GattService>;
@ohos.bluetooth.ble.d.ts
Added NA Class name: BLECharacteristic;
Method or attribute name: characteristicUuid: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: BLEDescriptor;
Method or attribute name: characteristicUuid: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: NotifyCharacteristic;
Method or attribute name: characteristicUuid: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: CharacteristicReadRequest;
Method or attribute name: characteristicUuid: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: CharacteristicWriteRequest;
Method or attribute name: characteristicUuid: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: DescriptorReadRequest;
Method or attribute name: characteristicUuid: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: DescriptorWriteRequest;
Method or attribute name: characteristicUuid: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: BLECharacteristic;
Method or attribute name: characteristicValue: ArrayBuffer;
@ohos.bluetooth.ble.d.ts
Added NA Class name: NotifyCharacteristic;
Method or attribute name: characteristicValue: ArrayBuffer;
@ohos.bluetooth.ble.d.ts
Added NA Class name: BLECharacteristic;
Method or attribute name: descriptors: Array<BLEDescriptor>;
@ohos.bluetooth.ble.d.ts
Added NA Class name: BLECharacteristic;
Method or attribute name: properties?: GattProperties;
@ohos.bluetooth.ble.d.ts
Added NA Class name: BLEDescriptor;
Method or attribute name: descriptorUuid: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: DescriptorReadRequest;
Method or attribute name: descriptorUuid: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: DescriptorWriteRequest;
Method or attribute name: descriptorUuid: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: BLEDescriptor;
Method or attribute name: descriptorValue: ArrayBuffer;
@ohos.bluetooth.ble.d.ts
Added NA Class name: NotifyCharacteristic;
Method or attribute name: confirm: boolean;
@ohos.bluetooth.ble.d.ts
Added NA Class name: CharacteristicReadRequest;
Method or attribute name: deviceId: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: CharacteristicWriteRequest;
Method or attribute name: deviceId: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: DescriptorReadRequest;
Method or attribute name: deviceId: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: DescriptorWriteRequest;
Method or attribute name: deviceId: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ServerResponse;
Method or attribute name: deviceId: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: BLEConnectionChangeState;
Method or attribute name: deviceId: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanResult;
Method or attribute name: deviceId: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: CharacteristicReadRequest;
Method or attribute name: transId: number;
@ohos.bluetooth.ble.d.ts
Added NA Class name: CharacteristicWriteRequest;
Method or attribute name: transId: number;
@ohos.bluetooth.ble.d.ts
Added NA Class name: DescriptorReadRequest;
Method or attribute name: transId: number;
@ohos.bluetooth.ble.d.ts
Added NA Class name: DescriptorWriteRequest;
Method or attribute name: transId: number;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ServerResponse;
Method or attribute name: transId: number;
@ohos.bluetooth.ble.d.ts
Added NA Class name: CharacteristicReadRequest;
Method or attribute name: offset: number;
@ohos.bluetooth.ble.d.ts
Added NA Class name: CharacteristicWriteRequest;
Method or attribute name: offset: number;
@ohos.bluetooth.ble.d.ts
Added NA Class name: DescriptorReadRequest;
Method or attribute name: offset: number;
@ohos.bluetooth.ble.d.ts
Added NA Class name: DescriptorWriteRequest;
Method or attribute name: offset: number;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ServerResponse;
Method or attribute name: offset: number;
@ohos.bluetooth.ble.d.ts
Added NA Class name: CharacteristicWriteRequest;
Method or attribute name: isPrepared: boolean;
@ohos.bluetooth.ble.d.ts
Added NA Class name: DescriptorWriteRequest;
Method or attribute name: isPrepared: boolean;
@ohos.bluetooth.ble.d.ts
Added NA Class name: CharacteristicWriteRequest;
Method or attribute name: needRsp: boolean;
@ohos.bluetooth.ble.d.ts
Added NA Class name: DescriptorWriteRequest;
Method or attribute name: needRsp: boolean;
@ohos.bluetooth.ble.d.ts
Added NA Class name: CharacteristicWriteRequest;
Method or attribute name: value: ArrayBuffer;
@ohos.bluetooth.ble.d.ts
Added NA Class name: DescriptorWriteRequest;
Method or attribute name: value: ArrayBuffer;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ServerResponse;
Method or attribute name: value: ArrayBuffer;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ServerResponse;
Method or attribute name: status: number;
@ohos.bluetooth.ble.d.ts
Added NA Class name: BLEConnectionChangeState;
Method or attribute name: state: ProfileConnectionState;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanResult;
Method or attribute name: rssi: number;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanResult;
Method or attribute name: data: ArrayBuffer;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanResult;
Method or attribute name: deviceName: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanResult;
Method or attribute name: connectable: boolean;
@ohos.bluetooth.ble.d.ts
Added NA Class name: AdvertiseSetting;
Method or attribute name: interval?: number;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanOptions;
Method or attribute name: interval?: number;
@ohos.bluetooth.ble.d.ts
Added NA Class name: AdvertiseSetting;
Method or attribute name: txPower?: number;
@ohos.bluetooth.ble.d.ts
Added NA Class name: AdvertiseSetting;
Method or attribute name: connectable?: boolean;
@ohos.bluetooth.ble.d.ts
Added NA Class name: AdvertiseData;
Method or attribute name: serviceUuids: Array<string>;
@ohos.bluetooth.ble.d.ts
Added NA Class name: AdvertiseData;
Method or attribute name: manufactureData: Array<ManufactureData>;
@ohos.bluetooth.ble.d.ts
Added NA Class name: AdvertiseData;
Method or attribute name: serviceData: Array<ServiceData>;
@ohos.bluetooth.ble.d.ts
Added NA Class name: AdvertiseData;
Method or attribute name: includeDeviceName?: boolean;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ManufactureData;
Method or attribute name: manufactureId: number;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ManufactureData;
Method or attribute name: manufactureValue: ArrayBuffer;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ServiceData;
Method or attribute name: serviceValue: ArrayBuffer;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanFilter;
Method or attribute name: deviceId?: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanFilter;
Method or attribute name: name?: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanFilter;
Method or attribute name: serviceUuid?: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanFilter;
Method or attribute name: serviceUuidMask?: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanFilter;
Method or attribute name: serviceSolicitationUuid?: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanFilter;
Method or attribute name: serviceSolicitationUuidMask?: string;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanFilter;
Method or attribute name: serviceData?: ArrayBuffer;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanFilter;
Method or attribute name: serviceDataMask?: ArrayBuffer;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanFilter;
Method or attribute name: manufactureId?: number;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanFilter;
Method or attribute name: manufactureData?: ArrayBuffer;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanFilter;
Method or attribute name: manufactureDataMask?: ArrayBuffer;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanOptions;
Method or attribute name: dutyMode?: ScanDuty;
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanOptions;
Method or attribute name: matchMode?: MatchMode;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattProperties;
Method or attribute name: write?: boolean;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattProperties;
Method or attribute name: writeNoResponse?: boolean;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattProperties;
Method or attribute name: read?: boolean;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattProperties;
Method or attribute name: notify?: boolean;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattProperties;
Method or attribute name: indicate?: boolean;
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattWriteType;
Method or attribute name: WRITE = 1
@ohos.bluetooth.ble.d.ts
Added NA Class name: GattWriteType;
Method or attribute name: WRITE_NO_RESPONSE = 2
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanDuty;
Method or attribute name: SCAN_MODE_LOW_POWER = 0
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanDuty;
Method or attribute name: SCAN_MODE_BALANCED = 1
@ohos.bluetooth.ble.d.ts
Added NA Class name: ScanDuty;
Method or attribute name: SCAN_MODE_LOW_LATENCY = 2
@ohos.bluetooth.ble.d.ts
Added NA Class name: MatchMode;
Method or attribute name: MATCH_MODE_AGGRESSIVE = 1
@ohos.bluetooth.ble.d.ts
Added NA Class name: MatchMode;
Method or attribute name: MATCH_MODE_STICKY = 2
@ohos.bluetooth.ble.d.ts
Added NA Class name: connection;
Method or attribute name: type ProfileConnectionState = constant.ProfileConnectionState;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: type ProfileId = constant.ProfileId;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: type ProfileUuids = constant.ProfileUuids;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: type MajorClass = constant.MajorClass;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: type MajorMinorClass = constant.MajorMinorClass;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function getProfileConnectionState(profileId?: ProfileId): ProfileConnectionState;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function pairDevice(deviceId: string, callback: AsyncCallback<void>): void;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function pairDevice(deviceId: string): Promise<void>;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function pairCredibleDevice(deviceId: string, transport: BluetoothTransport, callback: AsyncCallback<void>): void;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function pairCredibleDevice(deviceId: string, transport: BluetoothTransport): Promise<void>;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function cancelPairedDevice(deviceId: string, callback: AsyncCallback<void>): void;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function cancelPairedDevice(deviceId: string): Promise<void>;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function cancelPairingDevice(deviceId: string, callback: AsyncCallback<void>): void;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function cancelPairingDevice(deviceId: string): Promise<void>;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function getRemoteDeviceName(deviceId: string): string;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function getRemoteDeviceClass(deviceId: string): DeviceClass;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function getLocalName(): string;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function getPairedDevices(): Array<string>;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function setDevicePairingConfirmation(deviceId: string, accept: boolean): void;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function setDevicePinCode(deviceId: string, code: string, callback: AsyncCallback<void>): void;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function setDevicePinCode(deviceId: string, code: string): Promise<void>;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function setLocalName(name: string): void;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function setBluetoothScanMode(mode: ScanMode, duration: number): void;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function getBluetoothScanMode(): ScanMode;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function startBluetoothDiscovery(): void;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function stopBluetoothDiscovery(): void;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function getLocalProfileUuids(callback: AsyncCallback<Array<ProfileUuids>>): void;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function getLocalProfileUuids(): Promise<Array<ProfileUuids>>;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function getRemoteProfileUuids(deviceId: string, callback: AsyncCallback<Array<ProfileUuids>>): void;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function getRemoteProfileUuids(deviceId: string): Promise<Array<ProfileUuids>>;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function on(type: 'bluetoothDeviceFind', callback: Callback<Array<string>>): void;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function on(type: 'bondStateChange', callback: Callback<BondStateParam>): void;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function on(type: 'pinRequired', callback: Callback<PinRequiredParam>): void;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function off(type: 'bluetoothDeviceFind', callback?: Callback<Array<string>>): void;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function off(type: 'bondStateChange', callback?: Callback<BondStateParam>): void;
@ohos.bluetooth.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function off(type: 'pinRequired', callback?: Callback<PinRequiredParam>): void;
@ohos.bluetooth.connection.d.ts
Added NA Class name: BondStateParam;
Method or attribute name: deviceId: string;
@ohos.bluetooth.connection.d.ts
Added NA Class name: PinRequiredParam;
Method or attribute name: deviceId: string;
@ohos.bluetooth.connection.d.ts
Added NA Class name: BondStateParam;
Method or attribute name: state: BondState;
@ohos.bluetooth.connection.d.ts
Added NA Class name: PinRequiredParam;
Method or attribute name: pinCode: string;
@ohos.bluetooth.connection.d.ts
Added NA Class name: PinRequiredParam;
Method or attribute name: pinType: PinType;
@ohos.bluetooth.connection.d.ts
Added NA Class name: DeviceClass;
Method or attribute name: majorClass: MajorClass;
@ohos.bluetooth.connection.d.ts
Added NA Class name: DeviceClass;
Method or attribute name: majorMinorClass: MajorMinorClass;
@ohos.bluetooth.connection.d.ts
Added NA Class name: DeviceClass;
Method or attribute name: classOfDevice: number;
@ohos.bluetooth.connection.d.ts
Added NA Class name: BluetoothTransport;
Method or attribute name: TRANSPORT_BR_EDR = 0
@ohos.bluetooth.connection.d.ts
Added NA Class name: BluetoothTransport;
Method or attribute name: TRANSPORT_LE = 1
@ohos.bluetooth.connection.d.ts
Added NA Class name: ScanMode;
Method or attribute name: SCAN_MODE_NONE = 0
@ohos.bluetooth.connection.d.ts
Added NA Class name: ScanMode;
Method or attribute name: SCAN_MODE_CONNECTABLE = 1
@ohos.bluetooth.connection.d.ts
Added NA Class name: ScanMode;
Method or attribute name: SCAN_MODE_GENERAL_DISCOVERABLE = 2
@ohos.bluetooth.connection.d.ts
Added NA Class name: ScanMode;
Method or attribute name: SCAN_MODE_LIMITED_DISCOVERABLE = 3
@ohos.bluetooth.connection.d.ts
Added NA Class name: ScanMode;
Method or attribute name: SCAN_MODE_CONNECTABLE_GENERAL_DISCOVERABLE = 4
@ohos.bluetooth.connection.d.ts
Added NA Class name: ScanMode;
Method or attribute name: SCAN_MODE_CONNECTABLE_LIMITED_DISCOVERABLE = 5
@ohos.bluetooth.connection.d.ts
Added NA Class name: BondState;
Method or attribute name: BOND_STATE_INVALID = 0
@ohos.bluetooth.connection.d.ts
Added NA Class name: BondState;
Method or attribute name: BOND_STATE_BONDING = 1
@ohos.bluetooth.connection.d.ts
Added NA Class name: BondState;
Method or attribute name: BOND_STATE_BONDED = 2
@ohos.bluetooth.connection.d.ts
Added NA Class name: PinType;
Method or attribute name: PIN_TYPE_ENTER_PIN_CODE = 0
@ohos.bluetooth.connection.d.ts
Added NA Class name: PinType;
Method or attribute name: PIN_TYPE_ENTER_PASSKEY = 1
@ohos.bluetooth.connection.d.ts
Added NA Class name: PinType;
Method or attribute name: PIN_TYPE_CONFIRM_PASSKEY = 2
@ohos.bluetooth.connection.d.ts
Added NA Class name: PinType;
Method or attribute name: PIN_TYPE_NO_PASSKEY_CONSENT = 3
@ohos.bluetooth.connection.d.ts
Added NA Class name: PinType;
Method or attribute name: PIN_TYPE_NOTIFY_PASSKEY = 4
@ohos.bluetooth.connection.d.ts
Added NA Class name: PinType;
Method or attribute name: PIN_TYPE_DISPLAY_PIN_CODE = 5
@ohos.bluetooth.connection.d.ts
Added NA Class name: PinType;
Method or attribute name: PIN_TYPE_OOB_CONSENT = 6
@ohos.bluetooth.connection.d.ts
Added NA Class name: PinType;
Method or attribute name: PIN_TYPE_PIN_16_DIGITS = 7
@ohos.bluetooth.connection.d.ts
Added NA Class name: ProfileId;
Method or attribute name: PROFILE_A2DP_SOURCE = 1
@ohos.bluetooth.constant.d.ts
Added NA Class name: ProfileId;
Method or attribute name: PROFILE_HANDSFREE_AUDIO_GATEWAY = 4
@ohos.bluetooth.constant.d.ts
Added NA Class name: ProfileId;
Method or attribute name: PROFILE_HID_HOST = 6
@ohos.bluetooth.constant.d.ts
Added NA Class name: ProfileId;
Method or attribute name: PROFILE_PAN_NETWORK = 7
@ohos.bluetooth.constant.d.ts
Added NA Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_HFP_AG = '0000111F-0000-1000-8000-00805F9B34FB'
@ohos.bluetooth.constant.d.ts
Added NA Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_HFP_HF = '0000111E-0000-1000-8000-00805F9B34FB'
@ohos.bluetooth.constant.d.ts
Added NA Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_HSP_AG = '00001112-0000-1000-8000-00805F9B34FB'
@ohos.bluetooth.constant.d.ts
Added NA Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_HSP_HS = '00001108-0000-1000-8000-00805F9B34FB'
@ohos.bluetooth.constant.d.ts
Added NA Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_A2DP_SRC = '0000110A-0000-1000-8000-00805F9B34FB'
@ohos.bluetooth.constant.d.ts
Added NA Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_A2DP_SINK = '0000110B-0000-1000-8000-00805F9B34FB'
@ohos.bluetooth.constant.d.ts
Added NA Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_AVRCP_CT = '0000110E-0000-1000-8000-00805F9B34FB'
@ohos.bluetooth.constant.d.ts
Added NA Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_AVRCP_TG = '0000110C-0000-1000-8000-00805F9B34FB'
@ohos.bluetooth.constant.d.ts
Added NA Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_HID = '00001124-0000-1000-8000-00805F9B34FB'
@ohos.bluetooth.constant.d.ts
Added NA Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_HOGP = '00001812-0000-1000-8000-00805F9B34FB'
@ohos.bluetooth.constant.d.ts
Added NA Class name: ProfileConnectionState;
Method or attribute name: STATE_DISCONNECTED = 0
@ohos.bluetooth.constant.d.ts
Added NA Class name: ProfileConnectionState;
Method or attribute name: STATE_CONNECTING = 1
@ohos.bluetooth.constant.d.ts
Added NA Class name: ProfileConnectionState;
Method or attribute name: STATE_CONNECTED = 2
@ohos.bluetooth.constant.d.ts
Added NA Class name: ProfileConnectionState;
Method or attribute name: STATE_DISCONNECTING = 3
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorClass;
Method or attribute name: MAJOR_MISC = 0x0000
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorClass;
Method or attribute name: MAJOR_COMPUTER = 0x0100
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorClass;
Method or attribute name: MAJOR_PHONE = 0x0200
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorClass;
Method or attribute name: MAJOR_NETWORKING = 0x0300
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorClass;
Method or attribute name: MAJOR_AUDIO_VIDEO = 0x0400
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorClass;
Method or attribute name: MAJOR_PERIPHERAL = 0x0500
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorClass;
Method or attribute name: MAJOR_IMAGING = 0x0600
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorClass;
Method or attribute name: MAJOR_WEARABLE = 0x0700
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorClass;
Method or attribute name: MAJOR_TOY = 0x0800
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorClass;
Method or attribute name: MAJOR_HEALTH = 0x0900
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorClass;
Method or attribute name: MAJOR_UNCATEGORIZED = 0x1F00
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: COMPUTER_UNCATEGORIZED = 0x0100
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: COMPUTER_DESKTOP = 0x0104
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: COMPUTER_SERVER = 0x0108
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: COMPUTER_LAPTOP = 0x010C
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: COMPUTER_HANDHELD_PC_PDA = 0x0110
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: COMPUTER_PALM_SIZE_PC_PDA = 0x0114
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: COMPUTER_WEARABLE = 0x0118
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: COMPUTER_TABLET = 0x011C
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: PHONE_UNCATEGORIZED = 0x0200
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: PHONE_CELLULAR = 0x0204
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: PHONE_CORDLESS = 0x0208
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: PHONE_SMART = 0x020C
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: PHONE_MODEM_OR_GATEWAY = 0x0210
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: PHONE_ISDN = 0x0214
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: NETWORK_FULLY_AVAILABLE = 0x0300
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: NETWORK_1_TO_17_UTILIZED = 0x0320
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: NETWORK_17_TO_33_UTILIZED = 0x0340
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: NETWORK_33_TO_50_UTILIZED = 0x0360
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: NETWORK_60_TO_67_UTILIZED = 0x0380
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: NETWORK_67_TO_83_UTILIZED = 0x03A0
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: NETWORK_83_TO_99_UTILIZED = 0x03C0
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: NETWORK_NO_SERVICE = 0x03E0
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_UNCATEGORIZED = 0x0400
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_WEARABLE_HEADSET = 0x0404
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_HANDSFREE = 0x0408
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_MICROPHONE = 0x0410
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_LOUDSPEAKER = 0x0414
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_HEADPHONES = 0x0418
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_PORTABLE_AUDIO = 0x041C
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_CAR_AUDIO = 0x0420
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_SET_TOP_BOX = 0x0424
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_HIFI_AUDIO = 0x0428
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_VCR = 0x042C
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_VIDEO_CAMERA = 0x0430
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_CAMCORDER = 0x0434
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_VIDEO_MONITOR = 0x0438
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_VIDEO_DISPLAY_AND_LOUDSPEAKER = 0x043C
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_VIDEO_CONFERENCING = 0x0440
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_VIDEO_GAMING_TOY = 0x0448
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_NON_KEYBOARD_NON_POINTING = 0x0500
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_KEYBOARD = 0x0540
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_POINTING_DEVICE = 0x0580
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_KEYBOARD_POINTING = 0x05C0
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_UNCATEGORIZED = 0x0500
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_JOYSTICK = 0x0504
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_GAMEPAD = 0x0508
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_REMOTE_CONTROL = 0x05C0
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_SENSING_DEVICE = 0x0510
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_DIGITIZER_TABLET = 0x0514
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_CARD_READER = 0x0518
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_DIGITAL_PEN = 0x051C
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_SCANNER_RFID = 0x0520
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_GESTURAL_INPUT = 0x0522
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: IMAGING_UNCATEGORIZED = 0x0600
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: IMAGING_DISPLAY = 0x0610
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: IMAGING_CAMERA = 0x0620
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: IMAGING_SCANNER = 0x0640
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: IMAGING_PRINTER = 0x0680
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: WEARABLE_UNCATEGORIZED = 0x0700
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: WEARABLE_WRIST_WATCH = 0x0704
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: WEARABLE_PAGER = 0x0708
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: WEARABLE_JACKET = 0x070C
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: WEARABLE_HELMET = 0x0710
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: WEARABLE_GLASSES = 0x0714
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: TOY_UNCATEGORIZED = 0x0800
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: TOY_ROBOT = 0x0804
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: TOY_VEHICLE = 0x0808
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: TOY_DOLL_ACTION_FIGURE = 0x080C
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: TOY_CONTROLLER = 0x0810
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: TOY_GAME = 0x0814
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: HEALTH_UNCATEGORIZED = 0x0900
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: HEALTH_BLOOD_PRESSURE = 0x0904
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: HEALTH_THERMOMETER = 0x0908
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: HEALTH_WEIGHING = 0x090C
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: HEALTH_GLUCOSE = 0x0910
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: HEALTH_PULSE_OXIMETER = 0x0914
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: HEALTH_PULSE_RATE = 0x0918
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: HEALTH_DATA_DISPLAY = 0x091C
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: HEALTH_STEP_COUNTER = 0x0920
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: HEALTH_BODY_COMPOSITION_ANALYZER = 0x0924
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: HEALTH_PEAK_FLOW_MONITOR = 0x0928
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: HEALTH_MEDICATION_MONITOR = 0x092C
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: HEALTH_KNEE_PROSTHESIS = 0x0930
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: HEALTH_ANKLE_PROSTHESIS = 0x0934
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: HEALTH_GENERIC_HEALTH_MANAGER = 0x0938
@ohos.bluetooth.constant.d.ts
Added NA Class name: MajorMinorClass;
Method or attribute name: HEALTH_PERSONAL_MOBILITY_DEVICE = 0x093C
@ohos.bluetooth.constant.d.ts
Added NA Class name: hfp;
Method or attribute name: type BaseProfile = baseProfile.BaseProfile;
@ohos.bluetooth.hfp.d.ts
Added NA Class name: hfp;
Method or attribute name: function createHfpAgProfile(): HandsFreeAudioGatewayProfile;
@ohos.bluetooth.hfp.d.ts
Added NA Class name: HandsFreeAudioGatewayProfile;
Method or attribute name: connect(deviceId: string): void;
@ohos.bluetooth.hfp.d.ts
Added NA Class name: HandsFreeAudioGatewayProfile;
Method or attribute name: disconnect(deviceId: string): void;
@ohos.bluetooth.hfp.d.ts
Added NA Class name: hid;
Method or attribute name: type BaseProfile = baseProfile.BaseProfile;
@ohos.bluetooth.hid.d.ts
Added NA Class name: hid;
Method or attribute name: function createHidHostProfile(): HidHostProfile;
@ohos.bluetooth.hid.d.ts
Added NA Class name: HidHostProfile;
Method or attribute name: connect(deviceId: string): void;
@ohos.bluetooth.hid.d.ts
Added NA Class name: HidHostProfile;
Method or attribute name: disconnect(deviceId: string): void;
@ohos.bluetooth.hid.d.ts
Added NA Class name: pan;
Method or attribute name: type BaseProfile = baseProfile.BaseProfile;
@ohos.bluetooth.pan.d.ts
Added NA Class name: pan;
Method or attribute name: function createPanProfile(): PanProfile;
@ohos.bluetooth.pan.d.ts
Added NA Class name: PanProfile;
Method or attribute name: disconnect(deviceId: string): void;
@ohos.bluetooth.pan.d.ts
Added NA Class name: PanProfile;
Method or attribute name: setTethering(enable: boolean): void;
@ohos.bluetooth.pan.d.ts
Added NA Class name: PanProfile;
Method or attribute name: isTetheringOn(): boolean;
@ohos.bluetooth.pan.d.ts
Added NA Class name: socket;
Method or attribute name: function sppListen(name: string, options: SppOptions, callback: AsyncCallback<number>): void;
@ohos.bluetooth.socket.d.ts
Added NA Class name: socket;
Method or attribute name: function sppAccept(serverSocket: number, callback: AsyncCallback<number>): void;
@ohos.bluetooth.socket.d.ts
Added NA Class name: socket;
Method or attribute name: function sppConnect(deviceId: string, options: SppOptions, callback: AsyncCallback<number>): void;
@ohos.bluetooth.socket.d.ts
Added NA Class name: socket;
Method or attribute name: function sppCloseServerSocket(socket: number): void;
@ohos.bluetooth.socket.d.ts
Added NA Class name: socket;
Method or attribute name: function sppCloseClientSocket(socket: number): void;
@ohos.bluetooth.socket.d.ts
Added NA Class name: socket;
Method or attribute name: function sppWrite(clientSocket: number, data: ArrayBuffer): void;
@ohos.bluetooth.socket.d.ts
Added NA Class name: socket;
Method or attribute name: function on(type: 'sppRead', clientSocket: number, callback: Callback<ArrayBuffer>): void;
@ohos.bluetooth.socket.d.ts
Added NA Class name: socket;
Method or attribute name: function off(type: 'sppRead', clientSocket: number, callback?: Callback<ArrayBuffer>): void;
@ohos.bluetooth.socket.d.ts
Added NA Class name: SppOptions;
Method or attribute name: uuid: string;
@ohos.bluetooth.socket.d.ts
Added NA Class name: SppOptions;
Method or attribute name: secure: boolean;
@ohos.bluetooth.socket.d.ts
Added NA Class name: SppOptions;
Method or attribute name: type: SppType;
@ohos.bluetooth.socket.d.ts
Added NA Class name: SppType;
Method or attribute name: SPP_RFCOMM
@ohos.bluetooth.socket.d.ts
Added NA Class name: connection;
Method or attribute name: function getAllNetsSync(): Array<NetHandle>;
@ohos.net.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function getConnectionPropertiesSync(netHandle: NetHandle): ConnectionProperties;
@ohos.net.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function getNetCapabilitiesSync(netHandle: NetHandle): NetCapabilities;
@ohos.net.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function isDefaultNetMeteredSync(): boolean;
@ohos.net.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function hasDefaultNetSync(): boolean;
@ohos.net.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function getAppNetSync(): NetHandle;
@ohos.net.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function getDefaultHttpProxy(callback: AsyncCallback<HttpProxy>): void;
@ohos.net.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function getDefaultHttpProxy(): Promise<HttpProxy>;
@ohos.net.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function getGlobalHttpProxy(callback: AsyncCallback<HttpProxy>): void;
@ohos.net.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function getGlobalHttpProxy(): Promise<HttpProxy>;
@ohos.net.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function setGlobalHttpProxy(httpProxy: HttpProxy, callback: AsyncCallback<void>): void;
@ohos.net.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function setGlobalHttpProxy(httpProxy: HttpProxy): Promise<void>;
@ohos.net.connection.d.ts
Added NA Class name: NetConnection;
Method or attribute name: on(type: 'netCapabilitiesChange', callback: Callback<NetCapabilityInfo>): void;
@ohos.net.connection.d.ts
Added NA Class name: NetCapabilityInfo;
Method or attribute name: netHandle: NetHandle;
@ohos.net.connection.d.ts
Added NA Class name: NetCapabilityInfo;
Method or attribute name: netCap: NetCapabilities;
@ohos.net.connection.d.ts
Added NA Class name: HttpProxy;
Method or attribute name: host: string;
@ohos.net.connection.d.ts
Added NA Class name: HttpProxy;
Method or attribute name: port: number;
@ohos.net.connection.d.ts
Added NA Class name: HttpProxy;
Method or attribute name: exclusionList: Array<string>;
@ohos.net.connection.d.ts
Added NA Class name: ethernet;
Method or attribute name: type HttpProxy = connection.HttpProxy;
@ohos.net.ethernet.d.ts
Added NA Class name: ethernet;
Method or attribute name: function on(type: 'interfaceStateChange', callback: Callback<{ iface: string, active: boolean }>): void;
@ohos.net.ethernet.d.ts
Added NA Class name: ethernet;
Method or attribute name: function off(type: 'interfaceStateChange', callback?: Callback<{ iface: string, active: boolean }>): void;
@ohos.net.ethernet.d.ts
Added NA Class name: InterfaceConfiguration;
Method or attribute name: httpProxy?: HttpProxy;
@ohos.net.ethernet.d.ts
Added NA Class name: http;
Method or attribute name: type HttpProxy = connection.HttpProxy;
@ohos.net.http.d.ts
Added NA Class name: HttpRequestOptions;
Method or attribute name: usingProxy?: boolean | HttpProxy;
@ohos.net.http.d.ts
Added NA Class name: HttpRequestOptions;
Method or attribute name: caPath?: string;
@ohos.net.http.d.ts
Added NA Class name: HttpRequest;
Method or attribute name: requestInStream(url: string, callback: AsyncCallback<number>): void;
@ohos.net.http.d.ts
Added NA Class name: HttpRequest;
Method or attribute name: requestInStream(url: string, options: HttpRequestOptions, callback: AsyncCallback<number>): void;
@ohos.net.http.d.ts
Added NA Class name: HttpRequest;
Method or attribute name: requestInStream(url: string, options?: HttpRequestOptions): Promise<number>;
@ohos.net.http.d.ts
Added NA Class name: HttpRequest;
Method or attribute name: on(type: "dataReceive", callback: Callback<ArrayBuffer>): void;
@ohos.net.http.d.ts
Added NA Class name: HttpRequest;
Method or attribute name: on(type: "dataEnd", callback: Callback<void>): void;
@ohos.net.http.d.ts
Added NA Class name: HttpRequest;
Method or attribute name: on(type: 'dataReceiveProgress', callback: Callback<{ receiveSize: number, totalSize: number }>): void;
@ohos.net.http.d.ts
Added NA Class name: HttpRequest;
Method or attribute name: off(type: "dataReceive", callback?: Callback<ArrayBuffer>): void;
@ohos.net.http.d.ts
Added NA Class name: HttpRequest;
Method or attribute name: off(type: "dataEnd", callback?: Callback<void>): void;
@ohos.net.http.d.ts
Added NA Class name: HttpRequest;
Method or attribute name: off(type: 'dataReceiveProgress', callback?: Callback<{ receiveSize: number, totalSize: number }>): void;
@ohos.net.http.d.ts
Added NA Class name: mdns;
Method or attribute name: function addLocalService(context: Context, serviceInfo: LocalServiceInfo,
callback: AsyncCallback<LocalServiceInfo>): void;
@ohos.net.mdns.d.ts
Added NA Class name: mdns;
Method or attribute name: function addLocalService(context: Context, serviceInfo: LocalServiceInfo): Promise<LocalServiceInfo>;
@ohos.net.mdns.d.ts
Added NA Class name: mdns;
Method or attribute name: function removeLocalService(context: Context, serviceInfo: LocalServiceInfo,
callback: AsyncCallback<LocalServiceInfo>): void;
@ohos.net.mdns.d.ts
Added NA Class name: mdns;
Method or attribute name: function removeLocalService(context: Context, serviceInfo: LocalServiceInfo): Promise<LocalServiceInfo>;
@ohos.net.mdns.d.ts
Added NA Class name: mdns;
Method or attribute name: function createDiscoveryService(context: Context, serviceType: string): DiscoveryService;
@ohos.net.mdns.d.ts
Added NA Class name: mdns;
Method or attribute name: function resolveLocalService(context: Context, serviceInfo: LocalServiceInfo,
callback: AsyncCallback<LocalServiceInfo>): void;
@ohos.net.mdns.d.ts
Added NA Class name: mdns;
Method or attribute name: function resolveLocalService(context: Context, serviceInfo: LocalServiceInfo): Promise<LocalServiceInfo>;
@ohos.net.mdns.d.ts
Added NA Class name: DiscoveryService;
Method or attribute name: on(type: 'discoveryStart', callback: Callback<{ serviceInfo: LocalServiceInfo, errorCode?: MdnsError }>): void;
@ohos.net.mdns.d.ts
Added NA Class name: DiscoveryService;
Method or attribute name: on(type: 'discoveryStop', callback: Callback<{ serviceInfo: LocalServiceInfo, errorCode?: MdnsError }>): void;
@ohos.net.mdns.d.ts
Added NA Class name: DiscoveryService;
Method or attribute name: on(type: 'serviceFound', callback: Callback<LocalServiceInfo>): void;
@ohos.net.mdns.d.ts
Added NA Class name: DiscoveryService;
Method or attribute name: on(type: 'serviceLost', callback: Callback<LocalServiceInfo>): void;
@ohos.net.mdns.d.ts
Added NA Class name: DiscoveryService;
Method or attribute name: off(type: 'discoveryStart', callback?: Callback<{ serviceInfo: LocalServiceInfo, errorCode?: MdnsError }>): void;
@ohos.net.mdns.d.ts
Added NA Class name: DiscoveryService;
Method or attribute name: off(type: 'discoveryStop', callback?: Callback<{ serviceInfo: LocalServiceInfo, errorCode?: MdnsError }>): void;
@ohos.net.mdns.d.ts
Added NA Class name: DiscoveryService;
Method or attribute name: off(type: 'serviceFound', callback?: Callback<LocalServiceInfo>): void;
@ohos.net.mdns.d.ts
Added NA Class name: DiscoveryService;
Method or attribute name: off(type: 'serviceLost', callback?: Callback<LocalServiceInfo>): void;
@ohos.net.mdns.d.ts
Added NA Class name: DiscoveryService;
Method or attribute name: startSearchingMDNS(): void;
@ohos.net.mdns.d.ts
Added NA Class name: DiscoveryService;
Method or attribute name: stopSearchingMDNS(): void;
@ohos.net.mdns.d.ts
Added NA Class name: LocalServiceInfo;
Method or attribute name: serviceType: string;
@ohos.net.mdns.d.ts
Added NA Class name: LocalServiceInfo;
Method or attribute name: serviceName: string;
@ohos.net.mdns.d.ts
Added NA Class name: LocalServiceInfo;
Method or attribute name: port?: number;
@ohos.net.mdns.d.ts
Added NA Class name: LocalServiceInfo;
Method or attribute name: host?: NetAddress;
@ohos.net.mdns.d.ts
Added NA Class name: LocalServiceInfo;
Method or attribute name: serviceAttribute?: Array<ServiceAttribute>;
@ohos.net.mdns.d.ts
Added NA Class name: ServiceAttribute;
Method or attribute name: key: string;
@ohos.net.mdns.d.ts
Added NA Class name: ServiceAttribute;
Method or attribute name: value: Array<number>;
@ohos.net.mdns.d.ts
Added NA Class name: MdnsError;
Method or attribute name: INTERNAL_ERROR = 0
@ohos.net.mdns.d.ts
Added NA Class name: MdnsError;
Method or attribute name: ALREADY_ACTIVE = 1
@ohos.net.mdns.d.ts
Added NA Class name: MdnsError;
Method or attribute name: MAX_LIMIT = 2
@ohos.net.mdns.d.ts
Added NA Class name: policy;
Method or attribute name: function setBackgroundAllowed(isAllowed: boolean, callback: AsyncCallback<void>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function setBackgroundAllowed(isAllowed: boolean): Promise<void>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function isBackgroundAllowed(callback: AsyncCallback<boolean>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function isBackgroundAllowed(): Promise<boolean>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getBackgroundPolicyByUid(uid: number, callback: AsyncCallback<NetBackgroundPolicy>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getBackgroundPolicyByUid(uid: number): Promise<NetBackgroundPolicy>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function setPolicyByUid(uid: number, policy: NetUidPolicy, callback: AsyncCallback<void>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function setPolicyByUid(uid: number, policy: NetUidPolicy): Promise<void>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getPolicyByUid(uid: number, callback: AsyncCallback<NetUidPolicy>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getPolicyByUid(uid: number): Promise<NetUidPolicy>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getUidsByPolicy(policy: NetUidPolicy, callback: AsyncCallback<Array<number>>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getUidsByPolicy(policy: NetUidPolicy): Promise<Array<number>>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function isUidNetAllowed(uid: number, isMetered: boolean, callback: AsyncCallback<boolean>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function isUidNetAllowed(uid: number, isMetered: boolean): Promise<boolean>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function isUidNetAllowed(uid: number, iface: string, callback: AsyncCallback<boolean>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function isUidNetAllowed(uid: number, iface: string): Promise<boolean>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function setNetQuotaPolicies(quotaPolicies: Array<NetQuotaPolicy>, callback: AsyncCallback<void>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function setNetQuotaPolicies(quotaPolicies: Array<NetQuotaPolicy>): Promise<void>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getNetQuotaPolicies(callback: AsyncCallback<Array<NetQuotaPolicy>>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getNetQuotaPolicies(): Promise<Array<NetQuotaPolicy>>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function updateRemindPolicy(netType: NetBearType, simId: string, remindType: RemindType, callback: AsyncCallback<void>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function updateRemindPolicy(netType: NetBearType, simId: string, remindType: RemindType): Promise<void>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function setDeviceIdleTrustlist(uids: Array<number>, isAllowed: boolean, callback: AsyncCallback<void>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function setDeviceIdleTrustlist(uids: Array<number>, isAllowed: boolean): Promise<void>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getDeviceIdleTrustlist(callback: AsyncCallback<Array<number>>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getDeviceIdleTrustlist(): Promise<Array<number>>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function setPowerSaveTrustlist(uids: Array<number>, isAllowed: boolean, callback: AsyncCallback<void>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function setPowerSaveTrustlist(uids: Array<number>, isAllowed: boolean): Promise<void>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getPowerSaveTrustlist(callback: AsyncCallback<Array<number>>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getPowerSaveTrustlist(): Promise<Array<number>>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function resetPolicies(simId: string, callback: AsyncCallback<void>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function resetPolicies(simId: string): Promise<void>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function on(type: 'netUidPolicyChange', callback: Callback<{ uid: number, policy: NetUidPolicy }>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function on(type: 'netUidRuleChange', callback: Callback<{ uid: number, rule: NetUidRule }>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function on(type: 'netMeteredIfacesChange', callback: Callback<Array<string>>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function on(type: 'netQuotaPolicyChange', callback: Callback<Array<NetQuotaPolicy>>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function on(type: 'netBackgroundPolicyChange', callback: Callback<boolean>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function off(type: 'netUidPolicyChange', callback?: Callback<{ uid: number, policy: NetUidPolicy }>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function off(type: 'netUidRuleChange', callback?: Callback<{ uid: number, rule: NetUidRule }>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function off(type: 'netMeteredIfacesChange', callback?: Callback<Array<string>>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function off(type: 'netQuotaPolicyChange', callback?: Callback<Array<NetQuotaPolicy>>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function off(type: 'netBackgroundPolicyChange', callback?: Callback<boolean>): void;
@ohos.net.policy.d.ts
Added NA Class name: NetBackgroundPolicy;
Method or attribute name: NET_BACKGROUND_POLICY_NONE = 0
@ohos.net.policy.d.ts
Added NA Class name: NetBackgroundPolicy;
Method or attribute name: NET_BACKGROUND_POLICY_ENABLE = 1
@ohos.net.policy.d.ts
Added NA Class name: NetBackgroundPolicy;
Method or attribute name: NET_BACKGROUND_POLICY_DISABLE = 2
@ohos.net.policy.d.ts
Added NA Class name: NetBackgroundPolicy;
Method or attribute name: NET_BACKGROUND_POLICY_TRUSTLIST = 3
@ohos.net.policy.d.ts
Added NA Class name: NetQuotaPolicy;
Method or attribute name: networkMatchRule: NetworkMatchRule;
@ohos.net.policy.d.ts
Added NA Class name: NetQuotaPolicy;
Method or attribute name: quotaPolicy: QuotaPolicy;
@ohos.net.policy.d.ts
Added NA Class name: QuotaPolicy;
Method or attribute name: periodDuration: string;
@ohos.net.policy.d.ts
Added NA Class name: QuotaPolicy;
Method or attribute name: warningBytes: number;
@ohos.net.policy.d.ts
Added NA Class name: QuotaPolicy;
Method or attribute name: limitBytes: number;
@ohos.net.policy.d.ts
Added NA Class name: QuotaPolicy;
Method or attribute name: metered: boolean;
@ohos.net.policy.d.ts
Added NA Class name: QuotaPolicy;
Method or attribute name: limitAction: LimitAction;
@ohos.net.policy.d.ts
Added NA Class name: QuotaPolicy;
Method or attribute name: lastWarningRemind?: number;
@ohos.net.policy.d.ts
Added NA Class name: QuotaPolicy;
Method or attribute name: lastLimitRemind?: number;
@ohos.net.policy.d.ts
Added NA Class name: NetworkMatchRule;
Method or attribute name: netType: NetBearType;
@ohos.net.policy.d.ts
Added NA Class name: NetworkMatchRule;
Method or attribute name: identity: string;
@ohos.net.policy.d.ts
Added NA Class name: NetworkMatchRule;
Method or attribute name: simId: string;
@ohos.net.policy.d.ts
Added NA Class name: LimitAction;
Method or attribute name: LIMIT_ACTION_NONE = -1
@ohos.net.policy.d.ts
Added NA Class name: LimitAction;
Method or attribute name: LIMIT_ACTION_ACCESS_DISABLED = 0
@ohos.net.policy.d.ts
Added NA Class name: LimitAction;
Method or attribute name: LIMIT_ACTION_ALERT_ONLY = 1
@ohos.net.policy.d.ts
Added NA Class name: NetUidRule;
Method or attribute name: NET_RULE_NONE = 0
@ohos.net.policy.d.ts
Added NA Class name: NetUidRule;
Method or attribute name: NET_RULE_ALLOW_METERED_FOREGROUND = 1 << 0
@ohos.net.policy.d.ts
Added NA Class name: NetUidRule;
Method or attribute name: NET_RULE_ALLOW_METERED = 1 << 1
@ohos.net.policy.d.ts
Added NA Class name: NetUidRule;
Method or attribute name: NET_RULE_REJECT_METERED = 1 << 2
@ohos.net.policy.d.ts
Added NA Class name: NetUidRule;
Method or attribute name: NET_RULE_ALLOW_ALL = 1 << 5
@ohos.net.policy.d.ts
Added NA Class name: NetUidRule;
Method or attribute name: NET_RULE_REJECT_ALL = 1 << 6
@ohos.net.policy.d.ts
Added NA Class name: RemindType;
Method or attribute name: REMIND_TYPE_WARNING = 1
@ohos.net.policy.d.ts
Added NA Class name: RemindType;
Method or attribute name: REMIND_TYPE_LIMIT = 2
@ohos.net.policy.d.ts
Added NA Class name: NetUidPolicy;
Method or attribute name: NET_POLICY_NONE = 0
@ohos.net.policy.d.ts
Added NA Class name: NetUidPolicy;
Method or attribute name: NET_POLICY_ALLOW_METERED_BACKGROUND = 1 << 0
@ohos.net.policy.d.ts
Added NA Class name: NetUidPolicy;
Method or attribute name: NET_POLICY_REJECT_METERED_BACKGROUND = 1 << 1
@ohos.net.policy.d.ts
Added NA Class name: socket;
Method or attribute name: function constructTCPSocketServerInstance(): TCPSocketServer;
@ohos.net.socket.d.ts
Added NA Class name: socket;
Method or attribute name: function constructTLSSocketServerInstance(): TLSSocketServer;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocket;
Method or attribute name: getSocketFd(callback: AsyncCallback<number>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocket;
Method or attribute name: getSocketFd(): Promise<number>;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: clientId: number;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: clientId: number;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: on(type: 'close', callback: Callback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: on(type: 'close', callback: Callback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: off(type: 'close', callback?: Callback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: off(type: 'close', callback?: Callback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketServer;
Method or attribute name: listen(address: NetAddress, callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketServer;
Method or attribute name: listen(address: NetAddress): Promise<void>;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketServer;
Method or attribute name: on(type: 'connect', callback: Callback<TCPSocketConnection>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketServer;
Method or attribute name: off(type: 'connect', callback?: Callback<TCPSocketConnection>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: listen(options: TLSConnectOptions, callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: listen(options: TLSConnectOptions): Promise<void>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: on(type: 'connect', callback: Callback<TLSSocketConnection>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: off(type: 'connect', callback?: Callback<TLSSocketConnection>): void;
@ohos.net.socket.d.ts
Added NA Class name: statistics;
Method or attribute name: function getIfaceRxBytes(nic: string, callback: AsyncCallback<number>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getIfaceRxBytes(nic: string): Promise<number>;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getIfaceTxBytes(nic: string, callback: AsyncCallback<number>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getIfaceTxBytes(nic: string): Promise<number>;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getCellularRxBytes(callback: AsyncCallback<number>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getCellularRxBytes(): Promise<number>;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getCellularTxBytes(callback: AsyncCallback<number>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getCellularTxBytes(): Promise<number>;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getAllRxBytes(callback: AsyncCallback<number>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getAllRxBytes(): Promise<number>;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getAllTxBytes(callback: AsyncCallback<number>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getAllTxBytes(): Promise<number>;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getUidRxBytes(uid: number, callback: AsyncCallback<number>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getUidRxBytes(uid: number): Promise<number>;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getUidTxBytes(uid: number, callback: AsyncCallback<number>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getUidTxBytes(uid: number): Promise<number>;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function on(type: 'netStatsChange', callback: Callback<{ iface: string, uid?: number }>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function off(type: 'netStatsChange', callback?: Callback<{ iface: string, uid?: number }>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getTrafficStatsByIface(ifaceInfo: IfaceInfo, callback: AsyncCallback<NetStatsInfo>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getTrafficStatsByIface(ifaceInfo: IfaceInfo): Promise<NetStatsInfo>;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getTrafficStatsByUid(uidInfo: UidInfo, callback: AsyncCallback<NetStatsInfo>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getTrafficStatsByUid(uidInfo: UidInfo): Promise<NetStatsInfo>;
@ohos.net.statistics.d.ts
Added NA Class name: IfaceInfo;
Method or attribute name: iface: string;
@ohos.net.statistics.d.ts
Added NA Class name: IfaceInfo;
Method or attribute name: startTime: number;
@ohos.net.statistics.d.ts
Added NA Class name: IfaceInfo;
Method or attribute name: endTime: number;
@ohos.net.statistics.d.ts
Added NA Class name: UidInfo;
Method or attribute name: ifaceInfo: IfaceInfo;
@ohos.net.statistics.d.ts
Added NA Class name: UidInfo;
Method or attribute name: uid: number;
@ohos.net.statistics.d.ts
Added NA Class name: NetStatsInfo;
Method or attribute name: rxBytes: number;
@ohos.net.statistics.d.ts
Added NA Class name: NetStatsInfo;
Method or attribute name: txBytes: number;
@ohos.net.statistics.d.ts
Added NA Class name: NetStatsInfo;
Method or attribute name: rxPackets: number;
@ohos.net.statistics.d.ts
Added NA Class name: NetStatsInfo;
Method or attribute name: txPackets: number;
@ohos.net.statistics.d.ts
Added NA Class name: vpn;
Method or attribute name: function createVpnConnection(context: AbilityContext): VpnConnection;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConnection;
Method or attribute name: setUp(config: VpnConfig, callback: AsyncCallback<number>): void;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConnection;
Method or attribute name: setUp(config: VpnConfig): Promise<number>;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConnection;
Method or attribute name: protect(socketFd: number, callback: AsyncCallback<void>): void;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConnection;
Method or attribute name: protect(socketFd: number): Promise<void>;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConnection;
Method or attribute name: destroy(callback: AsyncCallback<void>): void;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConnection;
Method or attribute name: destroy(): Promise<void>;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: addresses: Array<LinkAddress>;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: routes?: Array<RouteInfo>;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: dnsAddresses?: Array<string>;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: searchDomains?: Array<string>;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: mtu?: number;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: isIPv4Accepted?: boolean;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: isIPv6Accepted?: boolean;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: isLegacy?: boolean;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: isBlocking?: boolean;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: trustedApplications?: Array<string>;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: blockedApplications?: Array<string>;
@ohos.net.vpn.d.ts
Added NA Class name: CloseResult;
Method or attribute name: code: number;
@ohos.net.webSocket.d.ts
Added NA Class name: CloseResult;
Method or attribute name: reason: string;
@ohos.net.webSocket.d.ts
Added NA Class name: tag;
Method or attribute name: function registerForegroundDispatch(
elementName: ElementName,
discTech: number[],
callback: AsyncCallback<TagInfo>
): void;
@ohos.nfc.tag.d.ts
Added NA Class name: tag;
Method or attribute name: function unregisterForegroundDispatch(elementName: ElementName): void;
@ohos.nfc.tag.d.ts
Added NA Class name: omapi;
Method or attribute name: function newSEService(type: 'serviceState', callback: Callback<ServiceState>): SEService;
@ohos.secureElement.d.ts
Added NA Class name: SEService;
Method or attribute name: getReaders(): Reader[];
@ohos.secureElement.d.ts
Added NA Class name: SEService;
Method or attribute name: isConnected(): boolean;
@ohos.secureElement.d.ts
Added NA Class name: SEService;
Method or attribute name: shutdown(): void;
@ohos.secureElement.d.ts
Added NA Class name: SEService;
Method or attribute name: getVersion(): string;
@ohos.secureElement.d.ts
Added NA Class name: Reader;
Method or attribute name: getName(): string;
@ohos.secureElement.d.ts
Added NA Class name: Reader;
Method or attribute name: isSecureElementPresent(): boolean;
@ohos.secureElement.d.ts
Added NA Class name: Reader;
Method or attribute name: openSession(): Session;
@ohos.secureElement.d.ts
Added NA Class name: Reader;
Method or attribute name: closeSessions(): void;
@ohos.secureElement.d.ts
Added NA Class name: Session;
Method or attribute name: getReader(): Reader;
@ohos.secureElement.d.ts
Added NA Class name: Session;
Method or attribute name: getATR(): number[];
@ohos.secureElement.d.ts
Added NA Class name: Session;
Method or attribute name: close(): void;
@ohos.secureElement.d.ts
Added NA Class name: Channel;
Method or attribute name: close(): void;
@ohos.secureElement.d.ts
Added NA Class name: Session;
Method or attribute name: isClosed(): boolean;
@ohos.secureElement.d.ts
Added NA Class name: Channel;
Method or attribute name: isClosed(): boolean;
@ohos.secureElement.d.ts
Added NA Class name: Session;
Method or attribute name: closeChannels(): void;
@ohos.secureElement.d.ts
Added NA Class name: Session;
Method or attribute name: openBasicChannel(aid: number[]): Promise<Channel>;
@ohos.secureElement.d.ts
Added NA Class name: Session;
Method or attribute name: openBasicChannel(aid: number[], callback: AsyncCallback<Channel>): void;
@ohos.secureElement.d.ts
Added NA Class name: Session;
Method or attribute name: openBasicChannel(aid: number[], p2: number): Promise<Channel>;
@ohos.secureElement.d.ts
Added NA Class name: Session;
Method or attribute name: openBasicChannel(aid: number[], p2: number, callback: AsyncCallback<Channel>): void;
@ohos.secureElement.d.ts
Added NA Class name: Session;
Method or attribute name: openLogicalChannel(aid: number[]): Promise<Channel>;
@ohos.secureElement.d.ts
Added NA Class name: Session;
Method or attribute name: openLogicalChannel(aid: number[], callback: AsyncCallback<Channel>): void;
@ohos.secureElement.d.ts
Added NA Class name: Session;
Method or attribute name: openLogicalChannel(aid: number[], p2: number): Promise<Channel>;
@ohos.secureElement.d.ts
Added NA Class name: Session;
Method or attribute name: openLogicalChannel(aid: number[], p2: number, callback: AsyncCallback<Channel>): void;
@ohos.secureElement.d.ts
Added NA Class name: Channel;
Method or attribute name: getSession(): Session;
@ohos.secureElement.d.ts
Added NA Class name: Channel;
Method or attribute name: isBasicChannel(): boolean;
@ohos.secureElement.d.ts
Added NA Class name: Channel;
Method or attribute name: getSelectResponse(): number[];
@ohos.secureElement.d.ts
Added NA Class name: Channel;
Method or attribute name: transmit(command: number[]): Promise<number[]>;
@ohos.secureElement.d.ts
Added NA Class name: Channel;
Method or attribute name: transmit(command: number[], callback: AsyncCallback<number[]>): void;
@ohos.secureElement.d.ts
Added NA Class name: ServiceState;
Method or attribute name: DISCONNECTED = 0
@ohos.secureElement.d.ts
Added NA Class name: ServiceState;
Method or attribute name: CONNECTED = 1
@ohos.secureElement.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function startScan(): void;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function getScanInfoList(): Array<WifiScanInfo>;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function setScanAlwaysAllowed(isScanAlwaysAllowed: boolean): void;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function getScanAlwaysAllowed(): boolean;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function getIpv6Info(): Ipv6Info;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function isBandTypeSupported(bandType: WifiBandType): boolean;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function get5GChannelList(): Array<number>;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function getDisconnectedReason(): DisconnectedReason;
@ohos.wifiManager.d.ts
Added NA Class name: DeviceAddressType;
Method or attribute name: RANDOM_DEVICE_ADDRESS
@ohos.wifiManager.d.ts
Added NA Class name: DeviceAddressType;
Method or attribute name: REAL_DEVICE_ADDRESS
@ohos.wifiManager.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: DISC_REASON_DEFAULT = 0
@ohos.wifiManager.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: DISC_REASON_WRONG_PWD = 1
@ohos.wifiManager.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: DISC_REASON_CONNECTION_FULL = 2
@ohos.wifiManager.d.ts
Added NA Class name: ProxyMethod;
Method or attribute name: METHOD_NONE = 0
@ohos.wifiManager.d.ts
Added NA Class name: ProxyMethod;
Method or attribute name: METHOD_AUTO = 1
@ohos.wifiManager.d.ts
Added NA Class name: ProxyMethod;
Method or attribute name: METHOD_MANUAL = 2
@ohos.wifiManager.d.ts
Added NA Class name: WifiProxyConfig;
Method or attribute name: proxyMethod?: ProxyMethod;
@ohos.wifiManager.d.ts
Added NA Class name: WifiProxyConfig;
Method or attribute name: pacWebAddress?: string;
@ohos.wifiManager.d.ts
Added NA Class name: WifiProxyConfig;
Method or attribute name: serverHostName?: string;
@ohos.wifiManager.d.ts
Added NA Class name: WifiProxyConfig;
Method or attribute name: serverPort?: number;
@ohos.wifiManager.d.ts
Added NA Class name: WifiProxyConfig;
Method or attribute name: exclusionObjects?: string;
@ohos.wifiManager.d.ts
Added NA Class name: WifiEapConfig;
Method or attribute name: caCertAlias: string;
@ohos.wifiManager.d.ts
Added NA Class name: WifiEapConfig;
Method or attribute name: clientCertAlias: string;
@ohos.wifiManager.d.ts
Added NA Class name: WifiDeviceConfig;
Method or attribute name: bssidType?: DeviceAddressType;
@ohos.wifiManager.d.ts
Added NA Class name: WifiDeviceConfig;
Method or attribute name: proxyConfig?: WifiProxyConfig;
@ohos.wifiManager.d.ts
Added NA Class name: WifiScanInfo;
Method or attribute name: bssidType: DeviceAddressType;
@ohos.wifiManager.d.ts
Added NA Class name: WifiBandType;
Method or attribute name: WIFI_BAND_NONE
@ohos.wifiManager.d.ts
Added NA Class name: WifiBandType;
Method or attribute name: WIFI_BAND_2G
@ohos.wifiManager.d.ts
Added NA Class name: WifiBandType;
Method or attribute name: WIFI_BAND_5G
@ohos.wifiManager.d.ts
Added NA Class name: WifiBandType;
Method or attribute name: WIFI_BAND_6G
@ohos.wifiManager.d.ts
Added NA Class name: WifiBandType;
Method or attribute name: WIFI_BAND_60G
@ohos.wifiManager.d.ts
Added NA Class name: WifiStandard;
Method or attribute name: WIFI_STANDARD_UNDEFINED
@ohos.wifiManager.d.ts
Added NA Class name: WifiStandard;
Method or attribute name: WIFI_STANDARD_11A
@ohos.wifiManager.d.ts
Added NA Class name: WifiStandard;
Method or attribute name: WIFI_STANDARD_11B
@ohos.wifiManager.d.ts
Added NA Class name: WifiStandard;
Method or attribute name: WIFI_STANDARD_11G
@ohos.wifiManager.d.ts
Added NA Class name: WifiStandard;
Method or attribute name: WIFI_STANDARD_11N
@ohos.wifiManager.d.ts
Added NA Class name: WifiStandard;
Method or attribute name: WIFI_STANDARD_11AC
@ohos.wifiManager.d.ts
Added NA Class name: WifiStandard;
Method or attribute name: WIFI_STANDARD_11AX
@ohos.wifiManager.d.ts
Added NA Class name: WifiStandard;
Method or attribute name: WIFI_STANDARD_11AD
@ohos.wifiManager.d.ts
Added NA Class name: WifiLinkedInfo;
Method or attribute name: rxLinkSpeed: number;
@ohos.wifiManager.d.ts
Added NA Class name: WifiLinkedInfo;
Method or attribute name: maxSupportedTxLinkSpeed: number;
@ohos.wifiManager.d.ts
Added NA Class name: WifiLinkedInfo;
Method or attribute name: maxSupportedRxLinkSpeed: number;
@ohos.wifiManager.d.ts
Added NA Class name: WifiLinkedInfo;
Method or attribute name: channelWidth: WifiChannelWidth;
@ohos.wifiManager.d.ts
Added NA Class name: WifiLinkedInfo;
Method or attribute name: wifiStandard: WifiStandard;
@ohos.wifiManager.d.ts
Added NA Class name: Ipv6Info;
Method or attribute name: linkIpv6Address: string;
@ohos.wifiManager.d.ts
Added NA Class name: Ipv6Info;
Method or attribute name: globalIpv6Address: string;
@ohos.wifiManager.d.ts
Added NA Class name: Ipv6Info;
Method or attribute name: randomGlobalIpv6Address: string;
@ohos.wifiManager.d.ts
Added NA Class name: Ipv6Info;
Method or attribute name: gateway: string;
@ohos.wifiManager.d.ts
Added NA Class name: Ipv6Info;
Method or attribute name: netmask: string;
@ohos.wifiManager.d.ts
Added NA Class name: Ipv6Info;
Method or attribute name: primaryDNS: string;
@ohos.wifiManager.d.ts
Added NA Class name: Ipv6Info;
Method or attribute name: secondDNS: string;
@ohos.wifiManager.d.ts
Added NA Class name: HotspotConfig;
Method or attribute name: channel?: number;
@ohos.wifiManager.d.ts
Added NA Class name: HotspotConfig;
Method or attribute name: ipAddress?: string;
@ohos.wifiManager.d.ts
Added NA Class name: StationInfo;
Method or attribute name: macAddressType?: DeviceAddressType;
@ohos.wifiManager.d.ts
Added NA Class name: WifiP2pDevice;
Method or attribute name: deviceAddressType?: DeviceAddressType;
@ohos.wifiManager.d.ts
Added NA Class name: WifiP2PConfig;
Method or attribute name: deviceAddressType?: DeviceAddressType;
@ohos.wifiManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: declare bluetoothManager
Old version information:
Class name: bluetoothManager;
Method or attribute name: declare bluetoothManager
New version information: 10
Substitute API:
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function getState(): BluetoothState;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function getState(): BluetoothState;
New version information: 10
Substitute API: ohos.bluetooth.access/access#getState
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function getBtConnectionState(): ProfileConnectionState;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function getBtConnectionState(): ProfileConnectionState;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection#getProfileConnectionState
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function pairDevice(deviceId: string): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function pairDevice(deviceId: string): void;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection#pairDevice
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function cancelPairedDevice(deviceId: string): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function cancelPairedDevice(deviceId: string): void;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection#cancelPairedDevice
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function getRemoteDeviceName(deviceId: string): string;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function getRemoteDeviceName(deviceId: string): string;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection#getRemoteDeviceName
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function getRemoteDeviceClass(deviceId: string): DeviceClass;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function getRemoteDeviceClass(deviceId: string): DeviceClass;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection#getRemoteDeviceClass
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function enableBluetooth(): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function enableBluetooth(): void;
New version information: 10
Substitute API: ohos.bluetooth.access/access#enableBluetooth
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function disableBluetooth(): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function disableBluetooth(): void;
New version information: 10
Substitute API: ohos.bluetooth.access/access#disableBluetooth
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function getLocalName(): string;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function getLocalName(): string;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection#getLocalName
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function getPairedDevices(): Array<string>;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function getPairedDevices(): Array<string>;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection#getPairedDevices
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function getProfileConnectionState(profileId: ProfileId): ProfileConnectionState;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function getProfileConnectionState(profileId: ProfileId): ProfileConnectionState;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection#getProfileConnectionState
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function setDevicePairingConfirmation(device: string, accept: boolean): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function setDevicePairingConfirmation(device: string, accept: boolean): void;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection#setDevicePairingConfirmation
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function setLocalName(name: string): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function setLocalName(name: string): void;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection#setLocalName
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function setBluetoothScanMode(mode: ScanMode, duration: number): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function setBluetoothScanMode(mode: ScanMode, duration: number): void;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection#setBluetoothScanMode
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function getBluetoothScanMode(): ScanMode;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function getBluetoothScanMode(): ScanMode;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection#getBluetoothScanMode
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function startBluetoothDiscovery(): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function startBluetoothDiscovery(): void;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection#startBluetoothDiscovery
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function stopBluetoothDiscovery(): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function stopBluetoothDiscovery(): void;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection#stopBluetoothDiscovery
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function on(type: 'bluetoothDeviceFind', callback: Callback<Array<string>>): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function on(type: 'bluetoothDeviceFind', callback: Callback<Array<string>>): void;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.on#event:bluetoothDeviceFind
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function on(type: 'bondStateChange', callback: Callback<BondStateParam>): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function on(type: 'bondStateChange', callback: Callback<BondStateParam>): void;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.on#event:bondStateChange
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function on(type: 'pinRequired', callback: Callback<PinRequiredParam>): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function on(type: 'pinRequired', callback: Callback<PinRequiredParam>): void;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.on#event:pinRequired
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function on(type: 'stateChange', callback: Callback<BluetoothState>): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function on(type: 'stateChange', callback: Callback<BluetoothState>): void;
New version information: 10
Substitute API: ohos.bluetooth.access/access.on#event:stateChange
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function on(type: 'sppRead', clientSocket: number, callback: Callback<ArrayBuffer>): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function on(type: 'sppRead', clientSocket: number, callback: Callback<ArrayBuffer>): void;
New version information: 10
Substitute API: ohos.bluetooth.socket/socket.on#event:sppRead
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function off(type: 'bluetoothDeviceFind', callback?: Callback<Array<string>>): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function off(type: 'bluetoothDeviceFind', callback?: Callback<Array<string>>): void;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.off#event:bluetoothDeviceFind
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function off(type: 'bondStateChange', callback?: Callback<BondStateParam>): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function off(type: 'bondStateChange', callback?: Callback<BondStateParam>): void;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.off#event:bondStateChange
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function off(type: 'pinRequired', callback?: Callback<PinRequiredParam>): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function off(type: 'pinRequired', callback?: Callback<PinRequiredParam>): void;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.off#event:pinRequired
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function off(type: 'stateChange', callback?: Callback<BluetoothState>): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function off(type: 'stateChange', callback?: Callback<BluetoothState>): void;
New version information: 10
Substitute API: ohos.bluetooth.access/access.off#event:stateChange
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function off(type: 'sppRead', clientSocket: number, callback?: Callback<ArrayBuffer>): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function off(type: 'sppRead', clientSocket: number, callback?: Callback<ArrayBuffer>): void;
New version information: 10
Substitute API: ohos.bluetooth.socket/socket.off#event:sppRead
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function sppListen(name: string, option: SppOption, callback: AsyncCallback<number>): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function sppListen(name: string, option: SppOption, callback: AsyncCallback<number>): void;
New version information: 10
Substitute API: ohos.bluetooth.socket/socket#sppListen
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function sppAccept(serverSocket: number, callback: AsyncCallback<number>): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function sppAccept(serverSocket: number, callback: AsyncCallback<number>): void;
New version information: 10
Substitute API: ohos.bluetooth.socket/socket#sppAccept
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function sppConnect(device: string, option: SppOption, callback: AsyncCallback<number>): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function sppConnect(device: string, option: SppOption, callback: AsyncCallback<number>): void;
New version information: 10
Substitute API: ohos.bluetooth.socket/socket#sppConnect
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function sppCloseServerSocket(socket: number): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function sppCloseServerSocket(socket: number): void;
New version information: 10
Substitute API: ohos.bluetooth.socket/socket#sppCloseServerSocket
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function sppCloseClientSocket(socket: number): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function sppCloseClientSocket(socket: number): void;
New version information: 10
Substitute API: ohos.bluetooth.socket/socket#sppCloseClientSocket
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function sppWrite(clientSocket: number, data: ArrayBuffer): void;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function sppWrite(clientSocket: number, data: ArrayBuffer): void;
New version information: 10
Substitute API: ohos.bluetooth.socket/socket#sppWrite
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: bluetoothManager;
Method or attribute name: function getProfileInstance(

profileId: ProfileId

): A2dpSourceProfile | HandsFreeAudioGatewayProfile | HidHostProfile | PanProfile;
Old version information:
Class name: bluetoothManager;
Method or attribute name: function getProfileInstance(

profileId: ProfileId

): A2dpSourceProfile | HandsFreeAudioGatewayProfile | HidHostProfile | PanProfile;
New version information: 10
Substitute API:
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BaseProfile;
Method or attribute name: interface BaseProfile
Old version information:
Class name: BaseProfile;
Method or attribute name: interface BaseProfile
New version information: 10
Substitute API: ohos.bluetooth.baseProfile/baseProfile.BaseProfile
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BaseProfile;
Method or attribute name: getConnectionDevices(): Array<string>;
Old version information:
Class name: BaseProfile;
Method or attribute name: getConnectionDevices(): Array<string>;
New version information: 10
Substitute API: ohos.bluetooth.baseProfile/baseProfile#getConnectedDevices
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BaseProfile;
Method or attribute name: getDeviceState(device: string): ProfileConnectionState;
Old version information:
Class name: BaseProfile;
Method or attribute name: getDeviceState(device: string): ProfileConnectionState;
New version information: 10
Substitute API: ohos.bluetooth.baseProfile/baseProfile#getConnectionState
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: A2dpSourceProfile;
Method or attribute name: interface A2dpSourceProfile
Old version information:
Class name: A2dpSourceProfile;
Method or attribute name: interface A2dpSourceProfile
New version information: 10
Substitute API: ohos.bluetooth.a2dp/a2dp.A2dpSourceProfile
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: A2dpSourceProfile;
Method or attribute name: connect(device: string): void;
Old version information:
Class name: A2dpSourceProfile;
Method or attribute name: connect(device: string): void;
New version information: 10
Substitute API: ohos.bluetooth.a2dp/a2dp.A2dpSourceProfile#connect
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: HandsFreeAudioGatewayProfile;
Method or attribute name: connect(device: string): void;
Old version information:
Class name: HandsFreeAudioGatewayProfile;
Method or attribute name: connect(device: string): void;
New version information: 10
Substitute API: ohos.bluetooth.hfp/hfp.HandsFreeAudioGatewayProfile#connect
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: HidHostProfile;
Method or attribute name: connect(device: string): void;
Old version information:
Class name: HidHostProfile;
Method or attribute name: connect(device: string): void;
New version information: 10
Substitute API: ohos.bluetooth.hid/hid.HidHostProfile#connect
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: A2dpSourceProfile;
Method or attribute name: disconnect(device: string): void;
Old version information:
Class name: A2dpSourceProfile;
Method or attribute name: disconnect(device: string): void;
New version information: 10
Substitute API: ohos.bluetooth.a2dp/a2dp.A2dpSourceProfile#disconnect
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: HandsFreeAudioGatewayProfile;
Method or attribute name: disconnect(device: string): void;
Old version information:
Class name: HandsFreeAudioGatewayProfile;
Method or attribute name: disconnect(device: string): void;
New version information: 10
Substitute API: ohos.bluetooth.hfp/hfp.HandsFreeAudioGatewayProfile#disconnect
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: HidHostProfile;
Method or attribute name: disconnect(device: string): void;
Old version information:
Class name: HidHostProfile;
Method or attribute name: disconnect(device: string): void;
New version information: 10
Substitute API: ohos.bluetooth.hid/hid.HidHostProfile#disconnect
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: PanProfile;
Method or attribute name: disconnect(device: string): void;
Old version information:
Class name: PanProfile;
Method or attribute name: disconnect(device: string): void;
New version information: 10
Substitute API: ohos.bluetooth.pan/pan.PanProfile#disconnect
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: A2dpSourceProfile;
Method or attribute name: on(type: 'connectionStateChange', callback: Callback<StateChangeParam>): void;
Old version information:
Class name: A2dpSourceProfile;
Method or attribute name: on(type: 'connectionStateChange', callback: Callback<StateChangeParam>): void;
New version information: 10
Substitute API: ohos.bluetooth.a2dp/a2dp.A2dpSourceProfile.on#event:connectionStateChange
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: HandsFreeAudioGatewayProfile;
Method or attribute name: on(type: 'connectionStateChange', callback: Callback<StateChangeParam>): void;
Old version information:
Class name: HandsFreeAudioGatewayProfile;
Method or attribute name: on(type: 'connectionStateChange', callback: Callback<StateChangeParam>): void;
New version information: 10
Substitute API: ohos.bluetooth.hfp/hfp.HandsFreeAudioGatewayProfile.on#event:connectionStateChange
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: HidHostProfile;
Method or attribute name: on(type: 'connectionStateChange', callback: Callback<StateChangeParam>): void;
Old version information:
Class name: HidHostProfile;
Method or attribute name: on(type: 'connectionStateChange', callback: Callback<StateChangeParam>): void;
New version information: 10
Substitute API: ohos.bluetooth.hid/hid.HidHostProfile.on#event:connectionStateChange
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: PanProfile;
Method or attribute name: on(type: 'connectionStateChange', callback: Callback<StateChangeParam>): void;
Old version information:
Class name: PanProfile;
Method or attribute name: on(type: 'connectionStateChange', callback: Callback<StateChangeParam>): void;
New version information: 10
Substitute API: ohos.bluetooth.pan/pan.PanProfile.on#event:connectionStateChange
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: A2dpSourceProfile;
Method or attribute name: off(type: 'connectionStateChange', callback?: Callback<StateChangeParam>): void;
Old version information:
Class name: A2dpSourceProfile;
Method or attribute name: off(type: 'connectionStateChange', callback?: Callback<StateChangeParam>): void;
New version information: 10
Substitute API: ohos.bluetooth.a2dp/a2dp.A2dpSourceProfile.off#event:connectionStateChange
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: HandsFreeAudioGatewayProfile;
Method or attribute name: off(type: 'connectionStateChange', callback?: Callback<StateChangeParam>): void;
Old version information:
Class name: HandsFreeAudioGatewayProfile;
Method or attribute name: off(type: 'connectionStateChange', callback?: Callback<StateChangeParam>): void;
New version information: 10
Substitute API: ohos.bluetooth.hfp/hfp.HandsFreeAudioGatewayProfile.off#event:connectionStateChange
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: HidHostProfile;
Method or attribute name: off(type: 'connectionStateChange', callback?: Callback<StateChangeParam>): void;
Old version information:
Class name: HidHostProfile;
Method or attribute name: off(type: 'connectionStateChange', callback?: Callback<StateChangeParam>): void;
New version information: 10
Substitute API: ohos.bluetooth.hid/hid.HidHostProfile.off#event:connectionStateChange
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: PanProfile;
Method or attribute name: off(type: 'connectionStateChange', callback?: Callback<StateChangeParam>): void;
Old version information:
Class name: PanProfile;
Method or attribute name: off(type: 'connectionStateChange', callback?: Callback<StateChangeParam>): void;
New version information: 10
Substitute API: ohos.bluetooth.pan/pan.PanProfile.off#event:connectionStateChange
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: A2dpSourceProfile;
Method or attribute name: getPlayingState(device: string): PlayingState;
Old version information:
Class name: A2dpSourceProfile;
Method or attribute name: getPlayingState(device: string): PlayingState;
New version information: 10
Substitute API: ohos.bluetooth.a2dp/a2dp.A2dpSourceProfile#getPlayingState
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: HandsFreeAudioGatewayProfile;
Method or attribute name: interface HandsFreeAudioGatewayProfile
Old version information:
Class name: HandsFreeAudioGatewayProfile;
Method or attribute name: interface HandsFreeAudioGatewayProfile
New version information: 10
Substitute API: ohos.bluetooth.hfp/hfp.HandsFreeAudioGatewayProfile
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: HidHostProfile;
Method or attribute name: interface HidHostProfile
Old version information:
Class name: HidHostProfile;
Method or attribute name: interface HidHostProfile
New version information: 10
Substitute API: ohos.bluetooth.hid/hid.HidHostProfile
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: PanProfile;
Method or attribute name: interface PanProfile
Old version information:
Class name: PanProfile;
Method or attribute name: interface PanProfile
New version information: 10
Substitute API: ohos.bluetooth.pan/pan.PanProfile
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: PanProfile;
Method or attribute name: setTethering(enable: boolean): void;
Old version information:
Class name: PanProfile;
Method or attribute name: setTethering(enable: boolean): void;
New version information: 10
Substitute API: ohos.bluetooth.pan/pan.PanProfile#setTethering
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: PanProfile;
Method or attribute name: isTetheringOn(): boolean;
Old version information:
Class name: PanProfile;
Method or attribute name: isTetheringOn(): boolean;
New version information: 10
Substitute API: ohos.bluetooth.pan/pan.PanProfile#isTetheringOn
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLE;
Method or attribute name: BLE
Old version information:
Class name: BLE;
Method or attribute name: BLE
New version information: 10
Substitute API:
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLE;
Method or attribute name: function createGattServer(): GattServer;
Old version information:
Class name: BLE;
Method or attribute name: function createGattServer(): GattServer;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble#createGattServer
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLE;
Method or attribute name: function createGattClientDevice(deviceId: string): GattClientDevice;
Old version information:
Class name: BLE;
Method or attribute name: function createGattClientDevice(deviceId: string): GattClientDevice;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble#createGattClientDevice
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLE;
Method or attribute name: function getConnectedBLEDevices(): Array<string>;
Old version information:
Class name: BLE;
Method or attribute name: function getConnectedBLEDevices(): Array<string>;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble#getConnectedBLEDevices
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLE;
Method or attribute name: function startBLEScan(filters: Array<ScanFilter>, options?: ScanOptions): void;
Old version information:
Class name: BLE;
Method or attribute name: function startBLEScan(filters: Array<ScanFilter>, options?: ScanOptions): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble#startBLEScan
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLE;
Method or attribute name: function stopBLEScan(): void;
Old version information:
Class name: BLE;
Method or attribute name: function stopBLEScan(): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble#stopBLEScan
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLE;
Method or attribute name: function on(type: 'BLEDeviceFind', callback: Callback<Array<ScanResult>>): void;
Old version information:
Class name: BLE;
Method or attribute name: function on(type: 'BLEDeviceFind', callback: Callback<Array<ScanResult>>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.on#event:BLEDeviceFind
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLE;
Method or attribute name: function off(type: 'BLEDeviceFind', callback?: Callback<Array<ScanResult>>): void;
Old version information:
Class name: BLE;
Method or attribute name: function off(type: 'BLEDeviceFind', callback?: Callback<Array<ScanResult>>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.off#event:BLEDeviceFind
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattServer;
Method or attribute name: interface GattServer
Old version information:
Class name: GattServer;
Method or attribute name: interface GattServer
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattServer
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattServer;
Method or attribute name: startAdvertising(setting: AdvertiseSetting, advData: AdvertiseData, advResponse?: AdvertiseData): void;
Old version information:
Class name: GattServer;
Method or attribute name: startAdvertising(setting: AdvertiseSetting, advData: AdvertiseData, advResponse?: AdvertiseData): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble#startAdvertising
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattServer;
Method or attribute name: stopAdvertising(): void;
Old version information:
Class name: GattServer;
Method or attribute name: stopAdvertising(): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble#stopAdvertising
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattServer;
Method or attribute name: addService(service: GattService): void;
Old version information:
Class name: GattServer;
Method or attribute name: addService(service: GattService): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattServer#addService
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattServer;
Method or attribute name: removeService(serviceUuid: string): void;
Old version information:
Class name: GattServer;
Method or attribute name: removeService(serviceUuid: string): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattServer#removeService
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattServer;
Method or attribute name: close(): void;
Old version information:
Class name: GattServer;
Method or attribute name: close(): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattServer#close
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: close(): void;
Old version information:
Class name: GattClientDevice;
Method or attribute name: close(): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice#close
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattServer;
Method or attribute name: notifyCharacteristicChanged(deviceId: string, notifyCharacteristic: NotifyCharacteristic): void;
Old version information:
Class name: GattServer;
Method or attribute name: notifyCharacteristicChanged(deviceId: string, notifyCharacteristic: NotifyCharacteristic): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattServer#notifyCharacteristicChanged
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattServer;
Method or attribute name: sendResponse(serverResponse: ServerResponse): void;
Old version information:
Class name: GattServer;
Method or attribute name: sendResponse(serverResponse: ServerResponse): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattServer#sendResponse
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattServer;
Method or attribute name: on(type: 'characteristicRead', callback: Callback<CharacteristicReadRequest>): void;
Old version information:
Class name: GattServer;
Method or attribute name: on(type: 'characteristicRead', callback: Callback<CharacteristicReadRequest>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattServer.on#event:characteristicRead
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattServer;
Method or attribute name: on(type: 'characteristicWrite', callback: Callback<CharacteristicWriteRequest>): void;
Old version information:
Class name: GattServer;
Method or attribute name: on(type: 'characteristicWrite', callback: Callback<CharacteristicWriteRequest>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattServer.on#event:characteristicWrite
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattServer;
Method or attribute name: on(type: 'descriptorRead', callback: Callback<DescriptorReadRequest>): void;
Old version information:
Class name: GattServer;
Method or attribute name: on(type: 'descriptorRead', callback: Callback<DescriptorReadRequest>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattServer.on#event:descriptorRead
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattServer;
Method or attribute name: on(type: 'descriptorWrite', callback: Callback<DescriptorWriteRequest>): void;
Old version information:
Class name: GattServer;
Method or attribute name: on(type: 'descriptorWrite', callback: Callback<DescriptorWriteRequest>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattServer.on#event:descriptorWrite
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattServer;
Method or attribute name: on(type: 'connectStateChange', callback: Callback<BLEConnectChangedState>): void;
Old version information:
Class name: GattServer;
Method or attribute name: on(type: 'connectStateChange', callback: Callback<BLEConnectChangedState>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattServer.on#event:connectionStateChange
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattServer;
Method or attribute name: off(type: 'characteristicRead', callback?: Callback<CharacteristicReadRequest>): void;
Old version information:
Class name: GattServer;
Method or attribute name: off(type: 'characteristicRead', callback?: Callback<CharacteristicReadRequest>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattServer.off#event:characteristicRead
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattServer;
Method or attribute name: off(type: 'characteristicWrite', callback?: Callback<CharacteristicWriteRequest>): void;
Old version information:
Class name: GattServer;
Method or attribute name: off(type: 'characteristicWrite', callback?: Callback<CharacteristicWriteRequest>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattServer.off#event:characteristicWrite
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattServer;
Method or attribute name: off(type: 'descriptorRead', callback?: Callback<DescriptorReadRequest>): void;
Old version information:
Class name: GattServer;
Method or attribute name: off(type: 'descriptorRead', callback?: Callback<DescriptorReadRequest>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattServer.off#event:descriptorRead
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattServer;
Method or attribute name: off(type: 'descriptorWrite', callback?: Callback<DescriptorWriteRequest>): void;
Old version information:
Class name: GattServer;
Method or attribute name: off(type: 'descriptorWrite', callback?: Callback<DescriptorWriteRequest>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattServer.off#event:descriptorWrite
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattServer;
Method or attribute name: off(type: 'connectStateChange', callback?: Callback<BLEConnectChangedState>): void;
Old version information:
Class name: GattServer;
Method or attribute name: off(type: 'connectStateChange', callback?: Callback<BLEConnectChangedState>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattServer.off#event:connectionStateChange
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: interface GattClientDevice
Old version information:
Class name: GattClientDevice;
Method or attribute name: interface GattClientDevice
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: connect(): void;
Old version information:
Class name: GattClientDevice;
Method or attribute name: connect(): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice#connect
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: disconnect(): void;
Old version information:
Class name: GattClientDevice;
Method or attribute name: disconnect(): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice#disconnect
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: getDeviceName(callback: AsyncCallback<string>): void;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getDeviceName(callback: AsyncCallback<string>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice#getDeviceName
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: getDeviceName(): Promise<string>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getDeviceName(): Promise<string>;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice#getDeviceName
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: getServices(callback: AsyncCallback<Array<GattService>>): void;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getServices(callback: AsyncCallback<Array<GattService>>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice#getServices
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: getServices(): Promise<Array<GattService>>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getServices(): Promise<Array<GattService>>;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice#getServices
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic, callback: AsyncCallback<BLECharacteristic>): void;
Old version information:
Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic, callback: AsyncCallback<BLECharacteristic>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice#readCharacteristicValue
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice#readCharacteristicValue
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<BLEDescriptor>): void;
Old version information:
Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<BLEDescriptor>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice#readDescriptorValue
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice#readDescriptorValue
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: writeCharacteristicValue(characteristic: BLECharacteristic): void;
Old version information:
Class name: GattClientDevice;
Method or attribute name: writeCharacteristicValue(characteristic: BLECharacteristic): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice#writeCharacteristicValue
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: writeDescriptorValue(descriptor: BLEDescriptor): void;
Old version information:
Class name: GattClientDevice;
Method or attribute name: writeDescriptorValue(descriptor: BLEDescriptor): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice#writeDescriptorValue
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: getRssiValue(callback: AsyncCallback<number>): void;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getRssiValue(callback: AsyncCallback<number>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice#getRssiValue
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: getRssiValue(): Promise<number>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getRssiValue(): Promise<number>;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice#getRssiValue
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: setBLEMtuSize(mtu: number): void;
Old version information:
Class name: GattClientDevice;
Method or attribute name: setBLEMtuSize(mtu: number): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice#setBLEMtuSize
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: setNotifyCharacteristicChanged(characteristic: BLECharacteristic, enable: boolean): void;
Old version information:
Class name: GattClientDevice;
Method or attribute name: setNotifyCharacteristicChanged(characteristic: BLECharacteristic, enable: boolean): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice#setCharacteristicChangeNotification
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: on(type: 'BLECharacteristicChange', callback: Callback<BLECharacteristic>): void;
Old version information:
Class name: GattClientDevice;
Method or attribute name: on(type: 'BLECharacteristicChange', callback: Callback<BLECharacteristic>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice.on#event:BLECharacteristicChange
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: on(type: 'BLEConnectionStateChange', callback: Callback<BLEConnectChangedState>): void;
Old version information:
Class name: GattClientDevice;
Method or attribute name: on(type: 'BLEConnectionStateChange', callback: Callback<BLEConnectChangedState>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice.on#event:BLEConnectionStateChange
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: off(type: 'BLECharacteristicChange', callback?: Callback<BLECharacteristic>): void;
Old version information:
Class name: GattClientDevice;
Method or attribute name: off(type: 'BLECharacteristicChange', callback?: Callback<BLECharacteristic>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice.off#event:BLECharacteristicChange
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattClientDevice;
Method or attribute name: off(type: 'BLEConnectionStateChange', callback?: Callback<BLEConnectChangedState>): void;
Old version information:
Class name: GattClientDevice;
Method or attribute name: off(type: 'BLEConnectionStateChange', callback?: Callback<BLEConnectChangedState>): void;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattClientDevice.off#event:BLEConnectionStateChange
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattService;
Method or attribute name: interface GattService
Old version information:
Class name: GattService;
Method or attribute name: interface GattService
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattService
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattService;
Method or attribute name: serviceUuid: string;
Old version information:
Class name: GattService;
Method or attribute name: serviceUuid: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattService#serviceUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLECharacteristic;
Method or attribute name: serviceUuid: string;
Old version information:
Class name: BLECharacteristic;
Method or attribute name: serviceUuid: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.BLECharacteristic#serviceUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLEDescriptor;
Method or attribute name: serviceUuid: string;
Old version information:
Class name: BLEDescriptor;
Method or attribute name: serviceUuid: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.BLEDescriptor#serviceUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: NotifyCharacteristic;
Method or attribute name: serviceUuid: string;
Old version information:
Class name: NotifyCharacteristic;
Method or attribute name: serviceUuid: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.NotifyCharacteristic#serviceUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: CharacteristicReadRequest;
Method or attribute name: serviceUuid: string;
Old version information:
Class name: CharacteristicReadRequest;
Method or attribute name: serviceUuid: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.CharacteristicReadRequest#serviceUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: CharacteristicWriteRequest;
Method or attribute name: serviceUuid: string;
Old version information:
Class name: CharacteristicWriteRequest;
Method or attribute name: serviceUuid: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.CharacteristicWriteRequest#serviceUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DescriptorReadRequest;
Method or attribute name: serviceUuid: string;
Old version information:
Class name: DescriptorReadRequest;
Method or attribute name: serviceUuid: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.DescriptorReadRequest#serviceUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DescriptorWriteRequest;
Method or attribute name: serviceUuid: string;
Old version information:
Class name: DescriptorWriteRequest;
Method or attribute name: serviceUuid: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.DescriptorWriteRequest#serviceUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ServiceData;
Method or attribute name: serviceUuid: string;
Old version information:
Class name: ServiceData;
Method or attribute name: serviceUuid: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ServiceData#serviceUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattService;
Method or attribute name: isPrimary: boolean;
Old version information:
Class name: GattService;
Method or attribute name: isPrimary: boolean;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattService#isPrimary
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattService;
Method or attribute name: characteristics: Array<BLECharacteristic>;
Old version information:
Class name: GattService;
Method or attribute name: characteristics: Array<BLECharacteristic>;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattService#characteristics
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: GattService;
Method or attribute name: includeServices?: Array<GattService>;
Old version information:
Class name: GattService;
Method or attribute name: includeServices?: Array<GattService>;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.GattService#includeServices
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLECharacteristic;
Method or attribute name: interface BLECharacteristic
Old version information:
Class name: BLECharacteristic;
Method or attribute name: interface BLECharacteristic
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.BLECharacteristic
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLECharacteristic;
Method or attribute name: characteristicUuid: string;
Old version information:
Class name: BLECharacteristic;
Method or attribute name: characteristicUuid: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.BLECharacteristic#characteristicUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLEDescriptor;
Method or attribute name: characteristicUuid: string;
Old version information:
Class name: BLEDescriptor;
Method or attribute name: characteristicUuid: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.BLEDescriptor#characteristicUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: NotifyCharacteristic;
Method or attribute name: characteristicUuid: string;
Old version information:
Class name: NotifyCharacteristic;
Method or attribute name: characteristicUuid: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.NotifyCharacteristic#characteristicUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: CharacteristicReadRequest;
Method or attribute name: characteristicUuid: string;
Old version information:
Class name: CharacteristicReadRequest;
Method or attribute name: characteristicUuid: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.CharacteristicReadRequest#characteristicUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: CharacteristicWriteRequest;
Method or attribute name: characteristicUuid: string;
Old version information:
Class name: CharacteristicWriteRequest;
Method or attribute name: characteristicUuid: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.CharacteristicWriteRequest#characteristicUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DescriptorReadRequest;
Method or attribute name: characteristicUuid: string;
Old version information:
Class name: DescriptorReadRequest;
Method or attribute name: characteristicUuid: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.DescriptorReadRequest#characteristicUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DescriptorWriteRequest;
Method or attribute name: characteristicUuid: string;
Old version information:
Class name: DescriptorWriteRequest;
Method or attribute name: characteristicUuid: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.DescriptorWriteRequest#characteristicUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLECharacteristic;
Method or attribute name: characteristicValue: ArrayBuffer;
Old version information:
Class name: BLECharacteristic;
Method or attribute name: characteristicValue: ArrayBuffer;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.BLECharacteristic#characteristicValue
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: NotifyCharacteristic;
Method or attribute name: characteristicValue: ArrayBuffer;
Old version information:
Class name: NotifyCharacteristic;
Method or attribute name: characteristicValue: ArrayBuffer;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.NotifyCharacteristic#characteristicValue
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLECharacteristic;
Method or attribute name: descriptors: Array<BLEDescriptor>;
Old version information:
Class name: BLECharacteristic;
Method or attribute name: descriptors: Array<BLEDescriptor>;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.BLECharacteristic#descriptors
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLEDescriptor;
Method or attribute name: interface BLEDescriptor
Old version information:
Class name: BLEDescriptor;
Method or attribute name: interface BLEDescriptor
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.BLEDescriptor
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLEDescriptor;
Method or attribute name: descriptorUuid: string;
Old version information:
Class name: BLEDescriptor;
Method or attribute name: descriptorUuid: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.BLEDescriptor#descriptorUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DescriptorReadRequest;
Method or attribute name: descriptorUuid: string;
Old version information:
Class name: DescriptorReadRequest;
Method or attribute name: descriptorUuid: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.DescriptorReadRequest#descriptorUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DescriptorWriteRequest;
Method or attribute name: descriptorUuid: string;
Old version information:
Class name: DescriptorWriteRequest;
Method or attribute name: descriptorUuid: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.DescriptorWriteRequest#descriptorUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLEDescriptor;
Method or attribute name: descriptorValue: ArrayBuffer;
Old version information:
Class name: BLEDescriptor;
Method or attribute name: descriptorValue: ArrayBuffer;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.BLEDescriptor#descriptorValue
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: NotifyCharacteristic;
Method or attribute name: interface NotifyCharacteristic
Old version information:
Class name: NotifyCharacteristic;
Method or attribute name: interface NotifyCharacteristic
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.NotifyCharacteristic
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: NotifyCharacteristic;
Method or attribute name: confirm: boolean;
Old version information:
Class name: NotifyCharacteristic;
Method or attribute name: confirm: boolean;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.NotifyCharacteristic#confirm
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: CharacteristicReadRequest;
Method or attribute name: interface CharacteristicReadRequest
Old version information:
Class name: CharacteristicReadRequest;
Method or attribute name: interface CharacteristicReadRequest
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.CharacteristicReadRequest
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: CharacteristicReadRequest;
Method or attribute name: deviceId: string;
Old version information:
Class name: CharacteristicReadRequest;
Method or attribute name: deviceId: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.CharacteristicReadRequest#deviceId
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: CharacteristicWriteRequest;
Method or attribute name: deviceId: string;
Old version information:
Class name: CharacteristicWriteRequest;
Method or attribute name: deviceId: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.CharacteristicWriteRequest#deviceId
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DescriptorReadRequest;
Method or attribute name: deviceId: string;
Old version information:
Class name: DescriptorReadRequest;
Method or attribute name: deviceId: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.DescriptorReadRequest#deviceId
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DescriptorWriteRequest;
Method or attribute name: deviceId: string;
Old version information:
Class name: DescriptorWriteRequest;
Method or attribute name: deviceId: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.DescriptorWriteRequest#deviceId
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ServerResponse;
Method or attribute name: deviceId: string;
Old version information:
Class name: ServerResponse;
Method or attribute name: deviceId: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ServerResponse#deviceId
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLEConnectChangedState;
Method or attribute name: deviceId: string;
Old version information:
Class name: BLEConnectChangedState;
Method or attribute name: deviceId: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.BLEConnectionChangeState#deviceId
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanResult;
Method or attribute name: deviceId: string;
Old version information:
Class name: ScanResult;
Method or attribute name: deviceId: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanResult#deviceId
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: PinRequiredParam;
Method or attribute name: deviceId: string;
Old version information:
Class name: PinRequiredParam;
Method or attribute name: deviceId: string;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.PinRequiredParam#deviceId
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BondStateParam;
Method or attribute name: deviceId: string;
Old version information:
Class name: BondStateParam;
Method or attribute name: deviceId: string;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.BondStateParam#deviceId
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: StateChangeParam;
Method or attribute name: deviceId: string;
Old version information:
Class name: StateChangeParam;
Method or attribute name: deviceId: string;
New version information: 10
Substitute API: ohos.bluetooth.baseProfile/baseProfile.StateChangeParam#deviceId
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: CharacteristicReadRequest;
Method or attribute name: transId: number;
Old version information:
Class name: CharacteristicReadRequest;
Method or attribute name: transId: number;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.CharacteristicReadRequest#transId
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: CharacteristicWriteRequest;
Method or attribute name: transId: number;
Old version information:
Class name: CharacteristicWriteRequest;
Method or attribute name: transId: number;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.CharacteristicWriteRequest#transId
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DescriptorReadRequest;
Method or attribute name: transId: number;
Old version information:
Class name: DescriptorReadRequest;
Method or attribute name: transId: number;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.DescriptorReadRequest#transId
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DescriptorWriteRequest;
Method or attribute name: transId: number;
Old version information:
Class name: DescriptorWriteRequest;
Method or attribute name: transId: number;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.DescriptorWriteRequest#transId
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ServerResponse;
Method or attribute name: transId: number;
Old version information:
Class name: ServerResponse;
Method or attribute name: transId: number;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ServerResponse#transId
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: CharacteristicReadRequest;
Method or attribute name: offset: number;
Old version information:
Class name: CharacteristicReadRequest;
Method or attribute name: offset: number;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.CharacteristicReadRequest#offset
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: CharacteristicWriteRequest;
Method or attribute name: offset: number;
Old version information:
Class name: CharacteristicWriteRequest;
Method or attribute name: offset: number;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.CharacteristicWriteRequest#offset
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DescriptorReadRequest;
Method or attribute name: offset: number;
Old version information:
Class name: DescriptorReadRequest;
Method or attribute name: offset: number;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.DescriptorReadRequest#offset
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DescriptorWriteRequest;
Method or attribute name: offset: number;
Old version information:
Class name: DescriptorWriteRequest;
Method or attribute name: offset: number;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.DescriptorWriteRequest#offset
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ServerResponse;
Method or attribute name: offset: number;
Old version information:
Class name: ServerResponse;
Method or attribute name: offset: number;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ServerResponse#offset
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: CharacteristicWriteRequest;
Method or attribute name: interface CharacteristicWriteRequest
Old version information:
Class name: CharacteristicWriteRequest;
Method or attribute name: interface CharacteristicWriteRequest
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.CharacteristicWriteRequest
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: CharacteristicWriteRequest;
Method or attribute name: isPrep: boolean;
Old version information:
Class name: CharacteristicWriteRequest;
Method or attribute name: isPrep: boolean;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.CharacteristicWriteRequest#isPrepared
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DescriptorWriteRequest;
Method or attribute name: isPrep: boolean;
Old version information:
Class name: DescriptorWriteRequest;
Method or attribute name: isPrep: boolean;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.DescriptorWriteRequest#isPrepared
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: CharacteristicWriteRequest;
Method or attribute name: needRsp: boolean;
Old version information:
Class name: CharacteristicWriteRequest;
Method or attribute name: needRsp: boolean;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.CharacteristicWriteRequest#needRsp
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DescriptorWriteRequest;
Method or attribute name: needRsp: boolean;
Old version information:
Class name: DescriptorWriteRequest;
Method or attribute name: needRsp: boolean;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.DescriptorWriteRequest#needRsp
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: CharacteristicWriteRequest;
Method or attribute name: value: ArrayBuffer;
Old version information:
Class name: CharacteristicWriteRequest;
Method or attribute name: value: ArrayBuffer;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.CharacteristicWriteRequest#value
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DescriptorWriteRequest;
Method or attribute name: value: ArrayBuffer;
Old version information:
Class name: DescriptorWriteRequest;
Method or attribute name: value: ArrayBuffer;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.DescriptorWriteRequest#value
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ServerResponse;
Method or attribute name: value: ArrayBuffer;
Old version information:
Class name: ServerResponse;
Method or attribute name: value: ArrayBuffer;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ServerResponse#value
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DescriptorReadRequest;
Method or attribute name: interface DescriptorReadRequest
Old version information:
Class name: DescriptorReadRequest;
Method or attribute name: interface DescriptorReadRequest
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.DescriptorReadRequest
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DescriptorWriteRequest;
Method or attribute name: interface DescriptorWriteRequest
Old version information:
Class name: DescriptorWriteRequest;
Method or attribute name: interface DescriptorWriteRequest
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.DescriptorWriteRequest
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ServerResponse;
Method or attribute name: interface ServerResponse
Old version information:
Class name: ServerResponse;
Method or attribute name: interface ServerResponse
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ServerResponse
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ServerResponse;
Method or attribute name: status: number;
Old version information:
Class name: ServerResponse;
Method or attribute name: status: number;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ServerResponse#status
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLEConnectChangedState;
Method or attribute name: interface BLEConnectChangedState
Old version information:
Class name: BLEConnectChangedState;
Method or attribute name: interface BLEConnectChangedState
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.BLEConnectionChangeState
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BLEConnectChangedState;
Method or attribute name: state: ProfileConnectionState;
Old version information:
Class name: BLEConnectChangedState;
Method or attribute name: state: ProfileConnectionState;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.BLEConnectionChangeState#state
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: StateChangeParam;
Method or attribute name: state: ProfileConnectionState;
Old version information:
Class name: StateChangeParam;
Method or attribute name: state: ProfileConnectionState;
New version information: 10
Substitute API: ohos.bluetooth.baseProfile/baseProfile.StateChangeParam#state
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanResult;
Method or attribute name: interface ScanResult
Old version information:
Class name: ScanResult;
Method or attribute name: interface ScanResult
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanResult
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanResult;
Method or attribute name: rssi: number;
Old version information:
Class name: ScanResult;
Method or attribute name: rssi: number;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanResult#rssi
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanResult;
Method or attribute name: data: ArrayBuffer;
Old version information:
Class name: ScanResult;
Method or attribute name: data: ArrayBuffer;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanResult#data
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: AdvertiseSetting;
Method or attribute name: interface AdvertiseSetting
Old version information:
Class name: AdvertiseSetting;
Method or attribute name: interface AdvertiseSetting
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.AdvertiseSetting
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: AdvertiseSetting;
Method or attribute name: interval?: number;
Old version information:
Class name: AdvertiseSetting;
Method or attribute name: interval?: number;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.AdvertiseSetting#interval
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanOptions;
Method or attribute name: interval?: number;
Old version information:
Class name: ScanOptions;
Method or attribute name: interval?: number;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanOptions#interval
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: AdvertiseSetting;
Method or attribute name: txPower?: number;
Old version information:
Class name: AdvertiseSetting;
Method or attribute name: txPower?: number;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.AdvertiseSetting#txPower
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: AdvertiseSetting;
Method or attribute name: connectable?: boolean;
Old version information:
Class name: AdvertiseSetting;
Method or attribute name: connectable?: boolean;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.AdvertiseSetting#connectable
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: AdvertiseData;
Method or attribute name: interface AdvertiseData
Old version information:
Class name: AdvertiseData;
Method or attribute name: interface AdvertiseData
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.AdvertiseData
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: AdvertiseData;
Method or attribute name: serviceUuids: Array<string>;
Old version information:
Class name: AdvertiseData;
Method or attribute name: serviceUuids: Array<string>;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.AdvertiseData#serviceUuids
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: AdvertiseData;
Method or attribute name: manufactureData: Array<ManufactureData>;
Old version information:
Class name: AdvertiseData;
Method or attribute name: manufactureData: Array<ManufactureData>;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.AdvertiseData#manufactureData
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: AdvertiseData;
Method or attribute name: serviceData: Array<ServiceData>;
Old version information:
Class name: AdvertiseData;
Method or attribute name: serviceData: Array<ServiceData>;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.AdvertiseData#serviceData
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ManufactureData;
Method or attribute name: interface ManufactureData
Old version information:
Class name: ManufactureData;
Method or attribute name: interface ManufactureData
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ManufactureData
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ManufactureData;
Method or attribute name: manufactureId: number;
Old version information:
Class name: ManufactureData;
Method or attribute name: manufactureId: number;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ManufactureData#manufactureId
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ManufactureData;
Method or attribute name: manufactureValue: ArrayBuffer;
Old version information:
Class name: ManufactureData;
Method or attribute name: manufactureValue: ArrayBuffer;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ManufactureData#manufactureValue
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ServiceData;
Method or attribute name: interface ServiceData
Old version information:
Class name: ServiceData;
Method or attribute name: interface ServiceData
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ServiceData
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ServiceData;
Method or attribute name: serviceValue: ArrayBuffer;
Old version information:
Class name: ServiceData;
Method or attribute name: serviceValue: ArrayBuffer;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ServiceData#serviceValue
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanFilter;
Method or attribute name: interface ScanFilter
Old version information:
Class name: ScanFilter;
Method or attribute name: interface ScanFilter
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanFilter
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanFilter;
Method or attribute name: deviceId?: string;
Old version information:
Class name: ScanFilter;
Method or attribute name: deviceId?: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanFilter#deviceId
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanFilter;
Method or attribute name: name?: string;
Old version information:
Class name: ScanFilter;
Method or attribute name: name?: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanFilter#name
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanFilter;
Method or attribute name: serviceUuid?: string;
Old version information:
Class name: ScanFilter;
Method or attribute name: serviceUuid?: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanFilter#serviceUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanFilter;
Method or attribute name: serviceUuidMask?: string;
Old version information:
Class name: ScanFilter;
Method or attribute name: serviceUuidMask?: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanFilter#serviceUuidMask
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanFilter;
Method or attribute name: serviceSolicitationUuid?: string;
Old version information:
Class name: ScanFilter;
Method or attribute name: serviceSolicitationUuid?: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanFilter#serviceSolicitationUuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanFilter;
Method or attribute name: serviceSolicitationUuidMask?: string;
Old version information:
Class name: ScanFilter;
Method or attribute name: serviceSolicitationUuidMask?: string;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanFilter#serviceSolicitationUuidMask
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanFilter;
Method or attribute name: serviceData?: ArrayBuffer;
Old version information:
Class name: ScanFilter;
Method or attribute name: serviceData?: ArrayBuffer;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanFilter#serviceData
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanFilter;
Method or attribute name: serviceDataMask?: ArrayBuffer;
Old version information:
Class name: ScanFilter;
Method or attribute name: serviceDataMask?: ArrayBuffer;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanFilter#serviceDataMask
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanFilter;
Method or attribute name: manufactureId?: number;
Old version information:
Class name: ScanFilter;
Method or attribute name: manufactureId?: number;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanFilter#manufactureId
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanFilter;
Method or attribute name: manufactureData?: ArrayBuffer;
Old version information:
Class name: ScanFilter;
Method or attribute name: manufactureData?: ArrayBuffer;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanFilter#manufactureData
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanFilter;
Method or attribute name: manufactureDataMask?: ArrayBuffer;
Old version information:
Class name: ScanFilter;
Method or attribute name: manufactureDataMask?: ArrayBuffer;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanFilter#manufactureDataMask
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanOptions;
Method or attribute name: interface ScanOptions
Old version information:
Class name: ScanOptions;
Method or attribute name: interface ScanOptions
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanOptions
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanOptions;
Method or attribute name: dutyMode?: ScanDuty;
Old version information:
Class name: ScanOptions;
Method or attribute name: dutyMode?: ScanDuty;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanOptions#dutyMode
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanOptions;
Method or attribute name: matchMode?: MatchMode;
Old version information:
Class name: ScanOptions;
Method or attribute name: matchMode?: MatchMode;
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanOptions#matchMode
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: SppOption;
Method or attribute name: interface SppOption
Old version information:
Class name: SppOption;
Method or attribute name: interface SppOption
New version information: 10
Substitute API: ohos.bluetooth.socket/socket.SppOptions
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: SppOption;
Method or attribute name: uuid: string;
Old version information:
Class name: SppOption;
Method or attribute name: uuid: string;
New version information: 10
Substitute API: ohos.bluetooth.socket/socket.SppOptions#uuid
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: SppOption;
Method or attribute name: secure: boolean;
Old version information:
Class name: SppOption;
Method or attribute name: secure: boolean;
New version information: 10
Substitute API: ohos.bluetooth.socket/socket.SppOptions#secure
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: SppOption;
Method or attribute name: type: SppType;
Old version information:
Class name: SppOption;
Method or attribute name: type: SppType;
New version information: 10
Substitute API: ohos.bluetooth.socket/socket.SppOptions#type
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: PinRequiredParam;
Method or attribute name: interface PinRequiredParam
Old version information:
Class name: PinRequiredParam;
Method or attribute name: interface PinRequiredParam
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.PinRequiredParam
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: PinRequiredParam;
Method or attribute name: pinCode: string;
Old version information:
Class name: PinRequiredParam;
Method or attribute name: pinCode: string;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.PinRequiredParam#pinCode
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DeviceClass;
Method or attribute name: interface DeviceClass
Old version information:
Class name: DeviceClass;
Method or attribute name: interface DeviceClass
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.DeviceClass
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DeviceClass;
Method or attribute name: majorClass: MajorClass;
Old version information:
Class name: DeviceClass;
Method or attribute name: majorClass: MajorClass;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.DeviceClass#majorClass
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DeviceClass;
Method or attribute name: majorMinorClass: MajorMinorClass;
Old version information:
Class name: DeviceClass;
Method or attribute name: majorMinorClass: MajorMinorClass;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.DeviceClass#majorMinorClass
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: DeviceClass;
Method or attribute name: classOfDevice: number;
Old version information:
Class name: DeviceClass;
Method or attribute name: classOfDevice: number;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.DeviceClass#classOfDevice
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BondStateParam;
Method or attribute name: interface BondStateParam
Old version information:
Class name: BondStateParam;
Method or attribute name: interface BondStateParam
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.BondStateParam
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BondStateParam;
Method or attribute name: state: BondState;
Old version information:
Class name: BondStateParam;
Method or attribute name: state: BondState;
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.BondStateParam#state
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: StateChangeParam;
Method or attribute name: interface StateChangeParam
Old version information:
Class name: StateChangeParam;
Method or attribute name: interface StateChangeParam
New version information: 10
Substitute API: ohos.bluetooth.baseProfile/baseProfile.StateChangeParam
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanDuty;
Method or attribute name: enum ScanDuty
Old version information:
Class name: ScanDuty;
Method or attribute name: enum ScanDuty
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanDuty
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanDuty;
Method or attribute name: SCAN_MODE_LOW_POWER = 0
Old version information:
Class name: ScanDuty;
Method or attribute name: SCAN_MODE_LOW_POWER = 0
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanDuty#SCAN_MODE_LOW_POWER
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanDuty;
Method or attribute name: SCAN_MODE_BALANCED = 1
Old version information:
Class name: ScanDuty;
Method or attribute name: SCAN_MODE_BALANCED = 1
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanDuty#SCAN_MODE_BALANCED
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanDuty;
Method or attribute name: SCAN_MODE_LOW_LATENCY = 2
Old version information:
Class name: ScanDuty;
Method or attribute name: SCAN_MODE_LOW_LATENCY = 2
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.ScanDuty#SCAN_MODE_LOW_LATENCY
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MatchMode;
Method or attribute name: enum MatchMode
Old version information:
Class name: MatchMode;
Method or attribute name: enum MatchMode
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.MatchMode
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MatchMode;
Method or attribute name: MATCH_MODE_AGGRESSIVE = 1
Old version information:
Class name: MatchMode;
Method or attribute name: MATCH_MODE_AGGRESSIVE = 1
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.MatchMode#MATCH_MODE_AGGRESSIVE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MatchMode;
Method or attribute name: MATCH_MODE_STICKY = 2
Old version information:
Class name: MatchMode;
Method or attribute name: MATCH_MODE_STICKY = 2
New version information: 10
Substitute API: ohos.bluetooth.ble/ble.MatchMode#MATCH_MODE_STICKY
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ProfileConnectionState;
Method or attribute name: enum ProfileConnectionState
Old version information:
Class name: ProfileConnectionState;
Method or attribute name: enum ProfileConnectionState
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.ProfileConnectionState
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ProfileConnectionState;
Method or attribute name: STATE_DISCONNECTED = 0
Old version information:
Class name: ProfileConnectionState;
Method or attribute name: STATE_DISCONNECTED = 0
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.ProfileConnectionState#STATE_DISCONNECTED
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ProfileConnectionState;
Method or attribute name: STATE_CONNECTING = 1
Old version information:
Class name: ProfileConnectionState;
Method or attribute name: STATE_CONNECTING = 1
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.ProfileConnectionState#STATE_CONNECTING
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ProfileConnectionState;
Method or attribute name: STATE_CONNECTED = 2
Old version information:
Class name: ProfileConnectionState;
Method or attribute name: STATE_CONNECTED = 2
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.ProfileConnectionState#STATE_CONNECTED
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ProfileConnectionState;
Method or attribute name: STATE_DISCONNECTING = 3
Old version information:
Class name: ProfileConnectionState;
Method or attribute name: STATE_DISCONNECTING = 3
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.ProfileConnectionState#STATE_DISCONNECTING
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BluetoothState;
Method or attribute name: enum BluetoothState
Old version information:
Class name: BluetoothState;
Method or attribute name: enum BluetoothState
New version information: 10
Substitute API: ohos.bluetooth.access/access.BluetoothState
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BluetoothState;
Method or attribute name: STATE_OFF = 0
Old version information:
Class name: BluetoothState;
Method or attribute name: STATE_OFF = 0
New version information: 10
Substitute API: ohos.bluetooth.access/access.BluetoothState#STATE_OFF
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BluetoothState;
Method or attribute name: STATE_TURNING_ON = 1
Old version information:
Class name: BluetoothState;
Method or attribute name: STATE_TURNING_ON = 1
New version information: 10
Substitute API: ohos.bluetooth.access/access.BluetoothState#STATE_TURNING_ON
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BluetoothState;
Method or attribute name: STATE_ON = 2
Old version information:
Class name: BluetoothState;
Method or attribute name: STATE_ON = 2
New version information: 10
Substitute API: ohos.bluetooth.access/access.BluetoothState#STATE_ON
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BluetoothState;
Method or attribute name: STATE_TURNING_OFF = 3
Old version information:
Class name: BluetoothState;
Method or attribute name: STATE_TURNING_OFF = 3
New version information: 10
Substitute API: ohos.bluetooth.access/access.BluetoothState#STATE_TURNING_OFF
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BluetoothState;
Method or attribute name: STATE_BLE_TURNING_ON = 4
Old version information:
Class name: BluetoothState;
Method or attribute name: STATE_BLE_TURNING_ON = 4
New version information: 10
Substitute API: ohos.bluetooth.access/access.BluetoothState#STATE_BLE_TURNING_ON
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BluetoothState;
Method or attribute name: STATE_BLE_ON = 5
Old version information:
Class name: BluetoothState;
Method or attribute name: STATE_BLE_ON = 5
New version information: 10
Substitute API: ohos.bluetooth.access/access.BluetoothState#STATE_BLE_ON
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BluetoothState;
Method or attribute name: STATE_BLE_TURNING_OFF = 6
Old version information:
Class name: BluetoothState;
Method or attribute name: STATE_BLE_TURNING_OFF = 6
New version information: 10
Substitute API: ohos.bluetooth.access/access.BluetoothState#STATE_BLE_TURNING_OFF
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: SppType;
Method or attribute name: enum SppType
Old version information:
Class name: SppType;
Method or attribute name: enum SppType
New version information: 10
Substitute API: ohos.bluetooth.socket/socket.SppType
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: SppType;
Method or attribute name: SPP_RFCOMM
Old version information:
Class name: SppType;
Method or attribute name: SPP_RFCOMM
New version information: 10
Substitute API: ohos.bluetooth.socket/socket.SppType#SPP_RFCOMM
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanMode;
Method or attribute name: enum ScanMode
Old version information:
Class name: ScanMode;
Method or attribute name: enum ScanMode
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.ScanMode
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanMode;
Method or attribute name: SCAN_MODE_NONE = 0
Old version information:
Class name: ScanMode;
Method or attribute name: SCAN_MODE_NONE = 0
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.ScanMode#SCAN_MODE_NONE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanMode;
Method or attribute name: SCAN_MODE_CONNECTABLE = 1
Old version information:
Class name: ScanMode;
Method or attribute name: SCAN_MODE_CONNECTABLE = 1
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.ScanMode#SCAN_MODE_CONNECTABLE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanMode;
Method or attribute name: SCAN_MODE_GENERAL_DISCOVERABLE = 2
Old version information:
Class name: ScanMode;
Method or attribute name: SCAN_MODE_GENERAL_DISCOVERABLE = 2
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.ScanMode#SCAN_MODE_GENERAL_DISCOVERABLE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanMode;
Method or attribute name: SCAN_MODE_LIMITED_DISCOVERABLE = 3
Old version information:
Class name: ScanMode;
Method or attribute name: SCAN_MODE_LIMITED_DISCOVERABLE = 3
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.ScanMode#SCAN_MODE_LIMITED_DISCOVERABLE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanMode;
Method or attribute name: SCAN_MODE_CONNECTABLE_GENERAL_DISCOVERABLE = 4
Old version information:
Class name: ScanMode;
Method or attribute name: SCAN_MODE_CONNECTABLE_GENERAL_DISCOVERABLE = 4
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.ScanMode#SCAN_MODE_CONNECTABLE_GENERAL_DISCOVERABLE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ScanMode;
Method or attribute name: SCAN_MODE_CONNECTABLE_LIMITED_DISCOVERABLE = 5
Old version information:
Class name: ScanMode;
Method or attribute name: SCAN_MODE_CONNECTABLE_LIMITED_DISCOVERABLE = 5
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.ScanMode#SCAN_MODE_CONNECTABLE_LIMITED_DISCOVERABLE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BondState;
Method or attribute name: enum BondState
Old version information:
Class name: BondState;
Method or attribute name: enum BondState
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.BondState
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BondState;
Method or attribute name: BOND_STATE_INVALID = 0
Old version information:
Class name: BondState;
Method or attribute name: BOND_STATE_INVALID = 0
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.BondState#BOND_STATE_INVALID
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BondState;
Method or attribute name: BOND_STATE_BONDING = 1
Old version information:
Class name: BondState;
Method or attribute name: BOND_STATE_BONDING = 1
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.BondState#BOND_STATE_BONDING
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: BondState;
Method or attribute name: BOND_STATE_BONDED = 2
Old version information:
Class name: BondState;
Method or attribute name: BOND_STATE_BONDED = 2
New version information: 10
Substitute API: ohos.bluetooth.connection/connection.BondState#BOND_STATE_BONDED
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorClass;
Method or attribute name: enum MajorClass
Old version information:
Class name: MajorClass;
Method or attribute name: enum MajorClass
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorClass
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorClass;
Method or attribute name: MAJOR_MISC = 0x0000
Old version information:
Class name: MajorClass;
Method or attribute name: MAJOR_MISC = 0x0000
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorClass#MAJOR_MISC
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorClass;
Method or attribute name: MAJOR_COMPUTER = 0x0100
Old version information:
Class name: MajorClass;
Method or attribute name: MAJOR_COMPUTER = 0x0100
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorClass#MAJOR_COMPUTER
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorClass;
Method or attribute name: MAJOR_PHONE = 0x0200
Old version information:
Class name: MajorClass;
Method or attribute name: MAJOR_PHONE = 0x0200
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorClass#MAJOR_PHONE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorClass;
Method or attribute name: MAJOR_NETWORKING = 0x0300
Old version information:
Class name: MajorClass;
Method or attribute name: MAJOR_NETWORKING = 0x0300
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorClass#MAJOR_NETWORKING
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorClass;
Method or attribute name: MAJOR_AUDIO_VIDEO = 0x0400
Old version information:
Class name: MajorClass;
Method or attribute name: MAJOR_AUDIO_VIDEO = 0x0400
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorClass#MAJOR_AUDIO_VIDEO
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorClass;
Method or attribute name: MAJOR_PERIPHERAL = 0x0500
Old version information:
Class name: MajorClass;
Method or attribute name: MAJOR_PERIPHERAL = 0x0500
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorClass#MAJOR_PERIPHERAL
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorClass;
Method or attribute name: MAJOR_IMAGING = 0x0600
Old version information:
Class name: MajorClass;
Method or attribute name: MAJOR_IMAGING = 0x0600
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorClass#MAJOR_IMAGING
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorClass;
Method or attribute name: MAJOR_WEARABLE = 0x0700
Old version information:
Class name: MajorClass;
Method or attribute name: MAJOR_WEARABLE = 0x0700
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorClass#MAJOR_WEARABLE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorClass;
Method or attribute name: MAJOR_TOY = 0x0800
Old version information:
Class name: MajorClass;
Method or attribute name: MAJOR_TOY = 0x0800
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorClass#MAJOR_TOY
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorClass;
Method or attribute name: MAJOR_HEALTH = 0x0900
Old version information:
Class name: MajorClass;
Method or attribute name: MAJOR_HEALTH = 0x0900
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorClass#MAJOR_HEALTH
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorClass;
Method or attribute name: MAJOR_UNCATEGORIZED = 0x1F00
Old version information:
Class name: MajorClass;
Method or attribute name: MAJOR_UNCATEGORIZED = 0x1F00
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorClass#MAJOR_UNCATEGORIZED
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: enum MajorMinorClass
Old version information:
Class name: MajorMinorClass;
Method or attribute name: enum MajorMinorClass
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: COMPUTER_UNCATEGORIZED = 0x0100
Old version information:
Class name: MajorMinorClass;
Method or attribute name: COMPUTER_UNCATEGORIZED = 0x0100
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#COMPUTER_UNCATEGORIZED
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: COMPUTER_DESKTOP = 0x0104
Old version information:
Class name: MajorMinorClass;
Method or attribute name: COMPUTER_DESKTOP = 0x0104
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#COMPUTER_DESKTOP
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: COMPUTER_SERVER = 0x0108
Old version information:
Class name: MajorMinorClass;
Method or attribute name: COMPUTER_SERVER = 0x0108
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#COMPUTER_SERVER
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: COMPUTER_LAPTOP = 0x010C
Old version information:
Class name: MajorMinorClass;
Method or attribute name: COMPUTER_LAPTOP = 0x010C
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#COMPUTER_LAPTOP
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: COMPUTER_HANDHELD_PC_PDA = 0x0110
Old version information:
Class name: MajorMinorClass;
Method or attribute name: COMPUTER_HANDHELD_PC_PDA = 0x0110
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#COMPUTER_HANDHELD_PC_PDA
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: COMPUTER_PALM_SIZE_PC_PDA = 0x0114
Old version information:
Class name: MajorMinorClass;
Method or attribute name: COMPUTER_PALM_SIZE_PC_PDA = 0x0114
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#COMPUTER_PALM_SIZE_PC_PDA
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: COMPUTER_WEARABLE = 0x0118
Old version information:
Class name: MajorMinorClass;
Method or attribute name: COMPUTER_WEARABLE = 0x0118
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#COMPUTER_WEARABLE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: COMPUTER_TABLET = 0x011C
Old version information:
Class name: MajorMinorClass;
Method or attribute name: COMPUTER_TABLET = 0x011C
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#COMPUTER_TABLET
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: PHONE_UNCATEGORIZED = 0x0200
Old version information:
Class name: MajorMinorClass;
Method or attribute name: PHONE_UNCATEGORIZED = 0x0200
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#PHONE_UNCATEGORIZED
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: PHONE_CELLULAR = 0x0204
Old version information:
Class name: MajorMinorClass;
Method or attribute name: PHONE_CELLULAR = 0x0204
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#PHONE_CELLULAR
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: PHONE_CORDLESS = 0x0208
Old version information:
Class name: MajorMinorClass;
Method or attribute name: PHONE_CORDLESS = 0x0208
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#PHONE_CORDLESS
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: PHONE_SMART = 0x020C
Old version information:
Class name: MajorMinorClass;
Method or attribute name: PHONE_SMART = 0x020C
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#PHONE_SMART
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: PHONE_MODEM_OR_GATEWAY = 0x0210
Old version information:
Class name: MajorMinorClass;
Method or attribute name: PHONE_MODEM_OR_GATEWAY = 0x0210
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#PHONE_MODEM_OR_GATEWAY
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: PHONE_ISDN = 0x0214
Old version information:
Class name: MajorMinorClass;
Method or attribute name: PHONE_ISDN = 0x0214
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#PHONE_ISDN
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: NETWORK_FULLY_AVAILABLE = 0x0300
Old version information:
Class name: MajorMinorClass;
Method or attribute name: NETWORK_FULLY_AVAILABLE = 0x0300
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#NETWORK_FULLY_AVAILABLE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: NETWORK_1_TO_17_UTILIZED = 0x0320
Old version information:
Class name: MajorMinorClass;
Method or attribute name: NETWORK_1_TO_17_UTILIZED = 0x0320
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#NETWORK_1_TO_17_UTILIZED
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: NETWORK_17_TO_33_UTILIZED = 0x0340
Old version information:
Class name: MajorMinorClass;
Method or attribute name: NETWORK_17_TO_33_UTILIZED = 0x0340
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#NETWORK_17_TO_33_UTILIZED
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: NETWORK_33_TO_50_UTILIZED = 0x0360
Old version information:
Class name: MajorMinorClass;
Method or attribute name: NETWORK_33_TO_50_UTILIZED = 0x0360
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#NETWORK_33_TO_50_UTILIZED
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: NETWORK_60_TO_67_UTILIZED = 0x0380
Old version information:
Class name: MajorMinorClass;
Method or attribute name: NETWORK_60_TO_67_UTILIZED = 0x0380
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#NETWORK_60_TO_67_UTILIZED
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: NETWORK_67_TO_83_UTILIZED = 0x03A0
Old version information:
Class name: MajorMinorClass;
Method or attribute name: NETWORK_67_TO_83_UTILIZED = 0x03A0
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#NETWORK_67_TO_83_UTILIZED
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: NETWORK_83_TO_99_UTILIZED = 0x03C0
Old version information:
Class name: MajorMinorClass;
Method or attribute name: NETWORK_83_TO_99_UTILIZED = 0x03C0
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#NETWORK_83_TO_99_UTILIZED
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: NETWORK_NO_SERVICE = 0x03E0
Old version information:
Class name: MajorMinorClass;
Method or attribute name: NETWORK_NO_SERVICE = 0x03E0
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#NETWORK_NO_SERVICE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_UNCATEGORIZED = 0x0400
Old version information:
Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_UNCATEGORIZED = 0x0400
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_UNCATEGORIZED
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_WEARABLE_HEADSET = 0x0404
Old version information:
Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_WEARABLE_HEADSET = 0x0404
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_WEARABLE_HEADSET
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_HANDSFREE = 0x0408
Old version information:
Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_HANDSFREE = 0x0408
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_HANDSFREE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_MICROPHONE = 0x0410
Old version information:
Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_MICROPHONE = 0x0410
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_MICROPHONE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_LOUDSPEAKER = 0x0414
Old version information:
Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_LOUDSPEAKER = 0x0414
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_LOUDSPEAKER
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_HEADPHONES = 0x0418
Old version information:
Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_HEADPHONES = 0x0418
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_HEADPHONES
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_PORTABLE_AUDIO = 0x041C
Old version information:
Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_PORTABLE_AUDIO = 0x041C
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_PORTABLE_AUDIO
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_CAR_AUDIO = 0x0420
Old version information:
Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_CAR_AUDIO = 0x0420
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_CAR_AUDIO
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_SET_TOP_BOX = 0x0424
Old version information:
Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_SET_TOP_BOX = 0x0424
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_SET_TOP_BOX
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_HIFI_AUDIO = 0x0428
Old version information:
Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_HIFI_AUDIO = 0x0428
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_HIFI_AUDIO
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_VCR = 0x042C
Old version information:
Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_VCR = 0x042C
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_VCR
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_VIDEO_CAMERA = 0x0430
Old version information:
Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_VIDEO_CAMERA = 0x0430
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_VIDEO_CAMERA
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_CAMCORDER = 0x0434
Old version information:
Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_CAMCORDER = 0x0434
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_CAMCORDER
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_VIDEO_MONITOR = 0x0438
Old version information:
Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_VIDEO_MONITOR = 0x0438
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_VIDEO_MONITOR
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_VIDEO_DISPLAY_AND_LOUDSPEAKER = 0x043C
Old version information:
Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_VIDEO_DISPLAY_AND_LOUDSPEAKER = 0x043C
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_VIDEO_DISPLAY_AND_LOUDSPEAKER
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_VIDEO_CONFERENCING = 0x0440
Old version information:
Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_VIDEO_CONFERENCING = 0x0440
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_VIDEO_CONFERENCING
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_VIDEO_GAMING_TOY = 0x0448
Old version information:
Class name: MajorMinorClass;
Method or attribute name: AUDIO_VIDEO_VIDEO_GAMING_TOY = 0x0448
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_VIDEO_GAMING_TOY
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_NON_KEYBOARD_NON_POINTING = 0x0500
Old version information:
Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_NON_KEYBOARD_NON_POINTING = 0x0500
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_NON_KEYBOARD_NON_POINTING
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_KEYBOARD = 0x0540
Old version information:
Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_KEYBOARD = 0x0540
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_KEYBOARD
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_POINTING_DEVICE = 0x0580
Old version information:
Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_POINTING_DEVICE = 0x0580
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_POINTING_DEVICE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_KEYBOARD_POINTING = 0x05C0
Old version information:
Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_KEYBOARD_POINTING = 0x05C0
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_KEYBOARD_POINTING
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_UNCATEGORIZED = 0x0500
Old version information:
Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_UNCATEGORIZED = 0x0500
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_UNCATEGORIZED
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_JOYSTICK = 0x0504
Old version information:
Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_JOYSTICK = 0x0504
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_JOYSTICK
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_GAMEPAD = 0x0508
Old version information:
Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_GAMEPAD = 0x0508
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_GAMEPAD
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_REMOTE_CONTROL = 0x05C0
Old version information:
Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_REMOTE_CONTROL = 0x05C0
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_REMOTE_CONTROL
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_SENSING_DEVICE = 0x0510
Old version information:
Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_SENSING_DEVICE = 0x0510
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_SENSING_DEVICE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_DIGITIZER_TABLET = 0x0514
Old version information:
Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_DIGITIZER_TABLET = 0x0514
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_DIGITIZER_TABLET
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_CARD_READER = 0x0518
Old version information:
Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_CARD_READER = 0x0518
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_CARD_READER
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_DIGITAL_PEN = 0x051C
Old version information:
Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_DIGITAL_PEN = 0x051C
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_DIGITAL_PEN
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_SCANNER_RFID = 0x0520
Old version information:
Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_SCANNER_RFID = 0x0520
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_SCANNER_RFID
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_GESTURAL_INPUT = 0x0522
Old version information:
Class name: MajorMinorClass;
Method or attribute name: PERIPHERAL_GESTURAL_INPUT = 0x0522
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_GESTURAL_INPUT
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: IMAGING_UNCATEGORIZED = 0x0600
Old version information:
Class name: MajorMinorClass;
Method or attribute name: IMAGING_UNCATEGORIZED = 0x0600
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#IMAGING_UNCATEGORIZED
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: IMAGING_DISPLAY = 0x0610
Old version information:
Class name: MajorMinorClass;
Method or attribute name: IMAGING_DISPLAY = 0x0610
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#IMAGING_DISPLAY
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: IMAGING_CAMERA = 0x0620
Old version information:
Class name: MajorMinorClass;
Method or attribute name: IMAGING_CAMERA = 0x0620
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#IMAGING_CAMERA
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: IMAGING_SCANNER = 0x0640
Old version information:
Class name: MajorMinorClass;
Method or attribute name: IMAGING_SCANNER = 0x0640
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#IMAGING_SCANNER
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: IMAGING_PRINTER = 0x0680
Old version information:
Class name: MajorMinorClass;
Method or attribute name: IMAGING_PRINTER = 0x0680
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#IMAGING_PRINTER
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: WEARABLE_UNCATEGORIZED = 0x0700
Old version information:
Class name: MajorMinorClass;
Method or attribute name: WEARABLE_UNCATEGORIZED = 0x0700
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#WEARABLE_UNCATEGORIZED
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: WEARABLE_WRIST_WATCH = 0x0704
Old version information:
Class name: MajorMinorClass;
Method or attribute name: WEARABLE_WRIST_WATCH = 0x0704
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#WEARABLE_WRIST_WATCH
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: WEARABLE_PAGER = 0x0708
Old version information:
Class name: MajorMinorClass;
Method or attribute name: WEARABLE_PAGER = 0x0708
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#WEARABLE_PAGER
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: WEARABLE_JACKET = 0x070C
Old version information:
Class name: MajorMinorClass;
Method or attribute name: WEARABLE_JACKET = 0x070C
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#WEARABLE_JACKET
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: WEARABLE_HELMET = 0x0710
Old version information:
Class name: MajorMinorClass;
Method or attribute name: WEARABLE_HELMET = 0x0710
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#WEARABLE_HELMET
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: WEARABLE_GLASSES = 0x0714
Old version information:
Class name: MajorMinorClass;
Method or attribute name: WEARABLE_GLASSES = 0x0714
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#WEARABLE_GLASSES
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: TOY_UNCATEGORIZED = 0x0800
Old version information:
Class name: MajorMinorClass;
Method or attribute name: TOY_UNCATEGORIZED = 0x0800
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#TOY_UNCATEGORIZED
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: TOY_ROBOT = 0x0804
Old version information:
Class name: MajorMinorClass;
Method or attribute name: TOY_ROBOT = 0x0804
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#TOY_ROBOT
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: TOY_VEHICLE = 0x0808
Old version information:
Class name: MajorMinorClass;
Method or attribute name: TOY_VEHICLE = 0x0808
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#TOY_VEHICLE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: TOY_DOLL_ACTION_FIGURE = 0x080C
Old version information:
Class name: MajorMinorClass;
Method or attribute name: TOY_DOLL_ACTION_FIGURE = 0x080C
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#TOY_DOLL_ACTION_FIGURE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: TOY_CONTROLLER = 0x0810
Old version information:
Class name: MajorMinorClass;
Method or attribute name: TOY_CONTROLLER = 0x0810
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#TOY_CONTROLLER
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: TOY_GAME = 0x0814
Old version information:
Class name: MajorMinorClass;
Method or attribute name: TOY_GAME = 0x0814
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#TOY_GAME
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: HEALTH_UNCATEGORIZED = 0x0900
Old version information:
Class name: MajorMinorClass;
Method or attribute name: HEALTH_UNCATEGORIZED = 0x0900
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_UNCATEGORIZED
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: HEALTH_BLOOD_PRESSURE = 0x0904
Old version information:
Class name: MajorMinorClass;
Method or attribute name: HEALTH_BLOOD_PRESSURE = 0x0904
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_BLOOD_PRESSURE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: HEALTH_THERMOMETER = 0x0908
Old version information:
Class name: MajorMinorClass;
Method or attribute name: HEALTH_THERMOMETER = 0x0908
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_THERMOMETER
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: HEALTH_WEIGHING = 0x090C
Old version information:
Class name: MajorMinorClass;
Method or attribute name: HEALTH_WEIGHING = 0x090C
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_WEIGHING
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: HEALTH_GLUCOSE = 0x0910
Old version information:
Class name: MajorMinorClass;
Method or attribute name: HEALTH_GLUCOSE = 0x0910
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_GLUCOSE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: HEALTH_PULSE_OXIMETER = 0x0914
Old version information:
Class name: MajorMinorClass;
Method or attribute name: HEALTH_PULSE_OXIMETER = 0x0914
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_PULSE_OXIMETER
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: HEALTH_PULSE_RATE = 0x0918
Old version information:
Class name: MajorMinorClass;
Method or attribute name: HEALTH_PULSE_RATE = 0x0918
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_PULSE_RATE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: HEALTH_DATA_DISPLAY = 0x091C
Old version information:
Class name: MajorMinorClass;
Method or attribute name: HEALTH_DATA_DISPLAY = 0x091C
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_DATA_DISPLAY
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: HEALTH_STEP_COUNTER = 0x0920
Old version information:
Class name: MajorMinorClass;
Method or attribute name: HEALTH_STEP_COUNTER = 0x0920
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_STEP_COUNTER
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: HEALTH_BODY_COMPOSITION_ANALYZER = 0x0924
Old version information:
Class name: MajorMinorClass;
Method or attribute name: HEALTH_BODY_COMPOSITION_ANALYZER = 0x0924
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_BODY_COMPOSITION_ANALYZER
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: HEALTH_PEAK_FLOW_MONITOR = 0x0928
Old version information:
Class name: MajorMinorClass;
Method or attribute name: HEALTH_PEAK_FLOW_MONITOR = 0x0928
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_PEAK_FLOW_MONITOR
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: HEALTH_MEDICATION_MONITOR = 0x092C
Old version information:
Class name: MajorMinorClass;
Method or attribute name: HEALTH_MEDICATION_MONITOR = 0x092C
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_MEDICATION_MONITOR
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: HEALTH_KNEE_PROSTHESIS = 0x0930
Old version information:
Class name: MajorMinorClass;
Method or attribute name: HEALTH_KNEE_PROSTHESIS = 0x0930
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_KNEE_PROSTHESIS
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: HEALTH_ANKLE_PROSTHESIS = 0x0934
Old version information:
Class name: MajorMinorClass;
Method or attribute name: HEALTH_ANKLE_PROSTHESIS = 0x0934
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_ANKLE_PROSTHESIS
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: HEALTH_GENERIC_HEALTH_MANAGER = 0x0938
Old version information:
Class name: MajorMinorClass;
Method or attribute name: HEALTH_GENERIC_HEALTH_MANAGER = 0x0938
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_GENERIC_HEALTH_MANAGER
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: MajorMinorClass;
Method or attribute name: HEALTH_PERSONAL_MOBILITY_DEVICE = 0x093C
Old version information:
Class name: MajorMinorClass;
Method or attribute name: HEALTH_PERSONAL_MOBILITY_DEVICE = 0x093C
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_PERSONAL_MOBILITY_DEVICE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: PlayingState;
Method or attribute name: enum PlayingState
Old version information:
Class name: PlayingState;
Method or attribute name: enum PlayingState
New version information: 10
Substitute API: ohos.bluetooth.a2dp/a2dp.PlayingState
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: PlayingState;
Method or attribute name: STATE_NOT_PLAYING
Old version information:
Class name: PlayingState;
Method or attribute name: STATE_NOT_PLAYING
New version information: 10
Substitute API: ohos.bluetooth.a2dp/a2dp.PlayingState#STATE_NOT_PLAYING
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: PlayingState;
Method or attribute name: STATE_PLAYING
Old version information:
Class name: PlayingState;
Method or attribute name: STATE_PLAYING
New version information: 10
Substitute API: ohos.bluetooth.a2dp/a2dp.PlayingState#STATE_PLAYING
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ProfileId;
Method or attribute name: enum ProfileId
Old version information:
Class name: ProfileId;
Method or attribute name: enum ProfileId
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.ProfileId
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ProfileId;
Method or attribute name: PROFILE_A2DP_SOURCE = 1
Old version information:
Class name: ProfileId;
Method or attribute name: PROFILE_A2DP_SOURCE = 1
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.ProfileId#PROFILE_A2DP_SOURCE
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ProfileId;
Method or attribute name: PROFILE_HANDS_FREE_AUDIO_GATEWAY = 4
Old version information:
Class name: ProfileId;
Method or attribute name: PROFILE_HANDS_FREE_AUDIO_GATEWAY = 4
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.ProfileId#PROFILE_HANDSFREE_AUDIO_GATEWAY
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ProfileId;
Method or attribute name: PROFILE_HID_HOST = 6
Old version information:
Class name: ProfileId;
Method or attribute name: PROFILE_HID_HOST = 6
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.ProfileId#PROFILE_HID_HOST
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: ProfileId;
Method or attribute name: PROFILE_PAN_NETWORK = 7
Old version information:
Class name: ProfileId;
Method or attribute name: PROFILE_PAN_NETWORK = 7
New version information: 10
Substitute API: ohos.bluetooth.constant/constant.ProfileId#PROFILE_PAN_NETWORK
@ohos.bluetoothManager.d.ts
Deprecated version changed Class name: connectedTag;
Method or attribute name: function readNdefTag(callback: AsyncCallback<string>): void;
Old version information:
Class name: connectedTag;
Method or attribute name: function readNdefTag(callback: AsyncCallback<string>): void;
New version information: 9
Substitute API: ohos.connectedTag/connectedTag#read
@ohos.connectedTag.d.ts
Deprecated version changed Class name: connectedTag;
Method or attribute name: function writeNdefTag(data: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: connectedTag;
Method or attribute name: function writeNdefTag(data: string, callback: AsyncCallback<void>): void;
New version information: 9
Substitute API: ohos.connectedTag/connectedTag#write
@ohos.connectedTag.d.ts
Deprecated version changed Class name: wifi;
Method or attribute name: function getScanInfos(callback: AsyncCallback<Array<WifiScanInfo>>): void;
Old version information:
Class name: wifi;
Method or attribute name: function getScanInfos(callback: AsyncCallback<Array<WifiScanInfo>>): void;
New version information: 9
Substitute API: ohos.wifiManager/wifiManager.getScanInfoList
@ohos.wifi.d.ts
Deprecated version changed Class name: wifi;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
Old version information:
Class name: wifi;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
New version information: 9
Substitute API: ohos.wifiManager/wifiManager.addDeviceConfig
@ohos.wifi.d.ts
Deprecated version changed Class name: wifi;
Method or attribute name: function addUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: wifi;
Method or attribute name: function addUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback<boolean>): void;
New version information: 9
Substitute API: ohos.wifiManager/wifiManager.addCandidateConfig
@ohos.wifi.d.ts
Deprecated version changed Class name: wifi;
Method or attribute name: function removeUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: wifi;
Method or attribute name: function removeUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback<boolean>): void;
New version information: 9
Substitute API: ohos.wifiManager/wifiManager.removeCandidateConfig
@ohos.wifi.d.ts
Deprecated version changed Class name: wifi;
Method or attribute name: function getLinkedInfo(callback: AsyncCallback<WifiLinkedInfo>): void;
Old version information:
Class name: wifi;
Method or attribute name: function getLinkedInfo(callback: AsyncCallback<WifiLinkedInfo>): void;
New version information: 9
Substitute API: ohos.wifiManager/wifiManager.getLinkedInfo
@ohos.wifi.d.ts
Deprecated version changed Class name: wifi;
Method or attribute name: function getP2pLinkedInfo(callback: AsyncCallback<WifiP2pLinkedInfo>): void;
Old version information:
Class name: wifi;
Method or attribute name: function getP2pLinkedInfo(callback: AsyncCallback<WifiP2pLinkedInfo>): void;
New version information: 9
Substitute API: ohos.wifiManager/wifiManager.getP2pLinkedInfo
@ohos.wifi.d.ts
Deprecated version changed Class name: wifi;
Method or attribute name: function getCurrentGroup(callback: AsyncCallback<WifiP2pGroupInfo>): void;
Old version information:
Class name: wifi;
Method or attribute name: function getCurrentGroup(callback: AsyncCallback<WifiP2pGroupInfo>): void;
New version information: 9
Substitute API: ohos.wifiManager/wifiManager.getCurrentGroup
@ohos.wifi.d.ts
Deprecated version changed Class name: wifi;
Method or attribute name: function getP2pPeerDevices(callback: AsyncCallback<WifiP2pDevice[]>): void;
Old version information:
Class name: wifi;
Method or attribute name: function getP2pPeerDevices(callback: AsyncCallback<WifiP2pDevice[]>): void;
New version information: 9
Substitute API: ohos.wifiManager/wifiManager.getP2pPeerDevices
@ohos.wifi.d.ts
Deprecated version changed Class name: wifiext;
Method or attribute name: function getSupportedPowerModel(callback: AsyncCallback<Array<PowerModel>>): void;
Old version information:
Class name: wifiext;
Method or attribute name: function getSupportedPowerModel(callback: AsyncCallback<Array<PowerModel>>): void;
New version information: 9
Substitute API: ohos.wifiManagerExt/wifiManagerExt.getSupportedPowerMode
@ohos.wifiext.d.ts
Deprecated version changed Class name: wifiext;
Method or attribute name: function getPowerModel(callback: AsyncCallback<PowerModel>): void;
Old version information:
Class name: wifiext;
Method or attribute name: function getPowerModel(callback: AsyncCallback<PowerModel>): void;
New version information: 9
Substitute API: ohos.wifiManagerExt/wifiManagerExt.getPowerMode
@ohos.wifiext.d.ts
Deprecated version changed Class name: wifiManager;
Method or attribute name: function scan(): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function scan(): void;
New version information: 10
Substitute API: wifiManager.startScan
@ohos.wifiManager.d.ts
Deprecated version changed Class name: wifiManager;
Method or attribute name: function getScanResults(): Promise<Array<WifiScanInfo>>;
Old version information:
Class name: wifiManager;
Method or attribute name: function getScanResults(): Promise<Array<WifiScanInfo>>;
New version information: 10
Substitute API: wifiManager.getScanInfoList
@ohos.wifiManager.d.ts
Deprecated version changed Class name: wifiManager;
Method or attribute name: function getScanResults(callback: AsyncCallback<Array<WifiScanInfo>>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getScanResults(callback: AsyncCallback<Array<WifiScanInfo>>): void;
New version information: 10
Substitute API: wifiManager.getScanInfoList
@ohos.wifiManager.d.ts
Deprecated version changed Class name: wifiManager;
Method or attribute name: function getScanResultsSync(): Array<WifiScanInfo>;
Old version information:
Class name: wifiManager;
Method or attribute name: function getScanResultsSync(): Array<WifiScanInfo>;
New version information: 10
Substitute API: wifiManager.getScanInfoList
@ohos.wifiManager.d.ts
Deprecated version changed Class name: wifiManagerExt;
Method or attribute name: function enableHotspot(): void;
Old version information:
Class name: wifiManagerExt;
Method or attribute name: function enableHotspot(): void;
New version information: 10
Substitute API:
@ohos.wifiManagerExt.d.ts
Deprecated version changed Class name: wifiManagerExt;
Method or attribute name: function disableHotspot(): void;
Old version information:
Class name: wifiManagerExt;
Method or attribute name: function disableHotspot(): void;
New version information: 10
Substitute API:
@ohos.wifiManagerExt.d.ts
Deprecated version changed Class name: wifiManagerExt;
Method or attribute name: function setPowerMode(mode: PowerMode): void;
Old version information:
Class name: wifiManagerExt;
Method or attribute name: function setPowerMode(mode: PowerMode): void;
New version information: 10
Substitute API:
@ohos.wifiManagerExt.d.ts
Deprecated version changed Class name: TagSession;
Method or attribute name: sendData(data: number[], callback: AsyncCallback<number[]>): void;
Old version information:
Class name: TagSession;
Method or attribute name: sendData(data: number[], callback: AsyncCallback<number[]>): void;
New version information: 9
Substitute API: tagSession.TagSession#transmit
tagSession.d.ts
Error code added Class name: GattClientDevice;
Method or attribute name: getDeviceName(): Promise<string>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getDeviceName(): Promise<string>;
New version information: 201,401,801,2900001,2900099
@ohos.bluetoothManager.d.ts
Error code added Class name: GattClientDevice;
Method or attribute name: getServices(): Promise<Array<GattService>>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getServices(): Promise<Array<GattService>>;
New version information: 201,401,801,2900001,2900099
@ohos.bluetoothManager.d.ts
Error code added Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>;
New version information: 201,401,801,2900001,2901000,2900099
@ohos.bluetoothManager.d.ts
Error code added Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>;
New version information: 201,401,801,2900001,2901000,2900099
@ohos.bluetoothManager.d.ts
Error code added Class name: GattClientDevice;
Method or attribute name: getRssiValue(): Promise<number>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getRssiValue(): Promise<number>;
New version information: 201,401,801,2900099
@ohos.bluetoothManager.d.ts
Error code added Class name: connectedTag;
Method or attribute name: function read(callback: AsyncCallback<number[]>): void;
Old version information:
Class name: connectedTag;
Method or attribute name: function read(callback: AsyncCallback<number[]>): void;
New version information: 201,801,3200101
@ohos.connectedTag.d.ts
Error code added Class name: connectedTag;
Method or attribute name: function write(data: number[], callback: AsyncCallback<void>): void;
Old version information:
Class name: connectedTag;
Method or attribute name: function write(data: number[], callback: AsyncCallback<void>): void;
New version information: 201,401,801,3200101
@ohos.connectedTag.d.ts
Error code added Class name: connection;
Method or attribute name: function getDefaultNet(): Promise<NetHandle>;
Old version information:
Class name: connection;
Method or attribute name: function getDefaultNet(): Promise<NetHandle>;
New version information: 201,401,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: connection;
Method or attribute name: function getAllNets(): Promise<Array<NetHandle>>;
Old version information:
Class name: connection;
Method or attribute name: function getAllNets(): Promise<Array<NetHandle>>;
New version information: 201,401,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: connection;
Method or attribute name: function getConnectionProperties(netHandle: NetHandle): Promise<ConnectionProperties>;
Old version information:
Class name: connection;
Method or attribute name: function getConnectionProperties(netHandle: NetHandle): Promise<ConnectionProperties>;
New version information: 201,401,2100001,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: connection;
Method or attribute name: function getNetCapabilities(netHandle: NetHandle): Promise<NetCapabilities>;
Old version information:
Class name: connection;
Method or attribute name: function getNetCapabilities(netHandle: NetHandle): Promise<NetCapabilities>;
New version information: 201,401,2100001,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: connection;
Method or attribute name: function isDefaultNetMetered(): Promise<boolean>;
Old version information:
Class name: connection;
Method or attribute name: function isDefaultNetMetered(): Promise<boolean>;
New version information: 201,401,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: connection;
Method or attribute name: function hasDefaultNet(): Promise<boolean>;
Old version information:
Class name: connection;
Method or attribute name: function hasDefaultNet(): Promise<boolean>;
New version information: 201,401,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: connection;
Method or attribute name: function enableAirplaneMode(): Promise<void>;
Old version information:
Class name: connection;
Method or attribute name: function enableAirplaneMode(): Promise<void>;
New version information: 201,202,401,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: connection;
Method or attribute name: function disableAirplaneMode(): Promise<void>;
Old version information:
Class name: connection;
Method or attribute name: function disableAirplaneMode(): Promise<void>;
New version information: 201,202,401,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: connection;
Method or attribute name: function reportNetConnected(netHandle: NetHandle): Promise<void>;
Old version information:
Class name: connection;
Method or attribute name: function reportNetConnected(netHandle: NetHandle): Promise<void>;
New version information: 201,401,2100001,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: connection;
Method or attribute name: function reportNetDisconnected(netHandle: NetHandle): Promise<void>;
Old version information:
Class name: connection;
Method or attribute name: function reportNetDisconnected(netHandle: NetHandle): Promise<void>;
New version information: 201,401,2100001,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: connection;
Method or attribute name: function getAddressesByName(host: string): Promise<Array<NetAddress>>;
Old version information:
Class name: connection;
Method or attribute name: function getAddressesByName(host: string): Promise<Array<NetAddress>>;
New version information: 201,401,2100001,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: NetHandle;
Method or attribute name: bindSocket(socketParam: TCPSocket | UDPSocket): Promise<void>;
Old version information:
Class name: NetHandle;
Method or attribute name: bindSocket(socketParam: TCPSocket | UDPSocket): Promise<void>;
New version information: 401,2100001,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: NetHandle;
Method or attribute name: getAddressesByName(host: string): Promise<Array<NetAddress>>;
Old version information:
Class name: NetHandle;
Method or attribute name: getAddressesByName(host: string): Promise<Array<NetAddress>>;
New version information: 201,401,2100001,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: NetHandle;
Method or attribute name: getAddressByName(host: string): Promise<NetAddress>;
Old version information:
Class name: NetHandle;
Method or attribute name: getAddressByName(host: string): Promise<NetAddress>;
New version information: 201,401,2100001,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string): Promise<InterfaceConfiguration>;
Old version information:
Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string): Promise<InterfaceConfiguration>;
New version information: 201,202,401,2200001,2200002,2200003,2201005
@ohos.net.ethernet.d.ts
Error code added Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise<void>;
Old version information:
Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise<void>;
New version information: 201,202,401,2200001,2200002,2200003,2201004,2201005,2201006,2201007
@ohos.net.ethernet.d.ts
Error code added Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string): Promise<number>;
Old version information:
Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string): Promise<number>;
New version information: 201,202,401,2200001,2200002,2200003,2201005
@ohos.net.ethernet.d.ts
Error code added Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(): Promise<Array<string>>;
Old version information:
Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(): Promise<Array<string>>;
New version information: 201,202,2200002,2200003
@ohos.net.ethernet.d.ts
Error code added Class name: HttpRequest;
Method or attribute name: request(url: string, options: HttpRequestOptions, callback: AsyncCallback<HttpResponse>): void;
Old version information:
Class name: HttpRequest;
Method or attribute name: request(url: string, options: HttpRequestOptions, callback: AsyncCallback<HttpResponse>): void;
New version information: 401,201,2300001,2300003,2300005,2300006,2300007,2300008,2300009,2300016,2300018,2300023,2300025,2300026,2300027,2300028,2300047,2300052,2300055,2300056,2300058,2300059,2300060,2300061,2300063,2300070,2300073,2300077,2300078,2300094,2300999
@ohos.net.http.d.ts
Error code added Class name: HttpRequest;
Method or attribute name: request(url: string, options?: HttpRequestOptions): Promise<HttpResponse>;
Old version information:
Class name: HttpRequest;
Method or attribute name: request(url: string, options?: HttpRequestOptions): Promise<HttpResponse>;
New version information: 401,201,2300001,2300003,2300005,2300006,2300007,2300008,2300009,2300016,2300018,2300023,2300025,2300026,2300027,2300028,2300047,2300052,2300055,2300056,2300058,2300059,2300060,2300061,2300063,2300070,2300073,2300077,2300078,2300094,2300999
@ohos.net.http.d.ts
Error code added Class name: sharing;
Method or attribute name: function isSharingSupported(): Promise<boolean>;
Old version information:
Class name: sharing;
Method or attribute name: function isSharingSupported(): Promise<boolean>;
New version information: 201,202,2200002,2200003,2202011
@ohos.net.sharing.d.ts
Error code added Class name: sharing;
Method or attribute name: function isSharing(): Promise<boolean>;
Old version information:
Class name: sharing;
Method or attribute name: function isSharing(): Promise<boolean>;
New version information: 201,202,2200002,2200003,2202011
@ohos.net.sharing.d.ts
Error code added Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType): Promise<void>;
Old version information:
Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType): Promise<void>;
New version information: 201,202,401,2200001,2200002,2200003,2202004,2202005,2202006,2202009,2202011
@ohos.net.sharing.d.ts
Error code added Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType): Promise<void>;
Old version information:
Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType): Promise<void>;
New version information: 201,202,401,2200001,2200002,2200003,2202004,2202005,2202006,2202011
@ohos.net.sharing.d.ts
Error code added Class name: sharing;
Method or attribute name: function getStatsRxBytes(): Promise<number>;
Old version information:
Class name: sharing;
Method or attribute name: function getStatsRxBytes(): Promise<number>;
New version information: 201,202,401,2200002,2200003
@ohos.net.sharing.d.ts
Error code added Class name: sharing;
Method or attribute name: function getStatsTxBytes(): Promise<number>;
Old version information:
Class name: sharing;
Method or attribute name: function getStatsTxBytes(): Promise<number>;
New version information: 201,202,401,2200002,2200003
@ohos.net.sharing.d.ts
Error code added Class name: sharing;
Method or attribute name: function getStatsTotalBytes(): Promise<number>;
Old version information:
Class name: sharing;
Method or attribute name: function getStatsTotalBytes(): Promise<number>;
New version information: 201,202,401,2200002,2200003
@ohos.net.sharing.d.ts
Error code added Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise<Array<string>>;
Old version information:
Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise<Array<string>>;
New version information: 201,202,401,2200001,2200002,2200003
@ohos.net.sharing.d.ts
Error code added Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType): Promise<SharingIfaceState>;
Old version information:
Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType): Promise<SharingIfaceState>;
New version information: 201,202,401,2200001,2200002,2200003
@ohos.net.sharing.d.ts
Error code added Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise<Array<string>>;
Old version information:
Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise<Array<string>>;
New version information: 201,202,401,2200001,2200002,2200003
@ohos.net.sharing.d.ts
Error code added Class name: UDPSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
Old version information:
Class name: UDPSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
New version information: 401,201
@ohos.net.socket.d.ts
Error code added Class name: TCPSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
New version information: 401,201
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
Old version information:
Class name: TLSSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
New version information: 401,201,2303198,2300002
@ohos.net.socket.d.ts
Error code added Class name: UDPSocket;
Method or attribute name: send(options: UDPSendOptions): Promise<void>;
Old version information:
Class name: UDPSocket;
Method or attribute name: send(options: UDPSendOptions): Promise<void>;
New version information: 401,201
@ohos.net.socket.d.ts
Error code added Class name: UDPSocket;
Method or attribute name: close(): Promise<void>;
Old version information:
Class name: UDPSocket;
Method or attribute name: close(): Promise<void>;
New version information: 201
@ohos.net.socket.d.ts
Error code added Class name: TCPSocket;
Method or attribute name: close(): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: close(): Promise<void>;
New version information: 201
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: close(): Promise<void>;
Old version information:
Class name: TLSSocket;
Method or attribute name: close(): Promise<void>;
New version information: 401,2303501,2303505,2303506,2300002
@ohos.net.socket.d.ts
Error code added Class name: UDPSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
Old version information:
Class name: UDPSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
New version information: 201
@ohos.net.socket.d.ts
Error code added Class name: TCPSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
Old version information:
Class name: TCPSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
New version information: 201
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
New version information: 2303188,2300002
@ohos.net.socket.d.ts
Error code added Class name: UDPSocket;
Method or attribute name: setExtraOptions(options: UDPExtraOptions): Promise<void>;
Old version information:
Class name: UDPSocket;
Method or attribute name: setExtraOptions(options: UDPExtraOptions): Promise<void>;
New version information: 401,201
@ohos.net.socket.d.ts
Error code added Class name: TCPSocket;
Method or attribute name: connect(options: TCPConnectOptions): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: connect(options: TCPConnectOptions): Promise<void>;
New version information: 401,201
@ohos.net.socket.d.ts
Error code added Class name: TCPSocket;
Method or attribute name: send(options: TCPSendOptions): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: send(options: TCPSendOptions): Promise<void>;
New version information: 401,201
@ohos.net.socket.d.ts
Error code added Class name: TCPSocket;
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
Old version information:
Class name: TCPSocket;
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
New version information: 201
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
New version information: 2303188,2300002
@ohos.net.socket.d.ts
Error code added Class name: TCPSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
New version information: 401,201
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
Old version information:
Class name: TLSSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
New version information: 401,2303188,2300002
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: getCertificate(): Promise<X509CertRawData>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getCertificate(): Promise<X509CertRawData>;
New version information: 2303501,2303504,2300002
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: getRemoteCertificate(): Promise<X509CertRawData>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getRemoteCertificate(): Promise<X509CertRawData>;
New version information: 2303501,2300002
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: getProtocol(): Promise<string>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getProtocol(): Promise<string>;
New version information: 2303501,2303505,2300002
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: getCipherSuite(): Promise<Array<string>>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getCipherSuite(): Promise<Array<string>>;
New version information: 2303501,2303502,2303505,2300002
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: getSignatureAlgorithms(): Promise<Array<string>>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getSignatureAlgorithms(): Promise<Array<string>>;
New version information: 2303501,2300002
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: connect(options: TLSConnectOptions): Promise<void>;
Old version information:
Class name: TLSSocket;
Method or attribute name: connect(options: TLSConnectOptions): Promise<void>;
New version information: 401,2303104,2303109,2303111,2303188,2303191,2303198,2303199,2303210,2303501,2303502,2303503,2303505,2303506,2300002
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: send(data: string): Promise<void>;
Old version information:
Class name: TLSSocket;
Method or attribute name: send(data: string): Promise<void>;
New version information: 401,2303501,2303503,2303505,2303506,2300002
@ohos.net.socket.d.ts
Error code added Class name: WebSocket;
Method or attribute name: connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: WebSocket;
Method or attribute name: connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback<boolean>): void;
New version information: 401,201
@ohos.net.webSocket.d.ts
Error code added Class name: WebSocket;
Method or attribute name: connect(url: string, options?: WebSocketRequestOptions): Promise<boolean>;
Old version information:
Class name: WebSocket;
Method or attribute name: connect(url: string, options?: WebSocketRequestOptions): Promise<boolean>;
New version information: 401,201
@ohos.net.webSocket.d.ts
Error code added Class name: WebSocket;
Method or attribute name: send(data: string | ArrayBuffer): Promise<boolean>;
Old version information:
Class name: WebSocket;
Method or attribute name: send(data: string | ArrayBuffer): Promise<boolean>;
New version information: 401,201
@ohos.net.webSocket.d.ts
Error code added Class name: WebSocket;
Method or attribute name: close(options: WebSocketCloseOptions, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: WebSocket;
Method or attribute name: close(options: WebSocketCloseOptions, callback: AsyncCallback<boolean>): void;
New version information: 401,201
@ohos.net.webSocket.d.ts
Error code added Class name: WebSocket;
Method or attribute name: close(options?: WebSocketCloseOptions): Promise<boolean>;
Old version information:
Class name: WebSocket;
Method or attribute name: close(options?: WebSocketCloseOptions): Promise<boolean>;
New version information: 401,201
@ohos.net.webSocket.d.ts
Error code added Class name: HceService;
Method or attribute name: transmit(response: number[], callback: AsyncCallback<void>): void;
Old version information:
Class name: HceService;
Method or attribute name: transmit(response: number[], callback: AsyncCallback<void>): void;
New version information: 201,401,801,3100301
@ohos.nfc.cardEmulation.d.ts
Error code added Class name: wifiManager;
Method or attribute name: function getScanResults(callback: AsyncCallback<Array<WifiScanInfo>>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getScanResults(callback: AsyncCallback<Array<WifiScanInfo>>): void;
New version information: 201,801,2501000
@ohos.wifiManager.d.ts
Error code added Class name: wifiManager;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
New version information: 201,202,401,801,2501000
@ohos.wifiManager.d.ts
Error code added Class name: wifiManager;
Method or attribute name: function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
New version information: 201,401,801,2501000
@ohos.wifiManager.d.ts
Error code added Class name: wifiManager;
Method or attribute name: function removeCandidateConfig(networkId: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function removeCandidateConfig(networkId: number, callback: AsyncCallback<void>): void;
New version information: 201,401,801,2501000
@ohos.wifiManager.d.ts
Error code added Class name: wifiManager;
Method or attribute name: function getLinkedInfo(callback: AsyncCallback<WifiLinkedInfo>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getLinkedInfo(callback: AsyncCallback<WifiLinkedInfo>): void;
New version information: 201,202,801,2501000,2501001
@ohos.wifiManager.d.ts
Error code added Class name: wifiManager;
Method or attribute name: function getP2pLinkedInfo(callback: AsyncCallback<WifiP2pLinkedInfo>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getP2pLinkedInfo(callback: AsyncCallback<WifiP2pLinkedInfo>): void;
New version information: 201,801,2801000
@ohos.wifiManager.d.ts
Error code added Class name: wifiManager;
Method or attribute name: function getCurrentGroup(callback: AsyncCallback<WifiP2pGroupInfo>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getCurrentGroup(callback: AsyncCallback<WifiP2pGroupInfo>): void;
New version information: 201,801,2801000
@ohos.wifiManager.d.ts
Error code added Class name: wifiManager;
Method or attribute name: function getP2pPeerDevices(callback: AsyncCallback<WifiP2pDevice[]>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getP2pPeerDevices(callback: AsyncCallback<WifiP2pDevice[]>): void;
New version information: 201,801,2801000
@ohos.wifiManager.d.ts
Error code added Class name: wifiManager;
Method or attribute name: function getP2pLocalDevice(callback: AsyncCallback<WifiP2pDevice>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getP2pLocalDevice(callback: AsyncCallback<WifiP2pDevice>): void;
New version information: 201,801,2801000
@ohos.wifiManager.d.ts
Error code added Class name: wifiManager;
Method or attribute name: function getP2pGroups(callback: AsyncCallback<Array<WifiP2pGroupInfo>>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getP2pGroups(callback: AsyncCallback<Array<WifiP2pGroupInfo>>): void;
New version information: 201,202,801,2801000
@ohos.wifiManager.d.ts
Error code added Class name: wifiManagerExt;
Method or attribute name: function getSupportedPowerMode(callback: AsyncCallback<Array<PowerMode>>): void;
Old version information:
Class name: wifiManagerExt;
Method or attribute name: function getSupportedPowerMode(callback: AsyncCallback<Array<PowerMode>>): void;
New version information: 201,801,2701000
@ohos.wifiManagerExt.d.ts
Error code added Class name: wifiManagerExt;
Method or attribute name: function getPowerMode(callback: AsyncCallback<PowerMode>): void;
Old version information:
Class name: wifiManagerExt;
Method or attribute name: function getPowerMode(callback: AsyncCallback<PowerMode>): void;
New version information: 201,801,2701000
@ohos.wifiManagerExt.d.ts
Error code added Class name: IsoDepTag;
Method or attribute name: isExtendedApduSupported(callback: AsyncCallback<boolean>): void;
Old version information:
Class name: IsoDepTag;
Method or attribute name: isExtendedApduSupported(callback: AsyncCallback<boolean>): void;
New version information: 201,401,3100201
nfctech.d.ts
Error code added Class name: NdefTag;
Method or attribute name: readNdef(callback: AsyncCallback<NdefMessage>): void;
Old version information:
Class name: NdefTag;
Method or attribute name: readNdef(callback: AsyncCallback<NdefMessage>): void;
New version information: 201,401,3100201
nfctech.d.ts
Error code added Class name: NdefTag;
Method or attribute name: writeNdef(msg: NdefMessage, callback: AsyncCallback<void>): void;
Old version information:
Class name: NdefTag;
Method or attribute name: writeNdef(msg: NdefMessage, callback: AsyncCallback<void>): void;
New version information: 201,401,3100201
nfctech.d.ts
Error code added Class name: NdefTag;
Method or attribute name: setReadOnly(callback: AsyncCallback<void>): void;
Old version information:
Class name: NdefTag;
Method or attribute name: setReadOnly(callback: AsyncCallback<void>): void;
New version information: 201,401,3100201
nfctech.d.ts
Error code added Class name: MifareClassicTag;
Method or attribute name: authenticateSector(sectorIndex: number, key: number[], isKeyA: boolean, callback: AsyncCallback<void>): void;
Old version information:
Class name: MifareClassicTag;
Method or attribute name: authenticateSector(sectorIndex: number, key: number[], isKeyA: boolean, callback: AsyncCallback<void>): void;
New version information: 201,401,3100201
nfctech.d.ts
Error code added Class name: MifareClassicTag;
Method or attribute name: readSingleBlock(blockIndex: number, callback: AsyncCallback<number[]>): void;
Old version information:
Class name: MifareClassicTag;
Method or attribute name: readSingleBlock(blockIndex: number, callback: AsyncCallback<number[]>): void;
New version information: 201,401,3100201
nfctech.d.ts
Error code added Class name: MifareClassicTag;
Method or attribute name: writeSingleBlock(blockIndex: number, data: number[], callback: AsyncCallback<void>): void;
Old version information:
Class name: MifareClassicTag;
Method or attribute name: writeSingleBlock(blockIndex: number, data: number[], callback: AsyncCallback<void>): void;
New version information: 201,401,3100201
nfctech.d.ts
Error code added Class name: MifareClassicTag;
Method or attribute name: incrementBlock(blockIndex: number, value: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: MifareClassicTag;
Method or attribute name: incrementBlock(blockIndex: number, value: number, callback: AsyncCallback<void>): void;
New version information: 201,401,3100201
nfctech.d.ts
Error code added Class name: MifareClassicTag;
Method or attribute name: decrementBlock(blockIndex: number, value: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: MifareClassicTag;
Method or attribute name: decrementBlock(blockIndex: number, value: number, callback: AsyncCallback<void>): void;
New version information: 201,401,3100201
nfctech.d.ts
Error code added Class name: MifareClassicTag;
Method or attribute name: transferToBlock(blockIndex: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: MifareClassicTag;
Method or attribute name: transferToBlock(blockIndex: number, callback: AsyncCallback<void>): void;
New version information: 201,401,3100201
nfctech.d.ts
Error code added Class name: MifareClassicTag;
Method or attribute name: restoreFromBlock(blockIndex: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: MifareClassicTag;
Method or attribute name: restoreFromBlock(blockIndex: number, callback: AsyncCallback<void>): void;
New version information: 201,401,3100201
nfctech.d.ts
Error code added Class name: MifareUltralightTag;
Method or attribute name: readMultiplePages(pageIndex: number, callback: AsyncCallback<number[]>): void;
Old version information:
Class name: MifareUltralightTag;
Method or attribute name: readMultiplePages(pageIndex: number, callback: AsyncCallback<number[]>): void;
New version information: 201,401,3100201
nfctech.d.ts
Error code added Class name: MifareUltralightTag;
Method or attribute name: writeSinglePage(pageIndex: number, data: number[], callback: AsyncCallback<void>): void;
Old version information:
Class name: MifareUltralightTag;
Method or attribute name: writeSinglePage(pageIndex: number, data: number[], callback: AsyncCallback<void>): void;
New version information: 201,401,3100201
nfctech.d.ts
Error code added Class name: NdefFormatableTag;
Method or attribute name: format(message: NdefMessage, callback: AsyncCallback<void>): void;
Old version information:
Class name: NdefFormatableTag;
Method or attribute name: format(message: NdefMessage, callback: AsyncCallback<void>): void;
New version information: 201,401,3100201
nfctech.d.ts
Error code added Class name: NdefFormatableTag;
Method or attribute name: formatReadOnly(message: NdefMessage, callback: AsyncCallback<void>): void;
Old version information:
Class name: NdefFormatableTag;
Method or attribute name: formatReadOnly(message: NdefMessage, callback: AsyncCallback<void>): void;
New version information: 201,401,3100201
nfctech.d.ts
Error code added Class name: TagSession;
Method or attribute name: transmit(data: number[], callback: AsyncCallback<number[]>): void;
Old version information:
Class name: TagSession;
Method or attribute name: transmit(data: number[], callback: AsyncCallback<number[]>): void;
New version information: 201,401,801,3100201
tagSession.d.ts
Error code changed Class name: connection;
Method or attribute name: function getDefaultNet(callback: AsyncCallback<NetHandle>): void;
Old version information: 201,2100002,2100003
Class name: connection;
Method or attribute name: function getDefaultNet(callback: AsyncCallback<NetHandle>): void;
New version information: 201,401,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: connection;
Method or attribute name: function getDefaultNetSync(): NetHandle;
Old version information: 201,2100002,2100003
Class name: connection;
Method or attribute name: function getDefaultNetSync(): NetHandle;
New version information: 201,401,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: connection;
Method or attribute name: function getAllNets(callback: AsyncCallback<Array<NetHandle>>): void;
Old version information: 201,2100002,2100003
Class name: connection;
Method or attribute name: function getAllNets(callback: AsyncCallback<Array<NetHandle>>): void;
New version information: 201,401,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: connection;
Method or attribute name: function isDefaultNetMetered(callback: AsyncCallback<boolean>): void;
Old version information: 201,2100002,2100003
Class name: connection;
Method or attribute name: function isDefaultNetMetered(callback: AsyncCallback<boolean>): void;
New version information: 201,401,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: connection;
Method or attribute name: function hasDefaultNet(callback: AsyncCallback<boolean>): void;
Old version information: 201,2100002,2100003
Class name: connection;
Method or attribute name: function hasDefaultNet(callback: AsyncCallback<boolean>): void;
New version information: 201,401,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: connection;
Method or attribute name: function enableAirplaneMode(callback: AsyncCallback<void>): void;
Old version information: 201,2100002,2100003
Class name: connection;
Method or attribute name: function enableAirplaneMode(callback: AsyncCallback<void>): void;
New version information: 201,202,401,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: connection;
Method or attribute name: function disableAirplaneMode(callback: AsyncCallback<void>): void;
Old version information: 201,2100002,2100003
Class name: connection;
Method or attribute name: function disableAirplaneMode(callback: AsyncCallback<void>): void;
New version information: 201,202,401,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: connection;
Method or attribute name: function getAppNet(callback: AsyncCallback<NetHandle>): void;
Old version information: 2100002,2100003
Class name: connection;
Method or attribute name: function getAppNet(callback: AsyncCallback<NetHandle>): void;
New version information: 401,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: connection;
Method or attribute name: function getAppNet(): Promise<NetHandle>;
Old version information: 2100002,2100003
Class name: connection;
Method or attribute name: function getAppNet(): Promise<NetHandle>;
New version information: 401,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: NetConnection;
Method or attribute name: register(callback: AsyncCallback<void>): void;
Old version information: 201,2100002,2100003,2101008,2101022
Class name: NetConnection;
Method or attribute name: register(callback: AsyncCallback<void>): void;
New version information: 201,401,2100002,2100003,2101008,2101022
@ohos.net.connection.d.ts
Error code changed Class name: NetConnection;
Method or attribute name: unregister(callback: AsyncCallback<void>): void;
Old version information: 2100002,2100003,2101007
Class name: NetConnection;
Method or attribute name: unregister(callback: AsyncCallback<void>): void;
New version information: 201,401,2100002,2100003,2101007
@ohos.net.connection.d.ts
Error code changed Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string, callback: AsyncCallback<InterfaceConfiguration>): void;
Old version information: 201,401,2200001,2200002,2200003,2201005
Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string, callback: AsyncCallback<InterfaceConfiguration>): void;
New version information: 201,202,401,2200001,2200002,2200003,2201005
@ohos.net.ethernet.d.ts
Error code changed Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration, callback: AsyncCallback<void>): void;
Old version information: 201,401,2200001,2200002,2200003,2201004,2201005,2201006,2201007
Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration, callback: AsyncCallback<void>): void;
New version information: 201,202,401,2200001,2200002,2200003,2201004,2201005,2201006,2201007
@ohos.net.ethernet.d.ts
Error code changed Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string, callback: AsyncCallback<number>): void;
Old version information: 201,401,2200001,2200002,2200003,2201005
Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string, callback: AsyncCallback<number>): void;
New version information: 201,202,401,2200001,2200002,2200003,2201005
@ohos.net.ethernet.d.ts
Error code changed Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(callback: AsyncCallback<Array<string>>): void;
Old version information: 201,2200002,2200003
Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(callback: AsyncCallback<Array<string>>): void;
New version information: 201,202,2200002,2200003
@ohos.net.ethernet.d.ts
Error code changed Class name: sharing;
Method or attribute name: function isSharingSupported(callback: AsyncCallback<boolean>): void;
Old version information: 201,2200002,2200003,2202011
Class name: sharing;
Method or attribute name: function isSharingSupported(callback: AsyncCallback<boolean>): void;
New version information: 201,202,2200002,2200003,2202011
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function isSharing(callback: AsyncCallback<boolean>): void;
Old version information: 201,2200002,2200003,2202011
Class name: sharing;
Method or attribute name: function isSharing(callback: AsyncCallback<boolean>): void;
New version information: 201,202,2200002,2200003,2202011
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType, callback: AsyncCallback<void>): void;
Old version information: 201,401,2200001,2200002,2200003,2202004,2202005,2202006,2202009,2202011
Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType, callback: AsyncCallback<void>): void;
New version information: 201,202,401,2200001,2200002,2200003,2202004,2202005,2202006,2202009,2202011
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType, callback: AsyncCallback<void>): void;
Old version information: 201,401,2200001,2200002,2200003,2202004,2202005,2202006,2202011
Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType, callback: AsyncCallback<void>): void;
New version information: 201,202,401,2200001,2200002,2200003,2202004,2202005,2202006,2202011
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function getStatsRxBytes(callback: AsyncCallback<number>): void;
Old version information: 201,2200002,2200003
Class name: sharing;
Method or attribute name: function getStatsRxBytes(callback: AsyncCallback<number>): void;
New version information: 201,202,401,2200002,2200003
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function getStatsTxBytes(callback: AsyncCallback<number>): void;
Old version information: 201,2200002,2200003
Class name: sharing;
Method or attribute name: function getStatsTxBytes(callback: AsyncCallback<number>): void;
New version information: 201,202,401,2200002,2200003
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function getStatsTotalBytes(callback: AsyncCallback<number>): void;
Old version information: 201,2200002,2200003
Class name: sharing;
Method or attribute name: function getStatsTotalBytes(callback: AsyncCallback<number>): void;
New version information: 201,202,401,2200002,2200003
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState, callback: AsyncCallback<Array<string>>): void;
Old version information: 201,401,2200001,2200002,2200003
Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState, callback: AsyncCallback<Array<string>>): void;
New version information: 201,202,401,2200001,2200002,2200003
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType, callback: AsyncCallback<SharingIfaceState>): void;
Old version information: 201,401,2200001,2200002,2200003
Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType, callback: AsyncCallback<SharingIfaceState>): void;
New version information: 201,202,401,2200001,2200002,2200003
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType, callback: AsyncCallback<Array<string>>): void;
Old version information: 201,401,2200001,2200002,2200003
Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType, callback: AsyncCallback<Array<string>>): void;
New version information: 201,202,401,2200001,2200002,2200003
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function on(type: 'sharingStateChange', callback: Callback<boolean>): void;
Old version information: 201,401
Class name: sharing;
Method or attribute name: function on(type: 'sharingStateChange', callback: Callback<boolean>): void;
New version information: 201,202,401
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function on(type: 'interfaceSharingStateChange', callback: Callback<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;
Old version information: 201,401
Class name: sharing;
Method or attribute name: function on(type: 'interfaceSharingStateChange', callback: Callback<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;
New version information: 201,202,401
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function on(type: 'sharingUpstreamChange', callback: Callback<NetHandle>): void;
Old version information: 201,401
Class name: sharing;
Method or attribute name: function on(type: 'sharingUpstreamChange', callback: Callback<NetHandle>): void;
New version information: 201,202,401
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function off(type: 'sharingStateChange', callback?: Callback<boolean>): void;
Old version information: 201,401
Class name: sharing;
Method or attribute name: function off(type: 'sharingStateChange', callback?: Callback<boolean>): void;
New version information: 201,202,401
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function off(type: 'interfaceSharingStateChange', callback?: Callback<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;
Old version information: 201,401
Class name: sharing;
Method or attribute name: function off(type: 'interfaceSharingStateChange', callback?: Callback<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;
New version information: 201,202,401
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function off(type: 'sharingUpstreamChange', callback?: Callback<NetHandle>): void;
Old version information: 201,401
Class name: sharing;
Method or attribute name: function off(type: 'sharingUpstreamChange', callback?: Callback<NetHandle>): void;
New version information: 201,202,401
@ohos.net.sharing.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: readException(): void;
Old version information: Throws
Class name: MessageParcel;
Method or attribute name: readException(): void;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: writeByte(val: number): boolean;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: writeByte(val: number): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: writeShort(val: number): boolean;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: writeShort(val: number): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: writeInt(val: number): boolean;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: writeInt(val: number): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: writeLong(val: number): boolean;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: writeLong(val: number): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: writeFloat(val: number): boolean;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: writeFloat(val: number): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: writeDouble(val: number): boolean;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: writeDouble(val: number): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: writeBoolean(val: boolean): boolean;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: writeBoolean(val: boolean): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: writeChar(val: number): boolean;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: writeChar(val: number): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: writeString(val: string): boolean;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: writeString(val: string): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: writeSequenceable(val: Sequenceable): boolean;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: writeSequenceable(val: Sequenceable): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: writeByteArray(byteArray: number[]): boolean;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: writeByteArray(byteArray: number[]): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: writeShortArray(shortArray: number[]): boolean;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: writeShortArray(shortArray: number[]): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: writeIntArray(intArray: number[]): boolean;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: writeIntArray(intArray: number[]): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: writeLongArray(longArray: number[]): boolean;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: writeLongArray(longArray: number[]): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: writeFloatArray(floatArray: number[]): boolean;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: writeFloatArray(floatArray: number[]): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: writeDoubleArray(doubleArray: number[]): boolean;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: writeDoubleArray(doubleArray: number[]): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: writeBooleanArray(booleanArray: boolean[]): boolean;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: writeBooleanArray(booleanArray: boolean[]): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: writeCharArray(charArray: number[]): boolean;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: writeCharArray(charArray: number[]): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: writeStringArray(stringArray: string[]): boolean;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: writeStringArray(stringArray: string[]): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: writeSequenceableArray(sequenceableArray: Sequenceable[]): boolean;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: writeSequenceableArray(sequenceableArray: Sequenceable[]): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: readByteArray(dataIn: number[]): void;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: readByteArray(dataIn: number[]): void;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: readIntArray(dataIn: number[]): void;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: readIntArray(dataIn: number[]): void;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: readLongArray(dataIn: number[]): void;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: readLongArray(dataIn: number[]): void;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: readFloatArray(dataIn: number[]): void;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: readFloatArray(dataIn: number[]): void;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: readDoubleArray(dataIn: number[]): void;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: readDoubleArray(dataIn: number[]): void;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: readBooleanArray(dataIn: boolean[]): void;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: readBooleanArray(dataIn: boolean[]): void;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: readCharArray(dataIn: number[]): void;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: readCharArray(dataIn: number[]): void;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageParcel;
Method or attribute name: readStringArray(dataIn: string[]): void;
Old version information: ParcelException
Class name: MessageParcel;
Method or attribute name: readStringArray(dataIn: string[]): void;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: MessageSequence;
Method or attribute name: readStringArray(dataIn: string[]): void;
Old version information: ParcelException,401, 1900010
Class name: MessageSequence;
Method or attribute name: readStringArray(dataIn: string[]): void;
New version information: 401, 1900010
@ohos.rpc.d.ts
Error code changed Class name: Sequenceable;
Method or attribute name: marshalling(dataOut: MessageParcel): boolean;
Old version information: ParcelException
Class name: Sequenceable;
Method or attribute name: marshalling(dataOut: MessageParcel): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: Sequenceable;
Method or attribute name: unmarshalling(dataIn: MessageParcel): boolean;
Old version information: ParcelException
Class name: Sequenceable;
Method or attribute name: unmarshalling(dataIn: MessageParcel): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: Parcelable;
Method or attribute name: marshalling(dataOut: MessageSequence): boolean;
Old version information: ParcelException
Class name: Parcelable;
Method or attribute name: marshalling(dataOut: MessageSequence): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: Parcelable;
Method or attribute name: unmarshalling(dataIn: MessageSequence): boolean;
Old version information: ParcelException
Class name: Parcelable;
Method or attribute name: unmarshalling(dataIn: MessageSequence): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: IRemoteObject;
Method or attribute name: sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean;
Old version information: RemoteException
Class name: IRemoteObject;
Method or attribute name: sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: RemoteProxy;
Method or attribute name: sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean;
Old version information: RemoteException
Class name: RemoteProxy;
Method or attribute name: sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: IRemoteObject;
Method or attribute name: sendRequest(

code: number,

data: MessageParcel,

reply: MessageParcel,

options: MessageOption

): Promise<SendRequestResult>;
Old version information: Throws
Class name: IRemoteObject;
Method or attribute name: sendRequest(

code: number,

data: MessageParcel,

reply: MessageParcel,

options: MessageOption

): Promise<SendRequestResult>;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: RemoteObject;
Method or attribute name: sendRequest(

code: number,

data: MessageParcel,

reply: MessageParcel,

options: MessageOption

): Promise<SendRequestResult>;
Old version information: Throws
Class name: RemoteObject;
Method or attribute name: sendRequest(

code: number,

data: MessageParcel,

reply: MessageParcel,

options: MessageOption

): Promise<SendRequestResult>;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: RemoteProxy;
Method or attribute name: sendRequest(

code: number,

data: MessageParcel,

reply: MessageParcel,

options: MessageOption

): Promise<SendRequestResult>;
Old version information: Throws
Class name: RemoteProxy;
Method or attribute name: sendRequest(

code: number,

data: MessageParcel,

reply: MessageParcel,

options: MessageOption

): Promise<SendRequestResult>;
New version information:
@ohos.rpc.d.ts
Error code changed Class name: RemoteObject;
Method or attribute name: onRemoteRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean;
Old version information: RemoteException
Class name: RemoteObject;
Method or attribute name: onRemoteRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean;
New version information:
@ohos.rpc.d.ts
Access level changed Class name: connection;
Method or attribute name: function enableAirplaneMode(): Promise<void>;
Old version information:
Class name: connection;
Method or attribute name: function enableAirplaneMode(): Promise<void>;
New version information: systemapi
@ohos.net.connection.d.ts
Access level changed Class name: connection;
Method or attribute name: function disableAirplaneMode(): Promise<void>;
Old version information:
Class name: connection;
Method or attribute name: function disableAirplaneMode(): Promise<void>;
New version information: systemapi
@ohos.net.connection.d.ts
Access level changed Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string): Promise<InterfaceConfiguration>;
Old version information:
Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string): Promise<InterfaceConfiguration>;
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise<void>;
Old version information:
Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise<void>;
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string): Promise<number>;
Old version information:
Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string): Promise<number>;
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(): Promise<Array<string>>;
Old version information:
Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(): Promise<Array<string>>;
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: InterfaceConfiguration;
Method or attribute name: mode: IPSetMode;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: mode: IPSetMode;
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: InterfaceConfiguration;
Method or attribute name: ipAddr: string;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: ipAddr: string;
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: InterfaceConfiguration;
Method or attribute name: route: string;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: route: string;
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: InterfaceConfiguration;
Method or attribute name: gateway: string;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: gateway: string;
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: InterfaceConfiguration;
Method or attribute name: netMask: string;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: netMask: string;
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: InterfaceConfiguration;
Method or attribute name: dnsServers: string;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: dnsServers: string;
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: IPSetMode;
Method or attribute name: STATIC = 0
Old version information:
Class name: IPSetMode;
Method or attribute name: STATIC = 0
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: IPSetMode;
Method or attribute name: DHCP = 1
Old version information:
Class name: IPSetMode;
Method or attribute name: DHCP = 1
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: sharing;
Method or attribute name: function isSharingSupported(): Promise<boolean>;
Old version information:
Class name: sharing;
Method or attribute name: function isSharingSupported(): Promise<boolean>;
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: sharing;
Method or attribute name: function isSharing(): Promise<boolean>;
Old version information:
Class name: sharing;
Method or attribute name: function isSharing(): Promise<boolean>;
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType): Promise<void>;
Old version information:
Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType): Promise<void>;
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType): Promise<void>;
Old version information:
Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType): Promise<void>;
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: sharing;
Method or attribute name: function getStatsRxBytes(): Promise<number>;
Old version information:
Class name: sharing;
Method or attribute name: function getStatsRxBytes(): Promise<number>;
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: sharing;
Method or attribute name: function getStatsTxBytes(): Promise<number>;
Old version information:
Class name: sharing;
Method or attribute name: function getStatsTxBytes(): Promise<number>;
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: sharing;
Method or attribute name: function getStatsTotalBytes(): Promise<number>;
Old version information:
Class name: sharing;
Method or attribute name: function getStatsTotalBytes(): Promise<number>;
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise<Array<string>>;
Old version information:
Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise<Array<string>>;
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType): Promise<SharingIfaceState>;
Old version information:
Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType): Promise<SharingIfaceState>;
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise<Array<string>>;
Old version information:
Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise<Array<string>>;
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: SharingIfaceState;
Method or attribute name: SHARING_NIC_SERVING = 1
Old version information:
Class name: SharingIfaceState;
Method or attribute name: SHARING_NIC_SERVING = 1
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: SharingIfaceState;
Method or attribute name: SHARING_NIC_CAN_SERVER = 2
Old version information:
Class name: SharingIfaceState;
Method or attribute name: SHARING_NIC_CAN_SERVER = 2
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: SharingIfaceState;
Method or attribute name: SHARING_NIC_ERROR = 3
Old version information:
Class name: SharingIfaceState;
Method or attribute name: SHARING_NIC_ERROR = 3
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: SharingIfaceType;
Method or attribute name: SHARING_WIFI = 0
Old version information:
Class name: SharingIfaceType;
Method or attribute name: SHARING_WIFI = 0
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: SharingIfaceType;
Method or attribute name: SHARING_USB = 1
Old version information:
Class name: SharingIfaceType;
Method or attribute name: SHARING_USB = 1
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: SharingIfaceType;
Method or attribute name: SHARING_BLUETOOTH = 2
Old version information:
Class name: SharingIfaceType;
Method or attribute name: SHARING_BLUETOOTH = 2
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: wifi;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
Old version information:
Class name: wifi;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: HotspotConfig;
Method or attribute name: ssid: string;
Old version information:
Class name: HotspotConfig;
Method or attribute name: ssid: string;
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: HotspotConfig;
Method or attribute name: securityType: WifiSecurityType;
Old version information:
Class name: HotspotConfig;
Method or attribute name: securityType: WifiSecurityType;
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: HotspotConfig;
Method or attribute name: band: number;
Old version information:
Class name: HotspotConfig;
Method or attribute name: band: number;
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: HotspotConfig;
Method or attribute name: preSharedKey: string;
Old version information:
Class name: HotspotConfig;
Method or attribute name: preSharedKey: string;
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: HotspotConfig;
Method or attribute name: maxConn: number;
Old version information:
Class name: HotspotConfig;
Method or attribute name: maxConn: number;
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: StationInfo;
Method or attribute name: name: string;
Old version information:
Class name: StationInfo;
Method or attribute name: name: string;
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: StationInfo;
Method or attribute name: macAddress: string;
Old version information:
Class name: StationInfo;
Method or attribute name: macAddress: string;
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: StationInfo;
Method or attribute name: ipAddress: string;
Old version information:
Class name: StationInfo;
Method or attribute name: ipAddress: string;
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: IpType;
Method or attribute name: STATIC
Old version information:
Class name: IpType;
Method or attribute name: STATIC
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: IpType;
Method or attribute name: DHCP
Old version information:
Class name: IpType;
Method or attribute name: DHCP
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: IpType;
Method or attribute name: UNKNOWN
Old version information:
Class name: IpType;
Method or attribute name: UNKNOWN
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: SuppState;
Method or attribute name: DISCONNECTED
Old version information:
Class name: SuppState;
Method or attribute name: DISCONNECTED
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: SuppState;
Method or attribute name: INTERFACE_DISABLED
Old version information:
Class name: SuppState;
Method or attribute name: INTERFACE_DISABLED
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: SuppState;
Method or attribute name: INACTIVE
Old version information:
Class name: SuppState;
Method or attribute name: INACTIVE
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: SuppState;
Method or attribute name: SCANNING
Old version information:
Class name: SuppState;
Method or attribute name: SCANNING
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: SuppState;
Method or attribute name: AUTHENTICATING
Old version information:
Class name: SuppState;
Method or attribute name: AUTHENTICATING
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: SuppState;
Method or attribute name: ASSOCIATING
Old version information:
Class name: SuppState;
Method or attribute name: ASSOCIATING
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: SuppState;
Method or attribute name: ASSOCIATED
Old version information:
Class name: SuppState;
Method or attribute name: ASSOCIATED
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: SuppState;
Method or attribute name: FOUR_WAY_HANDSHAKE
Old version information:
Class name: SuppState;
Method or attribute name: FOUR_WAY_HANDSHAKE
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: SuppState;
Method or attribute name: GROUP_HANDSHAKE
Old version information:
Class name: SuppState;
Method or attribute name: GROUP_HANDSHAKE
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: SuppState;
Method or attribute name: COMPLETED
Old version information:
Class name: SuppState;
Method or attribute name: COMPLETED
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: SuppState;
Method or attribute name: UNINITIALIZED
Old version information:
Class name: SuppState;
Method or attribute name: UNINITIALIZED
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: SuppState;
Method or attribute name: INVALID
Old version information:
Class name: SuppState;
Method or attribute name: INVALID
New version information: systemapi
@ohos.wifi.d.ts
Access level changed Class name: wifiManager;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: wifiManager;
Method or attribute name: function getP2pGroups(callback: AsyncCallback<Array<WifiP2pGroupInfo>>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getP2pGroups(callback: AsyncCallback<Array<WifiP2pGroupInfo>>): void;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: EapMethod;
Method or attribute name: enum EapMethod
Old version information: systemapi
Class name: EapMethod;
Method or attribute name: enum EapMethod
New version information:
@ohos.wifiManager.d.ts
Access level changed Class name: Phase2Method;
Method or attribute name: enum Phase2Method
Old version information: systemapi
Class name: Phase2Method;
Method or attribute name: enum Phase2Method
New version information:
@ohos.wifiManager.d.ts
Access level changed Class name: WifiEapConfig;
Method or attribute name: interface WifiEapConfig
Old version information: systemapi
Class name: WifiEapConfig;
Method or attribute name: interface WifiEapConfig
New version information:
@ohos.wifiManager.d.ts
Access level changed Class name: WifiDeviceConfig;
Method or attribute name: creatorUid?: number;
Old version information:
Class name: WifiDeviceConfig;
Method or attribute name: creatorUid?: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiDeviceConfig;
Method or attribute name: disableReason?: number;
Old version information:
Class name: WifiDeviceConfig;
Method or attribute name: disableReason?: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiDeviceConfig;
Method or attribute name: netId?: number;
Old version information:
Class name: WifiDeviceConfig;
Method or attribute name: netId?: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiDeviceConfig;
Method or attribute name: randomMacType?: number;
Old version information:
Class name: WifiDeviceConfig;
Method or attribute name: randomMacType?: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiDeviceConfig;
Method or attribute name: randomMacAddr?: string;
Old version information:
Class name: WifiDeviceConfig;
Method or attribute name: randomMacAddr?: string;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiDeviceConfig;
Method or attribute name: ipType?: IpType;
Old version information:
Class name: WifiDeviceConfig;
Method or attribute name: ipType?: IpType;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiDeviceConfig;
Method or attribute name: staticIp?: IpConfig;
Old version information:
Class name: WifiDeviceConfig;
Method or attribute name: staticIp?: IpConfig;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiDeviceConfig;
Method or attribute name: eapConfig?: WifiEapConfig;
Old version information: systemapi
Class name: WifiDeviceConfig;
Method or attribute name: eapConfig?: WifiEapConfig;
New version information:
@ohos.wifiManager.d.ts
Access level changed Class name: IpConfig;
Method or attribute name: ipAddress: number;
Old version information:
Class name: IpConfig;
Method or attribute name: ipAddress: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: IpConfig;
Method or attribute name: gateway: number;
Old version information:
Class name: IpConfig;
Method or attribute name: gateway: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: IpConfig;
Method or attribute name: prefixLength: number;
Old version information:
Class name: IpConfig;
Method or attribute name: prefixLength: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: IpConfig;
Method or attribute name: dnsServers: number[];
Old version information:
Class name: IpConfig;
Method or attribute name: dnsServers: number[];
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: IpConfig;
Method or attribute name: domains: Array<string>;
Old version information:
Class name: IpConfig;
Method or attribute name: domains: Array<string>;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiLinkedInfo;
Method or attribute name: networkId: number;
Old version information:
Class name: WifiLinkedInfo;
Method or attribute name: networkId: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiLinkedInfo;
Method or attribute name: chload: number;
Old version information:
Class name: WifiLinkedInfo;
Method or attribute name: chload: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiLinkedInfo;
Method or attribute name: snr: number;
Old version information:
Class name: WifiLinkedInfo;
Method or attribute name: snr: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiLinkedInfo;
Method or attribute name: suppState: SuppState;
Old version information:
Class name: WifiLinkedInfo;
Method or attribute name: suppState: SuppState;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: HotspotConfig;
Method or attribute name: ssid: string;
Old version information:
Class name: HotspotConfig;
Method or attribute name: ssid: string;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: HotspotConfig;
Method or attribute name: securityType: WifiSecurityType;
Old version information:
Class name: HotspotConfig;
Method or attribute name: securityType: WifiSecurityType;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: HotspotConfig;
Method or attribute name: band: number;
Old version information:
Class name: HotspotConfig;
Method or attribute name: band: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: HotspotConfig;
Method or attribute name: preSharedKey: string;
Old version information:
Class name: HotspotConfig;
Method or attribute name: preSharedKey: string;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: HotspotConfig;
Method or attribute name: maxConn: number;
Old version information:
Class name: HotspotConfig;
Method or attribute name: maxConn: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: StationInfo;
Method or attribute name: name: string;
Old version information:
Class name: StationInfo;
Method or attribute name: name: string;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: StationInfo;
Method or attribute name: macAddress: string;
Old version information:
Class name: StationInfo;
Method or attribute name: macAddress: string;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: StationInfo;
Method or attribute name: ipAddress: string;
Old version information:
Class name: StationInfo;
Method or attribute name: ipAddress: string;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: IpType;
Method or attribute name: STATIC
Old version information:
Class name: IpType;
Method or attribute name: STATIC
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: IpType;
Method or attribute name: DHCP
Old version information:
Class name: IpType;
Method or attribute name: DHCP
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: IpType;
Method or attribute name: UNKNOWN
Old version information:
Class name: IpType;
Method or attribute name: UNKNOWN
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: DISCONNECTED
Old version information:
Class name: SuppState;
Method or attribute name: DISCONNECTED
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: INTERFACE_DISABLED
Old version information:
Class name: SuppState;
Method or attribute name: INTERFACE_DISABLED
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: INACTIVE
Old version information:
Class name: SuppState;
Method or attribute name: INACTIVE
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: SCANNING
Old version information:
Class name: SuppState;
Method or attribute name: SCANNING
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: AUTHENTICATING
Old version information:
Class name: SuppState;
Method or attribute name: AUTHENTICATING
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: ASSOCIATING
Old version information:
Class name: SuppState;
Method or attribute name: ASSOCIATING
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: ASSOCIATED
Old version information:
Class name: SuppState;
Method or attribute name: ASSOCIATED
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: FOUR_WAY_HANDSHAKE
Old version information:
Class name: SuppState;
Method or attribute name: FOUR_WAY_HANDSHAKE
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: GROUP_HANDSHAKE
Old version information:
Class name: SuppState;
Method or attribute name: GROUP_HANDSHAKE
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: COMPLETED
Old version information:
Class name: SuppState;
Method or attribute name: COMPLETED
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: UNINITIALIZED
Old version information:
Class name: SuppState;
Method or attribute name: UNINITIALIZED
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: INVALID
Old version information:
Class name: SuppState;
Method or attribute name: INVALID
New version information: systemapi
@ohos.wifiManager.d.ts
Permission changed Class name: GattServer;
Method or attribute name: on(type: 'descriptorWrite', callback: Callback<DescriptorWriteReq>): void;
Old version information: ohos.permission.USE_BLUETOOTH,ohos.permission.USE_BLUETOOTH
Class name: GattServer;
Method or attribute name: on(type: 'descriptorWrite', callback: Callback<DescriptorWriteReq>): void;
New version information: ohos.permission.USE_BLUETOOTH
@ohos.bluetooth.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: getDeviceName(): Promise<string>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getDeviceName(): Promise<string>;
New version information: ohos.permission.USE_BLUETOOTH
@ohos.bluetooth.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: getServices(): Promise<Array<GattService>>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getServices(): Promise<Array<GattService>>;
New version information: ohos.permission.USE_BLUETOOTH
@ohos.bluetooth.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>;
New version information: ohos.permission.USE_BLUETOOTH
@ohos.bluetooth.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>;
New version information: ohos.permission.USE_BLUETOOTH
@ohos.bluetooth.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: getRssiValue(): Promise<number>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getRssiValue(): Promise<number>;
New version information: ohos.permission.USE_BLUETOOTH
@ohos.bluetooth.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function getState(): BluetoothState;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function getState(): BluetoothState;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function getBtConnectionState(): ProfileConnectionState;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function getBtConnectionState(): ProfileConnectionState;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function pairDevice(deviceId: string): void;
Old version information: ohos.permission.DISCOVER_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function pairDevice(deviceId: string): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function cancelPairedDevice(deviceId: string): void;
Old version information: ohos.permission.DISCOVER_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function cancelPairedDevice(deviceId: string): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function getRemoteDeviceName(deviceId: string): string;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function getRemoteDeviceName(deviceId: string): string;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function getRemoteDeviceClass(deviceId: string): DeviceClass;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function getRemoteDeviceClass(deviceId: string): DeviceClass;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function enableBluetooth(): void;
Old version information: ohos.permission.DISCOVER_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function enableBluetooth(): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function disableBluetooth(): void;
Old version information: ohos.permission.DISCOVER_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function disableBluetooth(): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function getLocalName(): string;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function getLocalName(): string;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function getPairedDevices(): Array<string>;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function getPairedDevices(): Array<string>;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function getProfileConnectionState(profileId: ProfileId): ProfileConnectionState;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function getProfileConnectionState(profileId: ProfileId): ProfileConnectionState;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function setDevicePairingConfirmation(device: string, accept: boolean): void;
Old version information: ohos.permission.MANAGE_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function setDevicePairingConfirmation(device: string, accept: boolean): void;
New version information: ohos.permission.ACCESS_BLUETOOTH,ohos.permission.MANAGE_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function setLocalName(name: string): void;
Old version information: ohos.permission.DISCOVER_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function setLocalName(name: string): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function setBluetoothScanMode(mode: ScanMode, duration: number): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function setBluetoothScanMode(mode: ScanMode, duration: number): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function getBluetoothScanMode(): ScanMode;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function getBluetoothScanMode(): ScanMode;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function startBluetoothDiscovery(): void;
Old version information: ohos.permission.DISCOVER_BLUETOOTH,ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION
Class name: bluetoothManager;
Method or attribute name: function startBluetoothDiscovery(): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function stopBluetoothDiscovery(): void;
Old version information: ohos.permission.DISCOVER_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function stopBluetoothDiscovery(): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function on(type: 'bluetoothDeviceFind', callback: Callback<Array<string>>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function on(type: 'bluetoothDeviceFind', callback: Callback<Array<string>>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function on(type: 'bondStateChange', callback: Callback<BondStateParam>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function on(type: 'bondStateChange', callback: Callback<BondStateParam>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function on(type: 'pinRequired', callback: Callback<PinRequiredParam>): void;
Old version information: ohos.permission.DISCOVER_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function on(type: 'pinRequired', callback: Callback<PinRequiredParam>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function on(type: 'stateChange', callback: Callback<BluetoothState>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function on(type: 'stateChange', callback: Callback<BluetoothState>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function off(type: 'bluetoothDeviceFind', callback?: Callback<Array<string>>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function off(type: 'bluetoothDeviceFind', callback?: Callback<Array<string>>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function off(type: 'bondStateChange', callback?: Callback<BondStateParam>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function off(type: 'bondStateChange', callback?: Callback<BondStateParam>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function off(type: 'pinRequired', callback?: Callback<PinRequiredParam>): void;
Old version information: ohos.permission.DISCOVER_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function off(type: 'pinRequired', callback?: Callback<PinRequiredParam>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function off(type: 'stateChange', callback?: Callback<BluetoothState>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function off(type: 'stateChange', callback?: Callback<BluetoothState>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function sppListen(name: string, option: SppOption, callback: AsyncCallback<number>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function sppListen(name: string, option: SppOption, callback: AsyncCallback<number>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: bluetoothManager;
Method or attribute name: function sppConnect(device: string, option: SppOption, callback: AsyncCallback<number>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: bluetoothManager;
Method or attribute name: function sppConnect(device: string, option: SppOption, callback: AsyncCallback<number>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: BaseProfile;
Method or attribute name: getConnectionDevices(): Array<string>;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: BaseProfile;
Method or attribute name: getConnectionDevices(): Array<string>;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: BaseProfile;
Method or attribute name: getDeviceState(device: string): ProfileConnectionState;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: BaseProfile;
Method or attribute name: getDeviceState(device: string): ProfileConnectionState;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: A2dpSourceProfile;
Method or attribute name: connect(device: string): void;
Old version information: ohos.permission.DISCOVER_BLUETOOTH
Class name: A2dpSourceProfile;
Method or attribute name: connect(device: string): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: HandsFreeAudioGatewayProfile;
Method or attribute name: connect(device: string): void;
Old version information: ohos.permission.DISCOVER_BLUETOOTH
Class name: HandsFreeAudioGatewayProfile;
Method or attribute name: connect(device: string): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: HidHostProfile;
Method or attribute name: connect(device: string): void;
Old version information: ohos.permission.DISCOVER_BLUETOOTH
Class name: HidHostProfile;
Method or attribute name: connect(device: string): void;
New version information: ohos.permission.ACCESS_BLUETOOTH,ohos.permission.MANAGE_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: A2dpSourceProfile;
Method or attribute name: disconnect(device: string): void;
Old version information: ohos.permission.DISCOVER_BLUETOOTH
Class name: A2dpSourceProfile;
Method or attribute name: disconnect(device: string): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: HandsFreeAudioGatewayProfile;
Method or attribute name: disconnect(device: string): void;
Old version information: ohos.permission.DISCOVER_BLUETOOTH
Class name: HandsFreeAudioGatewayProfile;
Method or attribute name: disconnect(device: string): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: HidHostProfile;
Method or attribute name: disconnect(device: string): void;
Old version information: ohos.permission.DISCOVER_BLUETOOTH
Class name: HidHostProfile;
Method or attribute name: disconnect(device: string): void;
New version information: ohos.permission.ACCESS_BLUETOOTH,ohos.permission.MANAGE_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: PanProfile;
Method or attribute name: disconnect(device: string): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: PanProfile;
Method or attribute name: disconnect(device: string): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: A2dpSourceProfile;
Method or attribute name: on(type: 'connectionStateChange', callback: Callback<StateChangeParam>): void;
Old version information:
Class name: A2dpSourceProfile;
Method or attribute name: on(type: 'connectionStateChange', callback: Callback<StateChangeParam>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: HandsFreeAudioGatewayProfile;
Method or attribute name: on(type: 'connectionStateChange', callback: Callback<StateChangeParam>): void;
Old version information:
Class name: HandsFreeAudioGatewayProfile;
Method or attribute name: on(type: 'connectionStateChange', callback: Callback<StateChangeParam>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: HidHostProfile;
Method or attribute name: on(type: 'connectionStateChange', callback: Callback<StateChangeParam>): void;
Old version information:
Class name: HidHostProfile;
Method or attribute name: on(type: 'connectionStateChange', callback: Callback<StateChangeParam>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: PanProfile;
Method or attribute name: on(type: 'connectionStateChange', callback: Callback<StateChangeParam>): void;
Old version information:
Class name: PanProfile;
Method or attribute name: on(type: 'connectionStateChange', callback: Callback<StateChangeParam>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: A2dpSourceProfile;
Method or attribute name: off(type: 'connectionStateChange', callback?: Callback<StateChangeParam>): void;
Old version information:
Class name: A2dpSourceProfile;
Method or attribute name: off(type: 'connectionStateChange', callback?: Callback<StateChangeParam>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: HandsFreeAudioGatewayProfile;
Method or attribute name: off(type: 'connectionStateChange', callback?: Callback<StateChangeParam>): void;
Old version information:
Class name: HandsFreeAudioGatewayProfile;
Method or attribute name: off(type: 'connectionStateChange', callback?: Callback<StateChangeParam>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: HidHostProfile;
Method or attribute name: off(type: 'connectionStateChange', callback?: Callback<StateChangeParam>): void;
Old version information:
Class name: HidHostProfile;
Method or attribute name: off(type: 'connectionStateChange', callback?: Callback<StateChangeParam>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: PanProfile;
Method or attribute name: off(type: 'connectionStateChange', callback?: Callback<StateChangeParam>): void;
Old version information:
Class name: PanProfile;
Method or attribute name: off(type: 'connectionStateChange', callback?: Callback<StateChangeParam>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: A2dpSourceProfile;
Method or attribute name: getPlayingState(device: string): PlayingState;
Old version information:
Class name: A2dpSourceProfile;
Method or attribute name: getPlayingState(device: string): PlayingState;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: PanProfile;
Method or attribute name: setTethering(enable: boolean): void;
Old version information: ohos.permission.DISCOVER_BLUETOOTH
Class name: PanProfile;
Method or attribute name: setTethering(enable: boolean): void;
New version information: ohos.permission.ACCESS_BLUETOOTH,ohos.permission.MANAGE_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: PanProfile;
Method or attribute name: isTetheringOn(): boolean;
Old version information:
Class name: PanProfile;
Method or attribute name: isTetheringOn(): boolean;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: BLE;
Method or attribute name: function getConnectedBLEDevices(): Array<string>;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: BLE;
Method or attribute name: function getConnectedBLEDevices(): Array<string>;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: BLE;
Method or attribute name: function startBLEScan(filters: Array<ScanFilter>, options?: ScanOptions): void;
Old version information: ohos.permission.DISCOVER_BLUETOOTH,ohos.permission.MANAGE_BLUETOOTH,ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION
Class name: BLE;
Method or attribute name: function startBLEScan(filters: Array<ScanFilter>, options?: ScanOptions): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: BLE;
Method or attribute name: function stopBLEScan(): void;
Old version information: ohos.permission.DISCOVER_BLUETOOTH
Class name: BLE;
Method or attribute name: function stopBLEScan(): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: BLE;
Method or attribute name: function on(type: 'BLEDeviceFind', callback: Callback<Array<ScanResult>>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: BLE;
Method or attribute name: function on(type: 'BLEDeviceFind', callback: Callback<Array<ScanResult>>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: BLE;
Method or attribute name: function off(type: 'BLEDeviceFind', callback?: Callback<Array<ScanResult>>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: BLE;
Method or attribute name: function off(type: 'BLEDeviceFind', callback?: Callback<Array<ScanResult>>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattServer;
Method or attribute name: startAdvertising(setting: AdvertiseSetting, advData: AdvertiseData, advResponse?: AdvertiseData): void;
Old version information: ohos.permission.DISCOVER_BLUETOOTH
Class name: GattServer;
Method or attribute name: startAdvertising(setting: AdvertiseSetting, advData: AdvertiseData, advResponse?: AdvertiseData): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattServer;
Method or attribute name: stopAdvertising(): void;
Old version information: ohos.permission.DISCOVER_BLUETOOTH
Class name: GattServer;
Method or attribute name: stopAdvertising(): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattServer;
Method or attribute name: addService(service: GattService): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattServer;
Method or attribute name: addService(service: GattService): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattServer;
Method or attribute name: removeService(serviceUuid: string): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattServer;
Method or attribute name: removeService(serviceUuid: string): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattServer;
Method or attribute name: close(): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattServer;
Method or attribute name: close(): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: close(): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattClientDevice;
Method or attribute name: close(): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattServer;
Method or attribute name: notifyCharacteristicChanged(deviceId: string, notifyCharacteristic: NotifyCharacteristic): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattServer;
Method or attribute name: notifyCharacteristicChanged(deviceId: string, notifyCharacteristic: NotifyCharacteristic): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattServer;
Method or attribute name: sendResponse(serverResponse: ServerResponse): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattServer;
Method or attribute name: sendResponse(serverResponse: ServerResponse): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattServer;
Method or attribute name: on(type: 'characteristicRead', callback: Callback<CharacteristicReadRequest>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattServer;
Method or attribute name: on(type: 'characteristicRead', callback: Callback<CharacteristicReadRequest>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattServer;
Method or attribute name: on(type: 'characteristicWrite', callback: Callback<CharacteristicWriteRequest>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattServer;
Method or attribute name: on(type: 'characteristicWrite', callback: Callback<CharacteristicWriteRequest>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattServer;
Method or attribute name: on(type: 'descriptorRead', callback: Callback<DescriptorReadRequest>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattServer;
Method or attribute name: on(type: 'descriptorRead', callback: Callback<DescriptorReadRequest>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattServer;
Method or attribute name: on(type: 'descriptorWrite', callback: Callback<DescriptorWriteRequest>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattServer;
Method or attribute name: on(type: 'descriptorWrite', callback: Callback<DescriptorWriteRequest>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattServer;
Method or attribute name: on(type: 'connectStateChange', callback: Callback<BLEConnectChangedState>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattServer;
Method or attribute name: on(type: 'connectStateChange', callback: Callback<BLEConnectChangedState>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattServer;
Method or attribute name: off(type: 'characteristicRead', callback?: Callback<CharacteristicReadRequest>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattServer;
Method or attribute name: off(type: 'characteristicRead', callback?: Callback<CharacteristicReadRequest>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattServer;
Method or attribute name: off(type: 'characteristicWrite', callback?: Callback<CharacteristicWriteRequest>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattServer;
Method or attribute name: off(type: 'characteristicWrite', callback?: Callback<CharacteristicWriteRequest>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattServer;
Method or attribute name: off(type: 'descriptorRead', callback?: Callback<DescriptorReadRequest>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattServer;
Method or attribute name: off(type: 'descriptorRead', callback?: Callback<DescriptorReadRequest>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattServer;
Method or attribute name: off(type: 'descriptorWrite', callback?: Callback<DescriptorWriteRequest>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattServer;
Method or attribute name: off(type: 'descriptorWrite', callback?: Callback<DescriptorWriteRequest>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattServer;
Method or attribute name: off(type: 'connectStateChange', callback?: Callback<BLEConnectChangedState>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattServer;
Method or attribute name: off(type: 'connectStateChange', callback?: Callback<BLEConnectChangedState>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: connect(): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattClientDevice;
Method or attribute name: connect(): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: disconnect(): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattClientDevice;
Method or attribute name: disconnect(): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: getDeviceName(callback: AsyncCallback<string>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattClientDevice;
Method or attribute name: getDeviceName(callback: AsyncCallback<string>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: getDeviceName(): Promise<string>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getDeviceName(): Promise<string>;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: getServices(callback: AsyncCallback<Array<GattService>>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattClientDevice;
Method or attribute name: getServices(callback: AsyncCallback<Array<GattService>>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: getServices(): Promise<Array<GattService>>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getServices(): Promise<Array<GattService>>;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic, callback: AsyncCallback<BLECharacteristic>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic, callback: AsyncCallback<BLECharacteristic>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<BLEDescriptor>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<BLEDescriptor>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: writeCharacteristicValue(characteristic: BLECharacteristic): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattClientDevice;
Method or attribute name: writeCharacteristicValue(characteristic: BLECharacteristic): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: writeDescriptorValue(descriptor: BLEDescriptor): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattClientDevice;
Method or attribute name: writeDescriptorValue(descriptor: BLEDescriptor): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: getRssiValue(callback: AsyncCallback<number>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattClientDevice;
Method or attribute name: getRssiValue(callback: AsyncCallback<number>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: getRssiValue(): Promise<number>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getRssiValue(): Promise<number>;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: setBLEMtuSize(mtu: number): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattClientDevice;
Method or attribute name: setBLEMtuSize(mtu: number): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: setNotifyCharacteristicChanged(characteristic: BLECharacteristic, enable: boolean): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattClientDevice;
Method or attribute name: setNotifyCharacteristicChanged(characteristic: BLECharacteristic, enable: boolean): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: on(type: 'BLECharacteristicChange', callback: Callback<BLECharacteristic>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattClientDevice;
Method or attribute name: on(type: 'BLECharacteristicChange', callback: Callback<BLECharacteristic>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: on(type: 'BLEConnectionStateChange', callback: Callback<BLEConnectChangedState>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattClientDevice;
Method or attribute name: on(type: 'BLEConnectionStateChange', callback: Callback<BLEConnectChangedState>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: off(type: 'BLECharacteristicChange', callback?: Callback<BLECharacteristic>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattClientDevice;
Method or attribute name: off(type: 'BLECharacteristicChange', callback?: Callback<BLECharacteristic>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: off(type: 'BLEConnectionStateChange', callback?: Callback<BLEConnectChangedState>): void;
Old version information: ohos.permission.USE_BLUETOOTH
Class name: GattClientDevice;
Method or attribute name: off(type: 'BLEConnectionStateChange', callback?: Callback<BLEConnectChangedState>): void;
New version information: ohos.permission.ACCESS_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: connectedTag;
Method or attribute name: function readNdefTag(callback: AsyncCallback<string>): void;
Old version information:
Class name: connectedTag;
Method or attribute name: function readNdefTag(callback: AsyncCallback<string>): void;
New version information: ohos.permission.NFC_TAG
@ohos.connectedTag.d.ts
Permission changed Class name: connectedTag;
Method or attribute name: function read(callback: AsyncCallback<number[]>): void;
Old version information:
Class name: connectedTag;
Method or attribute name: function read(callback: AsyncCallback<number[]>): void;
New version information: ohos.permission.NFC_TAG
@ohos.connectedTag.d.ts
Permission changed Class name: connectedTag;
Method or attribute name: function writeNdefTag(data: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: connectedTag;
Method or attribute name: function writeNdefTag(data: string, callback: AsyncCallback<void>): void;
New version information: ohos.permission.NFC_TAG
@ohos.connectedTag.d.ts
Permission changed Class name: connectedTag;
Method or attribute name: function write(data: number[], callback: AsyncCallback<void>): void;
Old version information:
Class name: connectedTag;
Method or attribute name: function write(data: number[], callback: AsyncCallback<void>): void;
New version information: ohos.permission.NFC_TAG
@ohos.connectedTag.d.ts
Permission changed Class name: connection;
Method or attribute name: function getDefaultNet(): Promise<NetHandle>;
Old version information:
Class name: connection;
Method or attribute name: function getDefaultNet(): Promise<NetHandle>;
New version information: ohos.permission.GET_NETWORK_INFO
@ohos.net.connection.d.ts
Permission changed Class name: connection;
Method or attribute name: function getAllNets(): Promise<Array<NetHandle>>;
Old version information:
Class name: connection;
Method or attribute name: function getAllNets(): Promise<Array<NetHandle>>;
New version information: ohos.permission.GET_NETWORK_INFO
@ohos.net.connection.d.ts
Permission changed Class name: connection;
Method or attribute name: function getConnectionProperties(netHandle: NetHandle): Promise<ConnectionProperties>;
Old version information:
Class name: connection;
Method or attribute name: function getConnectionProperties(netHandle: NetHandle): Promise<ConnectionProperties>;
New version information: ohos.permission.GET_NETWORK_INFO
@ohos.net.connection.d.ts
Permission changed Class name: connection;
Method or attribute name: function getNetCapabilities(netHandle: NetHandle): Promise<NetCapabilities>;
Old version information:
Class name: connection;
Method or attribute name: function getNetCapabilities(netHandle: NetHandle): Promise<NetCapabilities>;
New version information: ohos.permission.GET_NETWORK_INFO
@ohos.net.connection.d.ts
Permission changed Class name: connection;
Method or attribute name: function isDefaultNetMetered(): Promise<boolean>;
Old version information:
Class name: connection;
Method or attribute name: function isDefaultNetMetered(): Promise<boolean>;
New version information: ohos.permission.GET_NETWORK_INFO
@ohos.net.connection.d.ts
Permission changed Class name: connection;
Method or attribute name: function hasDefaultNet(): Promise<boolean>;
Old version information:
Class name: connection;
Method or attribute name: function hasDefaultNet(): Promise<boolean>;
New version information: ohos.permission.GET_NETWORK_INFO
@ohos.net.connection.d.ts
Permission changed Class name: connection;
Method or attribute name: function enableAirplaneMode(): Promise<void>;
Old version information:
Class name: connection;
Method or attribute name: function enableAirplaneMode(): Promise<void>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.connection.d.ts
Permission changed Class name: connection;
Method or attribute name: function disableAirplaneMode(): Promise<void>;
Old version information:
Class name: connection;
Method or attribute name: function disableAirplaneMode(): Promise<void>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.connection.d.ts
Permission changed Class name: connection;
Method or attribute name: function reportNetConnected(netHandle: NetHandle): Promise<void>;
Old version information:
Class name: connection;
Method or attribute name: function reportNetConnected(netHandle: NetHandle): Promise<void>;
New version information: ohos.permission.GET_NETWORK_INFO,ohos.permission.INTERNET
@ohos.net.connection.d.ts
Permission changed Class name: connection;
Method or attribute name: function reportNetDisconnected(netHandle: NetHandle): Promise<void>;
Old version information:
Class name: connection;
Method or attribute name: function reportNetDisconnected(netHandle: NetHandle): Promise<void>;
New version information: ohos.permission.GET_NETWORK_INFO,ohos.permission.INTERNET
@ohos.net.connection.d.ts
Permission changed Class name: connection;
Method or attribute name: function getAddressesByName(host: string): Promise<Array<NetAddress>>;
Old version information:
Class name: connection;
Method or attribute name: function getAddressesByName(host: string): Promise<Array<NetAddress>>;
New version information: ohos.permission.INTERNET
@ohos.net.connection.d.ts
Permission changed Class name: NetHandle;
Method or attribute name: getAddressesByName(host: string): Promise<Array<NetAddress>>;
Old version information:
Class name: NetHandle;
Method or attribute name: getAddressesByName(host: string): Promise<Array<NetAddress>>;
New version information: ohos.permission.INTERNET
@ohos.net.connection.d.ts
Permission changed Class name: NetHandle;
Method or attribute name: getAddressByName(host: string): Promise<NetAddress>;
Old version information:
Class name: NetHandle;
Method or attribute name: getAddressByName(host: string): Promise<NetAddress>;
New version information: ohos.permission.INTERNET
@ohos.net.connection.d.ts
Permission changed Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string): Promise<InterfaceConfiguration>;
Old version information:
Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string): Promise<InterfaceConfiguration>;
New version information: ohos.permission.GET_NETWORK_INFO
@ohos.net.ethernet.d.ts
Permission changed Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise<void>;
Old version information:
Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise<void>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.ethernet.d.ts
Permission changed Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string): Promise<number>;
Old version information:
Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string): Promise<number>;
New version information: ohos.permission.GET_NETWORK_INFO
@ohos.net.ethernet.d.ts
Permission changed Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(): Promise<Array<string>>;
Old version information:
Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(): Promise<Array<string>>;
New version information: ohos.permission.GET_NETWORK_INFO
@ohos.net.ethernet.d.ts
Permission changed Class name: HttpRequest;
Method or attribute name: request(url: string, options: HttpRequestOptions, callback: AsyncCallback<HttpResponse>): void;
Old version information:
Class name: HttpRequest;
Method or attribute name: request(url: string, options: HttpRequestOptions, callback: AsyncCallback<HttpResponse>): void;
New version information: ohos.permission.INTERNET
@ohos.net.http.d.ts
Permission changed Class name: HttpRequest;
Method or attribute name: request(url: string, options?: HttpRequestOptions): Promise<HttpResponse>;
Old version information:
Class name: HttpRequest;
Method or attribute name: request(url: string, options?: HttpRequestOptions): Promise<HttpResponse>;
New version information: ohos.permission.INTERNET
@ohos.net.http.d.ts
Permission changed Class name: sharing;
Method or attribute name: function isSharingSupported(): Promise<boolean>;
Old version information:
Class name: sharing;
Method or attribute name: function isSharingSupported(): Promise<boolean>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.sharing.d.ts
Permission changed Class name: sharing;
Method or attribute name: function isSharing(): Promise<boolean>;
Old version information:
Class name: sharing;
Method or attribute name: function isSharing(): Promise<boolean>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.sharing.d.ts
Permission changed Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType): Promise<void>;
Old version information:
Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType): Promise<void>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.sharing.d.ts
Permission changed Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType): Promise<void>;
Old version information:
Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType): Promise<void>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.sharing.d.ts
Permission changed Class name: sharing;
Method or attribute name: function getStatsRxBytes(): Promise<number>;
Old version information:
Class name: sharing;
Method or attribute name: function getStatsRxBytes(): Promise<number>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.sharing.d.ts
Permission changed Class name: sharing;
Method or attribute name: function getStatsTxBytes(): Promise<number>;
Old version information:
Class name: sharing;
Method or attribute name: function getStatsTxBytes(): Promise<number>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.sharing.d.ts
Permission changed Class name: sharing;
Method or attribute name: function getStatsTotalBytes(): Promise<number>;
Old version information:
Class name: sharing;
Method or attribute name: function getStatsTotalBytes(): Promise<number>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.sharing.d.ts
Permission changed Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise<Array<string>>;
Old version information:
Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise<Array<string>>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.sharing.d.ts
Permission changed Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType): Promise<SharingIfaceState>;
Old version information:
Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType): Promise<SharingIfaceState>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.sharing.d.ts
Permission changed Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise<Array<string>>;
Old version information:
Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise<Array<string>>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.sharing.d.ts
Permission changed Class name: UDPSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
Old version information:
Class name: UDPSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: TCPSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: TLSSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
Old version information:
Class name: TLSSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: UDPSocket;
Method or attribute name: send(options: UDPSendOptions): Promise<void>;
Old version information:
Class name: UDPSocket;
Method or attribute name: send(options: UDPSendOptions): Promise<void>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: UDPSocket;
Method or attribute name: close(): Promise<void>;
Old version information:
Class name: UDPSocket;
Method or attribute name: close(): Promise<void>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: TCPSocket;
Method or attribute name: close(): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: close(): Promise<void>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: UDPSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
Old version information:
Class name: UDPSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: TCPSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
Old version information:
Class name: TCPSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: UDPSocket;
Method or attribute name: setExtraOptions(options: UDPExtraOptions): Promise<void>;
Old version information:
Class name: UDPSocket;
Method or attribute name: setExtraOptions(options: UDPExtraOptions): Promise<void>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: TCPSocket;
Method or attribute name: connect(options: TCPConnectOptions): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: connect(options: TCPConnectOptions): Promise<void>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: TCPSocket;
Method or attribute name: send(options: TCPSendOptions): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: send(options: TCPSendOptions): Promise<void>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: TCPSocket;
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
Old version information:
Class name: TCPSocket;
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: TCPSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: WebSocket;
Method or attribute name: connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: WebSocket;
Method or attribute name: connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback<boolean>): void;
New version information: ohos.permission.INTERNET
@ohos.net.webSocket.d.ts
Permission changed Class name: WebSocket;
Method or attribute name: connect(url: string, options?: WebSocketRequestOptions): Promise<boolean>;
Old version information:
Class name: WebSocket;
Method or attribute name: connect(url: string, options?: WebSocketRequestOptions): Promise<boolean>;
New version information: ohos.permission.INTERNET
@ohos.net.webSocket.d.ts
Permission changed Class name: WebSocket;
Method or attribute name: send(data: string | ArrayBuffer): Promise<boolean>;
Old version information:
Class name: WebSocket;
Method or attribute name: send(data: string | ArrayBuffer): Promise<boolean>;
New version information: ohos.permission.INTERNET
@ohos.net.webSocket.d.ts
Permission changed Class name: WebSocket;
Method or attribute name: close(options: WebSocketCloseOptions, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: WebSocket;
Method or attribute name: close(options: WebSocketCloseOptions, callback: AsyncCallback<boolean>): void;
New version information: ohos.permission.INTERNET
@ohos.net.webSocket.d.ts
Permission changed Class name: WebSocket;
Method or attribute name: close(options?: WebSocketCloseOptions): Promise<boolean>;
Old version information:
Class name: WebSocket;
Method or attribute name: close(options?: WebSocketCloseOptions): Promise<boolean>;
New version information: ohos.permission.INTERNET
@ohos.net.webSocket.d.ts
Permission changed Class name: HceService;
Method or attribute name: transmit(response: number[], callback: AsyncCallback<void>): void;
Old version information:
Class name: HceService;
Method or attribute name: transmit(response: number[], callback: AsyncCallback<void>): void;
New version information: ohos.permission.NFC_CARD_EMULATION
@ohos.nfc.cardEmulation.d.ts
Permission changed Class name: TagInfo;
Method or attribute name: uid: number[];
Old version information:
Class name: TagInfo;
Method or attribute name: uid: number[];
New version information: ohos.permission.NFC_TAG
@ohos.nfc.tag.d.ts
Permission changed Class name: TagInfo;
Method or attribute name: technology: number[];
Old version information:
Class name: TagInfo;
Method or attribute name: technology: number[];
New version information: ohos.permission.NFC_TAG
@ohos.nfc.tag.d.ts
Permission changed Class name: TagInfo;
Method or attribute name: extrasData: PacMap[];
Old version information:
Class name: TagInfo;
Method or attribute name: extrasData: PacMap[];
New version information: ohos.permission.NFC_TAG
@ohos.nfc.tag.d.ts
Permission changed Class name: TagInfo;
Method or attribute name: tagRfDiscId: number;
Old version information:
Class name: TagInfo;
Method or attribute name: tagRfDiscId: number;
New version information: ohos.permission.NFC_TAG
@ohos.nfc.tag.d.ts
Permission changed Class name: TagInfo;
Method or attribute name: remoteTagService: rpc.RemoteObject;
Old version information:
Class name: TagInfo;
Method or attribute name: remoteTagService: rpc.RemoteObject;
New version information: ohos.permission.NFC_TAG
@ohos.nfc.tag.d.ts
Permission changed Class name: TagInfo;
Method or attribute name: supportedProfiles: number[];
Old version information:
Class name: TagInfo;
Method or attribute name: supportedProfiles: number[];
New version information: ohos.permission.NFC_TAG
@ohos.nfc.tag.d.ts
Permission changed Class name: wifi;
Method or attribute name: function getScanInfos(callback: AsyncCallback<Array<WifiScanInfo>>): void;
Old version information:
Class name: wifi;
Method or attribute name: function getScanInfos(callback: AsyncCallback<Array<WifiScanInfo>>): void;
New version information: ohos.permission.GET_WIFI_INFO,ohos.permission.GET_WIFI_PEERS_MAC,ohos.permission.LOCATION
@ohos.wifi.d.ts
Permission changed Class name: wifi;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
Old version information:
Class name: wifi;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
New version information: ohos.permission.SET_WIFI_INFO,ohos.permission.SET_WIFI_CONFIG
@ohos.wifi.d.ts
Permission changed Class name: wifi;
Method or attribute name: function addUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: wifi;
Method or attribute name: function addUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback<boolean>): void;
New version information: ohos.permission.SET_WIFI_INFO
@ohos.wifi.d.ts
Permission changed Class name: wifi;
Method or attribute name: function removeUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: wifi;
Method or attribute name: function removeUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback<boolean>): void;
New version information: ohos.permission.SET_WIFI_INFO
@ohos.wifi.d.ts
Permission changed Class name: wifi;
Method or attribute name: function getLinkedInfo(callback: AsyncCallback<WifiLinkedInfo>): void;
Old version information:
Class name: wifi;
Method or attribute name: function getLinkedInfo(callback: AsyncCallback<WifiLinkedInfo>): void;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifi.d.ts
Permission changed Class name: wifi;
Method or attribute name: function getP2pLinkedInfo(callback: AsyncCallback<WifiP2pLinkedInfo>): void;
Old version information:
Class name: wifi;
Method or attribute name: function getP2pLinkedInfo(callback: AsyncCallback<WifiP2pLinkedInfo>): void;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifi.d.ts
Permission changed Class name: wifi;
Method or attribute name: function getCurrentGroup(callback: AsyncCallback<WifiP2pGroupInfo>): void;
Old version information:
Class name: wifi;
Method or attribute name: function getCurrentGroup(callback: AsyncCallback<WifiP2pGroupInfo>): void;
New version information: ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION
@ohos.wifi.d.ts
Permission changed Class name: wifi;
Method or attribute name: function getP2pPeerDevices(callback: AsyncCallback<WifiP2pDevice[]>): void;
Old version information:
Class name: wifi;
Method or attribute name: function getP2pPeerDevices(callback: AsyncCallback<WifiP2pDevice[]>): void;
New version information: ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION
@ohos.wifi.d.ts
Permission changed Class name: wifiext;
Method or attribute name: function getSupportedPowerModel(callback: AsyncCallback<Array<PowerModel>>): void;
Old version information:
Class name: wifiext;
Method or attribute name: function getSupportedPowerModel(callback: AsyncCallback<Array<PowerModel>>): void;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifiext.d.ts
Permission changed Class name: wifiext;
Method or attribute name: function getPowerModel(callback: AsyncCallback<PowerModel>): void;
Old version information:
Class name: wifiext;
Method or attribute name: function getPowerModel(callback: AsyncCallback<PowerModel>): void;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifiext.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function scan(): void;
Old version information: ohos.permission.SET_WIFI_INFO,ohos.permission.LOCATION
Class name: wifiManager;
Method or attribute name: function scan(): void;
New version information: ohos.permission.SET_WIFI_INFO,ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getScanResults(): Promise<Array<WifiScanInfo>>;
Old version information: ohos.permission.GET_WIFI_INFO,ohos.permission.GET_WIFI_PEERS_MAC,ohos.permission.LOCATION
Class name: wifiManager;
Method or attribute name: function getScanResults(): Promise<Array<WifiScanInfo>>;
New version information: ohos.permission.GET_WIFI_INFO,ohos.permission.GET_WIFI_PEERS_MAC,ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getScanResults(callback: AsyncCallback<Array<WifiScanInfo>>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getScanResults(callback: AsyncCallback<Array<WifiScanInfo>>): void;
New version information: ohos.permission.GET_WIFI_INFO,ohos.permission.GET_WIFI_PEERS_MAC,ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getScanResultsSync(): Array<WifiScanInfo>;
Old version information: ohos.permission.GET_WIFI_INFO,ohos.permission.GET_WIFI_PEERS_MAC,ohos.permission.LOCATION
Class name: wifiManager;
Method or attribute name: function getScanResultsSync(): Array<WifiScanInfo>;
New version information: ohos.permission.GET_WIFI_INFO,ohos.permission.GET_WIFI_PEERS_MAC,ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
New version information: ohos.permission.SET_WIFI_INFO,ohos.permission.SET_WIFI_CONFIG
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
New version information: ohos.permission.SET_WIFI_INFO
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function removeCandidateConfig(networkId: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function removeCandidateConfig(networkId: number, callback: AsyncCallback<void>): void;
New version information: ohos.permission.SET_WIFI_INFO
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getCandidateConfigs(): Array<WifiDeviceConfig>;
Old version information: ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION
Class name: wifiManager;
Method or attribute name: function getCandidateConfigs(): Array<WifiDeviceConfig>;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getLinkedInfo(callback: AsyncCallback<WifiLinkedInfo>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getLinkedInfo(callback: AsyncCallback<WifiLinkedInfo>): void;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getDeviceConfigs(): Array<WifiDeviceConfig>;
Old version information: ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION,ohos.permission.GET_WIFI_CONFIG
Class name: wifiManager;
Method or attribute name: function getDeviceConfigs(): Array<WifiDeviceConfig>;
New version information: ohos.permission.GET_WIFI_INFO,ohos.permission.GET_WIFI_CONFIG
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getStations(): Array<StationInfo>;
Old version information: ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION,ohos.permission.MANAGE_WIFI_HOTSPOT
Class name: wifiManager;
Method or attribute name: function getStations(): Array<StationInfo>;
New version information: ohos.permission.GET_WIFI_INFO,ohos.permission.MANAGE_WIFI_HOTSPOT
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getP2pLinkedInfo(callback: AsyncCallback<WifiP2pLinkedInfo>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getP2pLinkedInfo(callback: AsyncCallback<WifiP2pLinkedInfo>): void;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getCurrentGroup(): Promise<WifiP2pGroupInfo>;
Old version information: ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION
Class name: wifiManager;
Method or attribute name: function getCurrentGroup(): Promise<WifiP2pGroupInfo>;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getCurrentGroup(callback: AsyncCallback<WifiP2pGroupInfo>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getCurrentGroup(callback: AsyncCallback<WifiP2pGroupInfo>): void;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getP2pPeerDevices(): Promise<WifiP2pDevice[]>;
Old version information: ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION
Class name: wifiManager;
Method or attribute name: function getP2pPeerDevices(): Promise<WifiP2pDevice[]>;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getP2pPeerDevices(callback: AsyncCallback<WifiP2pDevice[]>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getP2pPeerDevices(callback: AsyncCallback<WifiP2pDevice[]>): void;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getP2pLocalDevice(callback: AsyncCallback<WifiP2pDevice>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getP2pLocalDevice(callback: AsyncCallback<WifiP2pDevice>): void;
New version information: ohos.permission.GET_WIFI_INFO,ohos.permission.GET_WIFI_CONFIG
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function p2pConnect(config: WifiP2PConfig): void;
Old version information: ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION
Class name: wifiManager;
Method or attribute name: function p2pConnect(config: WifiP2PConfig): void;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function startDiscoverDevices(): void;
Old version information: ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION
Class name: wifiManager;
Method or attribute name: function startDiscoverDevices(): void;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getP2pGroups(): Promise<Array<WifiP2pGroupInfo>>;
Old version information: ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION
Class name: wifiManager;
Method or attribute name: function getP2pGroups(): Promise<Array<WifiP2pGroupInfo>>;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getP2pGroups(callback: AsyncCallback<Array<WifiP2pGroupInfo>>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getP2pGroups(callback: AsyncCallback<Array<WifiP2pGroupInfo>>): void;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function on(type: 'p2pDeviceChange', callback: Callback<WifiP2pDevice>): void;
Old version information: ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION
Class name: wifiManager;
Method or attribute name: function on(type: 'p2pDeviceChange', callback: Callback<WifiP2pDevice>): void;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function on(type: 'p2pPeerDeviceChange', callback: Callback<WifiP2pDevice[]>): void;
Old version information: ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION
Class name: wifiManager;
Method or attribute name: function on(type: 'p2pPeerDeviceChange', callback: Callback<WifiP2pDevice[]>): void;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function off(type: 'p2pDeviceChange', callback?: Callback<WifiP2pDevice>): void;
Old version information: ohos.permission.LOCATION
Class name: wifiManager;
Method or attribute name: function off(type: 'p2pDeviceChange', callback?: Callback<WifiP2pDevice>): void;
New version information:
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function off(type: 'p2pPeerDeviceChange', callback?: Callback<WifiP2pDevice[]>): void;
Old version information: ohos.permission.LOCATION
Class name: wifiManager;
Method or attribute name: function off(type: 'p2pPeerDeviceChange', callback?: Callback<WifiP2pDevice[]>): void;
New version information:
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManagerExt;
Method or attribute name: function getSupportedPowerMode(callback: AsyncCallback<Array<PowerMode>>): void;
Old version information:
Class name: wifiManagerExt;
Method or attribute name: function getSupportedPowerMode(callback: AsyncCallback<Array<PowerMode>>): void;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifiManagerExt.d.ts
Permission changed Class name: wifiManagerExt;
Method or attribute name: function getPowerMode(callback: AsyncCallback<PowerMode>): void;
Old version information:
Class name: wifiManagerExt;
Method or attribute name: function getPowerMode(callback: AsyncCallback<PowerMode>): void;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifiManagerExt.d.ts
Permission changed Class name: IsoDepTag;
Method or attribute name: isExtendedApduSupported(callback: AsyncCallback<boolean>): void;
Old version information:
Class name: IsoDepTag;
Method or attribute name: isExtendedApduSupported(callback: AsyncCallback<boolean>): void;
New version information: ohos.permission.NFC_TAG
nfctech.d.ts
Permission changed Class name: NdefTag;
Method or attribute name: readNdef(callback: AsyncCallback<NdefMessage>): void;
Old version information:
Class name: NdefTag;
Method or attribute name: readNdef(callback: AsyncCallback<NdefMessage>): void;
New version information: ohos.permission.NFC_TAG
nfctech.d.ts
Permission changed Class name: NdefTag;
Method or attribute name: writeNdef(msg: NdefMessage, callback: AsyncCallback<void>): void;
Old version information:
Class name: NdefTag;
Method or attribute name: writeNdef(msg: NdefMessage, callback: AsyncCallback<void>): void;
New version information: ohos.permission.NFC_TAG
nfctech.d.ts
Permission changed Class name: NdefTag;
Method or attribute name: setReadOnly(callback: AsyncCallback<void>): void;
Old version information:
Class name: NdefTag;
Method or attribute name: setReadOnly(callback: AsyncCallback<void>): void;
New version information: ohos.permission.NFC_TAG
nfctech.d.ts
Permission changed Class name: MifareClassicTag;
Method or attribute name: authenticateSector(sectorIndex: number, key: number[], isKeyA: boolean, callback: AsyncCallback<void>): void;
Old version information:
Class name: MifareClassicTag;
Method or attribute name: authenticateSector(sectorIndex: number, key: number[], isKeyA: boolean, callback: AsyncCallback<void>): void;
New version information: ohos.permission.NFC_TAG
nfctech.d.ts
Permission changed Class name: MifareClassicTag;
Method or attribute name: readSingleBlock(blockIndex: number, callback: AsyncCallback<number[]>): void;
Old version information:
Class name: MifareClassicTag;
Method or attribute name: readSingleBlock(blockIndex: number, callback: AsyncCallback<number[]>): void;
New version information: ohos.permission.NFC_TAG
nfctech.d.ts
Permission changed Class name: MifareClassicTag;
Method or attribute name: writeSingleBlock(blockIndex: number, data: number[], callback: AsyncCallback<void>): void;
Old version information:
Class name: MifareClassicTag;
Method or attribute name: writeSingleBlock(blockIndex: number, data: number[], callback: AsyncCallback<void>): void;
New version information: ohos.permission.NFC_TAG
nfctech.d.ts
Permission changed Class name: MifareClassicTag;
Method or attribute name: incrementBlock(blockIndex: number, value: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: MifareClassicTag;
Method or attribute name: incrementBlock(blockIndex: number, value: number, callback: AsyncCallback<void>): void;
New version information: ohos.permission.NFC_TAG
nfctech.d.ts
Permission changed Class name: MifareClassicTag;
Method or attribute name: decrementBlock(blockIndex: number, value: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: MifareClassicTag;
Method or attribute name: decrementBlock(blockIndex: number, value: number, callback: AsyncCallback<void>): void;
New version information: ohos.permission.NFC_TAG
nfctech.d.ts
Permission changed Class name: MifareClassicTag;
Method or attribute name: transferToBlock(blockIndex: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: MifareClassicTag;
Method or attribute name: transferToBlock(blockIndex: number, callback: AsyncCallback<void>): void;
New version information: ohos.permission.NFC_TAG
nfctech.d.ts
Permission changed Class name: MifareClassicTag;
Method or attribute name: restoreFromBlock(blockIndex: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: MifareClassicTag;
Method or attribute name: restoreFromBlock(blockIndex: number, callback: AsyncCallback<void>): void;
New version information: ohos.permission.NFC_TAG
nfctech.d.ts
Permission changed Class name: MifareUltralightTag;
Method or attribute name: readMultiplePages(pageIndex: number, callback: AsyncCallback<number[]>): void;
Old version information:
Class name: MifareUltralightTag;
Method or attribute name: readMultiplePages(pageIndex: number, callback: AsyncCallback<number[]>): void;
New version information: ohos.permission.NFC_TAG
nfctech.d.ts
Permission changed Class name: MifareUltralightTag;
Method or attribute name: writeSinglePage(pageIndex: number, data: number[], callback: AsyncCallback<void>): void;
Old version information:
Class name: MifareUltralightTag;
Method or attribute name: writeSinglePage(pageIndex: number, data: number[], callback: AsyncCallback<void>): void;
New version information: ohos.permission.NFC_TAG
nfctech.d.ts
Permission changed Class name: NdefFormatableTag;
Method or attribute name: format(message: NdefMessage, callback: AsyncCallback<void>): void;
Old version information:
Class name: NdefFormatableTag;
Method or attribute name: format(message: NdefMessage, callback: AsyncCallback<void>): void;
New version information: ohos.permission.NFC_TAG
nfctech.d.ts
Permission changed Class name: NdefFormatableTag;
Method or attribute name: formatReadOnly(message: NdefMessage, callback: AsyncCallback<void>): void;
Old version information:
Class name: NdefFormatableTag;
Method or attribute name: formatReadOnly(message: NdefMessage, callback: AsyncCallback<void>): void;
New version information: ohos.permission.NFC_TAG
nfctech.d.ts
Permission changed Class name: TagSession;
Method or attribute name: sendData(data: number[], callback: AsyncCallback<number[]>): void;
Old version information:
Class name: TagSession;
Method or attribute name: sendData(data: number[], callback: AsyncCallback<number[]>): void;
New version information: ohos.permission.NFC_TAG
tagSession.d.ts
Permission changed Class name: TagSession;
Method or attribute name: transmit(data: number[], callback: AsyncCallback<number[]>): void;
Old version information:
Class name: TagSession;
Method or attribute name: transmit(data: number[], callback: AsyncCallback<number[]>): void;
New version information: ohos.permission.NFC_TAG
tagSession.d.ts
Type changed Class name: connectedTag;
Method or attribute name: function on(type: 'notify', callback: Callback<number>): void;
Old version information:
Class name: connectedTag;
Method or attribute name: function on(type: 'notify', callback: Callback<number>): void;
New version information:
@ohos.connectedTag.d.ts
Type changed Class name: connectedTag;
Method or attribute name: function off(type: 'notify', callback?: Callback<number>): void;
Old version information:
Class name: connectedTag;
Method or attribute name: function off(type: 'notify', callback?: Callback<number>): void;
New version information:
@ohos.connectedTag.d.ts
Type changed Class name: NetSpecifier;
Method or attribute name: netCapabilities: NetCapabilities;
Old version information:
Class name: NetSpecifier;
Method or attribute name: netCapabilities: NetCapabilities;
New version information: NetCapabilities
@ohos.net.connection.d.ts
Type changed Class name: NetSpecifier;
Method or attribute name: bearerPrivateIdentifier?: string;
Old version information:
Class name: NetSpecifier;
Method or attribute name: bearerPrivateIdentifier?: string;
New version information: ?string
@ohos.net.connection.d.ts
Type changed Class name: NetHandle;
Method or attribute name: netId: number;
Old version information:
Class name: NetHandle;
Method or attribute name: netId: number;
New version information: number
@ohos.net.connection.d.ts
Type changed Class name: NetCapabilities;
Method or attribute name: linkUpBandwidthKbps?: number;
Old version information:
Class name: NetCapabilities;
Method or attribute name: linkUpBandwidthKbps?: number;
New version information: ?number
@ohos.net.connection.d.ts
Type changed Class name: NetCapabilities;
Method or attribute name: linkDownBandwidthKbps?: number;
Old version information:
Class name: NetCapabilities;
Method or attribute name: linkDownBandwidthKbps?: number;
New version information: ?number
@ohos.net.connection.d.ts
Type changed Class name: NetCapabilities;
Method or attribute name: networkCap?: Array<NetCap>;
Old version information:
Class name: NetCapabilities;
Method or attribute name: networkCap?: Array<NetCap>;
New version information: ?Array<NetCap>
@ohos.net.connection.d.ts
Type changed Class name: NetCapabilities;
Method or attribute name: bearerTypes: Array<NetBearType>;
Old version information:
Class name: NetCapabilities;
Method or attribute name: bearerTypes: Array<NetBearType>;
New version information: Array<NetBearType>
@ohos.net.connection.d.ts
Type changed Class name: ConnectionProperties;
Method or attribute name: interfaceName: string;
Old version information:
Class name: ConnectionProperties;
Method or attribute name: interfaceName: string;
New version information: string
@ohos.net.connection.d.ts
Type changed Class name: ConnectionProperties;
Method or attribute name: domains: string;
Old version information:
Class name: ConnectionProperties;
Method or attribute name: domains: string;
New version information: string
@ohos.net.connection.d.ts
Type changed Class name: ConnectionProperties;
Method or attribute name: linkAddresses: Array<LinkAddress>;
Old version information:
Class name: ConnectionProperties;
Method or attribute name: linkAddresses: Array<LinkAddress>;
New version information: Array<LinkAddress>
@ohos.net.connection.d.ts
Type changed Class name: ConnectionProperties;
Method or attribute name: dnses: Array<NetAddress>;
Old version information:
Class name: ConnectionProperties;
Method or attribute name: dnses: Array<NetAddress>;
New version information: Array<NetAddress>
@ohos.net.connection.d.ts
Type changed Class name: ConnectionProperties;
Method or attribute name: routes: Array<RouteInfo>;
Old version information:
Class name: ConnectionProperties;
Method or attribute name: routes: Array<RouteInfo>;
New version information: Array<RouteInfo>
@ohos.net.connection.d.ts
Type changed Class name: ConnectionProperties;
Method or attribute name: mtu: number;
Old version information:
Class name: ConnectionProperties;
Method or attribute name: mtu: number;
New version information: number
@ohos.net.connection.d.ts
Type changed Class name: RouteInfo;
Method or attribute name: interface: string;
Old version information:
Class name: RouteInfo;
Method or attribute name: interface: string;
New version information: string
@ohos.net.connection.d.ts
Type changed Class name: RouteInfo;
Method or attribute name: destination: LinkAddress;
Old version information:
Class name: RouteInfo;
Method or attribute name: destination: LinkAddress;
New version information: LinkAddress
@ohos.net.connection.d.ts
Type changed Class name: RouteInfo;
Method or attribute name: gateway: NetAddress;
Old version information:
Class name: RouteInfo;
Method or attribute name: gateway: NetAddress;
New version information: NetAddress
@ohos.net.connection.d.ts
Type changed Class name: RouteInfo;
Method or attribute name: hasGateway: boolean;
Old version information:
Class name: RouteInfo;
Method or attribute name: hasGateway: boolean;
New version information: boolean
@ohos.net.connection.d.ts
Type changed Class name: RouteInfo;
Method or attribute name: isDefaultRoute: boolean;
Old version information:
Class name: RouteInfo;
Method or attribute name: isDefaultRoute: boolean;
New version information: boolean
@ohos.net.connection.d.ts
Type changed Class name: LinkAddress;
Method or attribute name: address: NetAddress;
Old version information:
Class name: LinkAddress;
Method or attribute name: address: NetAddress;
New version information: NetAddress
@ohos.net.connection.d.ts
Type changed Class name: LinkAddress;
Method or attribute name: prefixLength: number;
Old version information:
Class name: LinkAddress;
Method or attribute name: prefixLength: number;
New version information: number
@ohos.net.connection.d.ts
Type changed Class name: NetAddress;
Method or attribute name: address: string;
Old version information:
Class name: NetAddress;
Method or attribute name: address: string;
New version information: string
@ohos.net.connection.d.ts
Type changed Class name: NetAddress;
Method or attribute name: family?: number;
Old version information:
Class name: NetAddress;
Method or attribute name: family?: number;
New version information: ?number
@ohos.net.connection.d.ts
Type changed Class name: NetAddress;
Method or attribute name: port?: number;
Old version information:
Class name: NetAddress;
Method or attribute name: port?: number;
New version information: ?number
@ohos.net.connection.d.ts
Type changed Class name: InterfaceConfiguration;
Method or attribute name: mode: IPSetMode;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: mode: IPSetMode;
New version information: IPSetMode
@ohos.net.ethernet.d.ts
Type changed Class name: InterfaceConfiguration;
Method or attribute name: ipAddr: string;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: ipAddr: string;
New version information: string
@ohos.net.ethernet.d.ts
Type changed Class name: InterfaceConfiguration;
Method or attribute name: route: string;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: route: string;
New version information: string
@ohos.net.ethernet.d.ts
Type changed Class name: InterfaceConfiguration;
Method or attribute name: gateway: string;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: gateway: string;
New version information: string
@ohos.net.ethernet.d.ts
Type changed Class name: InterfaceConfiguration;
Method or attribute name: netMask: string;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: netMask: string;
New version information: string
@ohos.net.ethernet.d.ts
Type changed Class name: InterfaceConfiguration;
Method or attribute name: dnsServers: string;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: dnsServers: string;
New version information: string
@ohos.net.ethernet.d.ts
Type changed Class name: HttpRequestOptions;
Method or attribute name: method?: RequestMethod;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: method?: RequestMethod;
New version information: ?RequestMethod
@ohos.net.http.d.ts
Type changed Class name: HttpRequestOptions;
Method or attribute name: extraData?: string | Object | ArrayBuffer;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: extraData?: string | Object | ArrayBuffer;
New version information: ?string | Object | ArrayBuffer
@ohos.net.http.d.ts
Type changed Class name: HttpRequestOptions;
Method or attribute name: expectDataType?: HttpDataType;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: expectDataType?: HttpDataType;
New version information: ?HttpDataType
@ohos.net.http.d.ts
Type changed Class name: HttpRequestOptions;
Method or attribute name: usingCache?: boolean;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: usingCache?: boolean;
New version information: ?boolean
@ohos.net.http.d.ts
Type changed Class name: HttpRequestOptions;
Method or attribute name: priority?: number;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: priority?: number;
New version information: ?number
@ohos.net.http.d.ts
Type changed Class name: HttpRequestOptions;
Method or attribute name: header?: Object;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: header?: Object;
New version information: ?Object
@ohos.net.http.d.ts
Type changed Class name: HttpRequestOptions;
Method or attribute name: readTimeout?: number;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: readTimeout?: number;
New version information: ?number
@ohos.net.http.d.ts
Type changed Class name: HttpRequestOptions;
Method or attribute name: connectTimeout?: number;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: connectTimeout?: number;
New version information: ?number
@ohos.net.http.d.ts
Type changed Class name: HttpRequestOptions;
Method or attribute name: usingProtocol?: HttpProtocol;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: usingProtocol?: HttpProtocol;
New version information: ?HttpProtocol
@ohos.net.http.d.ts
Type changed Class name: HttpResponse;
Method or attribute name: result: string | Object | ArrayBuffer;
Old version information:
Class name: HttpResponse;
Method or attribute name: result: string | Object | ArrayBuffer;
New version information: string | Object | ArrayBuffer
@ohos.net.http.d.ts
Type changed Class name: HttpResponse;
Method or attribute name: resultType: HttpDataType;
Old version information:
Class name: HttpResponse;
Method or attribute name: resultType: HttpDataType;
New version information: HttpDataType
@ohos.net.http.d.ts
Type changed Class name: HttpResponse;
Method or attribute name: responseCode: ResponseCode | number;
Old version information:
Class name: HttpResponse;
Method or attribute name: responseCode: ResponseCode | number;
New version information: ResponseCode | number
@ohos.net.http.d.ts
Type changed Class name: HttpResponse;
Method or attribute name: header: Object;
Old version information:
Class name: HttpResponse;
Method or attribute name: header: Object;
New version information: Object
@ohos.net.http.d.ts
Type changed Class name: HttpResponse;
Method or attribute name: cookies: string;
Old version information:
Class name: HttpResponse;
Method or attribute name: cookies: string;
New version information: string
@ohos.net.http.d.ts
Type changed Class name: UDPSendOptions;
Method or attribute name: data: string | ArrayBuffer;
Old version information:
Class name: UDPSendOptions;
Method or attribute name: data: string | ArrayBuffer;
New version information: string | ArrayBuffer
@ohos.net.socket.d.ts
Type changed Class name: TCPSendOptions;
Method or attribute name: data: string | ArrayBuffer;
Old version information:
Class name: TCPSendOptions;
Method or attribute name: data: string | ArrayBuffer;
New version information: string | ArrayBuffer
@ohos.net.socket.d.ts
Type changed Class name: UDPSendOptions;
Method or attribute name: address: NetAddress;
Old version information:
Class name: UDPSendOptions;
Method or attribute name: address: NetAddress;
New version information: NetAddress
@ohos.net.socket.d.ts
Type changed Class name: TCPConnectOptions;
Method or attribute name: address: NetAddress;
Old version information:
Class name: TCPConnectOptions;
Method or attribute name: address: NetAddress;
New version information: NetAddress
@ohos.net.socket.d.ts
Type changed Class name: TLSConnectOptions;
Method or attribute name: address: NetAddress;
Old version information:
Class name: TLSConnectOptions;
Method or attribute name: address: NetAddress;
New version information: NetAddress
@ohos.net.socket.d.ts
Type changed Class name: ExtraOptionsBase;
Method or attribute name: receiveBufferSize?: number;
Old version information:
Class name: ExtraOptionsBase;
Method or attribute name: receiveBufferSize?: number;
New version information: ?number
@ohos.net.socket.d.ts
Type changed Class name: ExtraOptionsBase;
Method or attribute name: sendBufferSize?: number;
Old version information:
Class name: ExtraOptionsBase;
Method or attribute name: sendBufferSize?: number;
New version information: ?number
@ohos.net.socket.d.ts
Type changed Class name: ExtraOptionsBase;
Method or attribute name: reuseAddress?: boolean;
Old version information:
Class name: ExtraOptionsBase;
Method or attribute name: reuseAddress?: boolean;
New version information: ?boolean
@ohos.net.socket.d.ts
Type changed Class name: ExtraOptionsBase;
Method or attribute name: socketTimeout?: number;
Old version information:
Class name: ExtraOptionsBase;
Method or attribute name: socketTimeout?: number;
New version information: ?number
@ohos.net.socket.d.ts
Type changed Class name: UDPExtraOptions;
Method or attribute name: broadcast?: boolean;
Old version information:
Class name: UDPExtraOptions;
Method or attribute name: broadcast?: boolean;
New version information: ?boolean
@ohos.net.socket.d.ts
Type changed Class name: SocketStateBase;
Method or attribute name: isBound: boolean;
Old version information:
Class name: SocketStateBase;
Method or attribute name: isBound: boolean;
New version information: boolean
@ohos.net.socket.d.ts
Type changed Class name: SocketStateBase;
Method or attribute name: isClose: boolean;
Old version information:
Class name: SocketStateBase;
Method or attribute name: isClose: boolean;
New version information: boolean
@ohos.net.socket.d.ts
Type changed Class name: SocketStateBase;
Method or attribute name: isConnected: boolean;
Old version information:
Class name: SocketStateBase;
Method or attribute name: isConnected: boolean;
New version information: boolean
@ohos.net.socket.d.ts
Type changed Class name: SocketRemoteInfo;
Method or attribute name: address: string;
Old version information:
Class name: SocketRemoteInfo;
Method or attribute name: address: string;
New version information: string
@ohos.net.socket.d.ts
Type changed Class name: SocketRemoteInfo;
Method or attribute name: family: 'IPv4' | 'IPv6';
Old version information:
Class name: SocketRemoteInfo;
Method or attribute name: family: 'IPv4' | 'IPv6';
New version information: 'IPv4' | 'IPv6'
@ohos.net.socket.d.ts
Type changed Class name: SocketRemoteInfo;
Method or attribute name: port: number;
Old version information:
Class name: SocketRemoteInfo;
Method or attribute name: port: number;
New version information: number
@ohos.net.socket.d.ts
Type changed Class name: SocketRemoteInfo;
Method or attribute name: size: number;
Old version information:
Class name: SocketRemoteInfo;
Method or attribute name: size: number;
New version information: number
@ohos.net.socket.d.ts
Type changed Class name: TCPConnectOptions;
Method or attribute name: timeout?: number;
Old version information:
Class name: TCPConnectOptions;
Method or attribute name: timeout?: number;
New version information: ?number
@ohos.net.socket.d.ts
Type changed Class name: TCPSendOptions;
Method or attribute name: encoding?: string;
Old version information:
Class name: TCPSendOptions;
Method or attribute name: encoding?: string;
New version information: ?string
@ohos.net.socket.d.ts
Type changed Class name: TCPExtraOptions;
Method or attribute name: keepAlive?: boolean;
Old version information:
Class name: TCPExtraOptions;
Method or attribute name: keepAlive?: boolean;
New version information: ?boolean
@ohos.net.socket.d.ts
Type changed Class name: TCPExtraOptions;
Method or attribute name: OOBInline?: boolean;
Old version information:
Class name: TCPExtraOptions;
Method or attribute name: OOBInline?: boolean;
New version information: ?boolean
@ohos.net.socket.d.ts
Type changed Class name: TCPExtraOptions;
Method or attribute name: TCPNoDelay?: boolean;
Old version information:
Class name: TCPExtraOptions;
Method or attribute name: TCPNoDelay?: boolean;
New version information: ?boolean
@ohos.net.socket.d.ts
Type changed Class name: TCPExtraOptions;
Method or attribute name: socketLinger?: { on: boolean, linger: number };
Old version information:
Class name: TCPExtraOptions;
Method or attribute name: socketLinger?: { on: boolean, linger: number };
New version information: ?object
@ohos.net.socket.d.ts
Type changed Class name: TLSSecureOptions;
Method or attribute name: ca: string | Array<string>;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: ca: string | Array<string>;
New version information: string | Array<string>
@ohos.net.socket.d.ts
Type changed Class name: TLSSecureOptions;
Method or attribute name: cert?: string;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: cert?: string;
New version information: ?string
@ohos.net.socket.d.ts
Type changed Class name: TLSSecureOptions;
Method or attribute name: key?: string;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: key?: string;
New version information: ?string
@ohos.net.socket.d.ts
Type changed Class name: TLSSecureOptions;
Method or attribute name: password?: string;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: password?: string;
New version information: ?string
@ohos.net.socket.d.ts
Type changed Class name: TLSSecureOptions;
Method or attribute name: protocols?: Protocol | Array<Protocol>;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: protocols?: Protocol | Array<Protocol>;
New version information: ?Protocol | Array<Protocol>
@ohos.net.socket.d.ts
Type changed Class name: TLSSecureOptions;
Method or attribute name: useRemoteCipherPrefer?: boolean;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: useRemoteCipherPrefer?: boolean;
New version information: ?boolean
@ohos.net.socket.d.ts
Type changed Class name: TLSSecureOptions;
Method or attribute name: signatureAlgorithms?: string;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: signatureAlgorithms?: string;
New version information: ?string
@ohos.net.socket.d.ts
Type changed Class name: TLSSecureOptions;
Method or attribute name: cipherSuite?: string;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: cipherSuite?: string;
New version information: ?string
@ohos.net.socket.d.ts
Type changed Class name: TLSConnectOptions;
Method or attribute name: secureOptions: TLSSecureOptions;
Old version information:
Class name: TLSConnectOptions;
Method or attribute name: secureOptions: TLSSecureOptions;
New version information: TLSSecureOptions
@ohos.net.socket.d.ts
Type changed Class name: TLSConnectOptions;
Method or attribute name: ALPNProtocols?: Array<string>;
Old version information:
Class name: TLSConnectOptions;
Method or attribute name: ALPNProtocols?: Array<string>;
New version information: ?Array<string>
@ohos.net.socket.d.ts
Type changed Class name: WebSocketRequestOptions;
Method or attribute name: header?: Object;
Old version information:
Class name: WebSocketRequestOptions;
Method or attribute name: header?: Object;
New version information: ?Object
@ohos.net.webSocket.d.ts
Type changed Class name: WebSocketCloseOptions;
Method or attribute name: code?: number;
Old version information:
Class name: WebSocketCloseOptions;
Method or attribute name: code?: number;
New version information: ?number
@ohos.net.webSocket.d.ts
Type changed Class name: WebSocketCloseOptions;
Method or attribute name: reason?: string;
Old version information:
Class name: WebSocketCloseOptions;
Method or attribute name: reason?: string;
New version information: ?string
@ohos.net.webSocket.d.ts
Type changed Class name: WifiEapConfig;
Method or attribute name: eapSubId: number;
Old version information:
Class name: WifiEapConfig;
Method or attribute name: eapSubId: number;
New version information: number
@ohos.wifiManager.d.ts
Type changed Class name: WifiDeviceConfig;
Method or attribute name: eapConfig?: WifiEapConfig;
Old version information:
Class name: WifiDeviceConfig;
Method or attribute name: eapConfig?: WifiEapConfig;
New version information: ?WifiEapConfig
@ohos.wifiManager.d.ts
Type changed Class name: NetworkResponse;
Method or attribute name: type: string;
Old version information:
Class name: NetworkResponse;
Method or attribute name: type: string;
New version information: string
@system.network.d.ts
Type changed Class name: NetworkResponse;
Method or attribute name: metered: boolean;
Old version information:
Class name: NetworkResponse;
Method or attribute name: metered: boolean;
New version information: boolean
@system.network.d.ts
Function changed Class name: WebSocket;
Method or attribute name: on(type: 'close', callback: AsyncCallback<{ code: number, reason: string }>): void;
Class name: WebSocket;
Method or attribute name: on(type: 'close', callback: AsyncCallback<CloseResult>): void;
@ohos.net.webSocket.d.ts
Function changed Class name: WebSocket;
Method or attribute name: off(type: 'close', callback?: AsyncCallback<{ code: number, reason: string }>): void;
Class name: WebSocket;
Method or attribute name: off(type: 'close', callback?: AsyncCallback<CloseResult>): void;
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: connection;
Method or attribute name: declare connection
Old version information:
Class name: connection;
Method or attribute name: declare connection
New version information: crossplatform
@ohos.net.connection.d.ts
Cross-platform capability changed Class name: connection;
Method or attribute name: function createNetConnection(netSpecifier?: NetSpecifier, timeout?: number): NetConnection;
Old version information:
Class name: connection;
Method or attribute name: function createNetConnection(netSpecifier?: NetSpecifier, timeout?: number): NetConnection;
New version information: crossplatform
@ohos.net.connection.d.ts
Cross-platform capability changed Class name: connection;
Method or attribute name: function hasDefaultNet(callback: AsyncCallback<boolean>): void;
Old version information:
Class name: connection;
Method or attribute name: function hasDefaultNet(callback: AsyncCallback<boolean>): void;
New version information: crossplatform
@ohos.net.connection.d.ts
Cross-platform capability changed Class name: connection;
Method or attribute name: function hasDefaultNet(): Promise<boolean>;
Old version information:
Class name: connection;
Method or attribute name: function hasDefaultNet(): Promise<boolean>;
New version information: crossplatform
@ohos.net.connection.d.ts
Cross-platform capability changed Class name: NetConnection;
Method or attribute name: export interface NetConnection
Old version information:
Class name: NetConnection;
Method or attribute name: export interface NetConnection
New version information: crossplatform
@ohos.net.connection.d.ts
Cross-platform capability changed Class name: NetConnection;
Method or attribute name: on(type: 'netAvailable', callback: Callback<NetHandle>): void;
Old version information:
Class name: NetConnection;
Method or attribute name: on(type: 'netAvailable', callback: Callback<NetHandle>): void;
New version information: crossplatform
@ohos.net.connection.d.ts
Cross-platform capability changed Class name: NetConnection;
Method or attribute name: on(type: 'netLost', callback: Callback<NetHandle>): void;
Old version information:
Class name: NetConnection;
Method or attribute name: on(type: 'netLost', callback: Callback<NetHandle>): void;
New version information: crossplatform
@ohos.net.connection.d.ts
Cross-platform capability changed Class name: NetConnection;
Method or attribute name: on(type: 'netUnavailable', callback: Callback<void>): void;
Old version information:
Class name: NetConnection;
Method or attribute name: on(type: 'netUnavailable', callback: Callback<void>): void;
New version information: crossplatform
@ohos.net.connection.d.ts
Cross-platform capability changed Class name: NetConnection;
Method or attribute name: register(callback: AsyncCallback<void>): void;
Old version information:
Class name: NetConnection;
Method or attribute name: register(callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.net.connection.d.ts
Cross-platform capability changed Class name: NetConnection;
Method or attribute name: unregister(callback: AsyncCallback<void>): void;
Old version information:
Class name: NetConnection;
Method or attribute name: unregister(callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.net.connection.d.ts
Cross-platform capability changed Class name: NetHandle;
Method or attribute name: export interface NetHandle
Old version information:
Class name: NetHandle;
Method or attribute name: export interface NetHandle
New version information: crossplatform
@ohos.net.connection.d.ts
Cross-platform capability changed Class name: NetHandle;
Method or attribute name: netId: number;
Old version information:
Class name: NetHandle;
Method or attribute name: netId: number;
New version information: crossplatform
@ohos.net.connection.d.ts
Cross-platform capability changed Class name: NetCapabilities;
Method or attribute name: export interface NetCapabilities
Old version information:
Class name: NetCapabilities;
Method or attribute name: export interface NetCapabilities
New version information: crossplatform
@ohos.net.connection.d.ts
Cross-platform capability changed Class name: NetCapabilities;
Method or attribute name: bearerTypes: Array<NetBearType>;
Old version information:
Class name: NetCapabilities;
Method or attribute name: bearerTypes: Array<NetBearType>;
New version information: crossplatform
@ohos.net.connection.d.ts
Cross-platform capability changed Class name: NetBearType;
Method or attribute name: export enum NetBearType
Old version information:
Class name: NetBearType;
Method or attribute name: export enum NetBearType
New version information: crossplatform
@ohos.net.connection.d.ts
Cross-platform capability changed Class name: NetBearType;
Method or attribute name: BEARER_CELLULAR = 0
Old version information:
Class name: NetBearType;
Method or attribute name: BEARER_CELLULAR = 0
New version information: crossplatform
@ohos.net.connection.d.ts
Cross-platform capability changed Class name: NetBearType;
Method or attribute name: BEARER_WIFI = 1
Old version information:
Class name: NetBearType;
Method or attribute name: BEARER_WIFI = 1
New version information: crossplatform
@ohos.net.connection.d.ts
Cross-platform capability changed Class name: http;
Method or attribute name: declare http
Old version information:
Class name: http;
Method or attribute name: declare http
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: http;
Method or attribute name: function createHttp(): HttpRequest;
Old version information:
Class name: http;
Method or attribute name: function createHttp(): HttpRequest;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: http;
Method or attribute name: function createHttpResponseCache(cacheSize?: number): HttpResponseCache;
Old version information:
Class name: http;
Method or attribute name: function createHttpResponseCache(cacheSize?: number): HttpResponseCache;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpRequestOptions;
Method or attribute name: export interface HttpRequestOptions
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: export interface HttpRequestOptions
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpRequestOptions;
Method or attribute name: method?: RequestMethod;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: method?: RequestMethod;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpRequestOptions;
Method or attribute name: extraData?: string | Object | ArrayBuffer;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: extraData?: string | Object | ArrayBuffer;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpRequestOptions;
Method or attribute name: expectDataType?: HttpDataType;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: expectDataType?: HttpDataType;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpRequestOptions;
Method or attribute name: usingCache?: boolean;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: usingCache?: boolean;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpRequestOptions;
Method or attribute name: priority?: number;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: priority?: number;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpRequestOptions;
Method or attribute name: header?: Object;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: header?: Object;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpRequestOptions;
Method or attribute name: readTimeout?: number;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: readTimeout?: number;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpRequestOptions;
Method or attribute name: connectTimeout?: number;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: connectTimeout?: number;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpRequestOptions;
Method or attribute name: usingProtocol?: HttpProtocol;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: usingProtocol?: HttpProtocol;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpRequest;
Method or attribute name: export interface HttpRequest
Old version information:
Class name: HttpRequest;
Method or attribute name: export interface HttpRequest
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpRequest;
Method or attribute name: request(url: string, callback: AsyncCallback<HttpResponse>): void;
Old version information:
Class name: HttpRequest;
Method or attribute name: request(url: string, callback: AsyncCallback<HttpResponse>): void;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpRequest;
Method or attribute name: request(url: string, options: HttpRequestOptions, callback: AsyncCallback<HttpResponse>): void;
Old version information:
Class name: HttpRequest;
Method or attribute name: request(url: string, options: HttpRequestOptions, callback: AsyncCallback<HttpResponse>): void;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpRequest;
Method or attribute name: request(url: string, options?: HttpRequestOptions): Promise<HttpResponse>;
Old version information:
Class name: HttpRequest;
Method or attribute name: request(url: string, options?: HttpRequestOptions): Promise<HttpResponse>;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpRequest;
Method or attribute name: destroy(): void;
Old version information:
Class name: HttpRequest;
Method or attribute name: destroy(): void;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpRequest;
Method or attribute name: on(type: "headersReceive", callback: Callback<Object>): void;
Old version information:
Class name: HttpRequest;
Method or attribute name: on(type: "headersReceive", callback: Callback<Object>): void;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpRequest;
Method or attribute name: off(type: "headersReceive", callback?: Callback<Object>): void;
Old version information:
Class name: HttpRequest;
Method or attribute name: off(type: "headersReceive", callback?: Callback<Object>): void;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpRequest;
Method or attribute name: once(type: "headersReceive", callback: Callback<Object>): void;
Old version information:
Class name: HttpRequest;
Method or attribute name: once(type: "headersReceive", callback: Callback<Object>): void;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: RequestMethod;
Method or attribute name: export enum RequestMethod
Old version information:
Class name: RequestMethod;
Method or attribute name: export enum RequestMethod
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: RequestMethod;
Method or attribute name: OPTIONS = "OPTIONS"
Old version information:
Class name: RequestMethod;
Method or attribute name: OPTIONS = "OPTIONS"
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: RequestMethod;
Method or attribute name: GET = "GET"
Old version information:
Class name: RequestMethod;
Method or attribute name: GET = "GET"
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: RequestMethod;
Method or attribute name: HEAD = "HEAD"
Old version information:
Class name: RequestMethod;
Method or attribute name: HEAD = "HEAD"
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: RequestMethod;
Method or attribute name: POST = "POST"
Old version information:
Class name: RequestMethod;
Method or attribute name: POST = "POST"
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: RequestMethod;
Method or attribute name: PUT = "PUT"
Old version information:
Class name: RequestMethod;
Method or attribute name: PUT = "PUT"
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: RequestMethod;
Method or attribute name: DELETE = "DELETE"
Old version information:
Class name: RequestMethod;
Method or attribute name: DELETE = "DELETE"
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: RequestMethod;
Method or attribute name: TRACE = "TRACE"
Old version information:
Class name: RequestMethod;
Method or attribute name: TRACE = "TRACE"
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: RequestMethod;
Method or attribute name: CONNECT = "CONNECT"
Old version information:
Class name: RequestMethod;
Method or attribute name: CONNECT = "CONNECT"
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: export enum ResponseCode
Old version information:
Class name: ResponseCode;
Method or attribute name: export enum ResponseCode
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: OK = 200
Old version information:
Class name: ResponseCode;
Method or attribute name: OK = 200
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: CREATED
Old version information:
Class name: ResponseCode;
Method or attribute name: CREATED
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: ACCEPTED
Old version information:
Class name: ResponseCode;
Method or attribute name: ACCEPTED
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: NOT_AUTHORITATIVE
Old version information:
Class name: ResponseCode;
Method or attribute name: NOT_AUTHORITATIVE
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: NO_CONTENT
Old version information:
Class name: ResponseCode;
Method or attribute name: NO_CONTENT
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: RESET
Old version information:
Class name: ResponseCode;
Method or attribute name: RESET
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: PARTIAL
Old version information:
Class name: ResponseCode;
Method or attribute name: PARTIAL
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: MULT_CHOICE = 300
Old version information:
Class name: ResponseCode;
Method or attribute name: MULT_CHOICE = 300
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: MOVED_PERM
Old version information:
Class name: ResponseCode;
Method or attribute name: MOVED_PERM
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: MOVED_TEMP
Old version information:
Class name: ResponseCode;
Method or attribute name: MOVED_TEMP
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: SEE_OTHER
Old version information:
Class name: ResponseCode;
Method or attribute name: SEE_OTHER
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: NOT_MODIFIED
Old version information:
Class name: ResponseCode;
Method or attribute name: NOT_MODIFIED
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: USE_PROXY
Old version information:
Class name: ResponseCode;
Method or attribute name: USE_PROXY
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: BAD_REQUEST = 400
Old version information:
Class name: ResponseCode;
Method or attribute name: BAD_REQUEST = 400
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: UNAUTHORIZED
Old version information:
Class name: ResponseCode;
Method or attribute name: UNAUTHORIZED
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: PAYMENT_REQUIRED
Old version information:
Class name: ResponseCode;
Method or attribute name: PAYMENT_REQUIRED
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: FORBIDDEN
Old version information:
Class name: ResponseCode;
Method or attribute name: FORBIDDEN
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: NOT_FOUND
Old version information:
Class name: ResponseCode;
Method or attribute name: NOT_FOUND
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: BAD_METHOD
Old version information:
Class name: ResponseCode;
Method or attribute name: BAD_METHOD
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: NOT_ACCEPTABLE
Old version information:
Class name: ResponseCode;
Method or attribute name: NOT_ACCEPTABLE
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: PROXY_AUTH
Old version information:
Class name: ResponseCode;
Method or attribute name: PROXY_AUTH
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: CLIENT_TIMEOUT
Old version information:
Class name: ResponseCode;
Method or attribute name: CLIENT_TIMEOUT
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: CONFLICT
Old version information:
Class name: ResponseCode;
Method or attribute name: CONFLICT
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: GONE
Old version information:
Class name: ResponseCode;
Method or attribute name: GONE
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: LENGTH_REQUIRED
Old version information:
Class name: ResponseCode;
Method or attribute name: LENGTH_REQUIRED
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: PRECON_FAILED
Old version information:
Class name: ResponseCode;
Method or attribute name: PRECON_FAILED
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: ENTITY_TOO_LARGE
Old version information:
Class name: ResponseCode;
Method or attribute name: ENTITY_TOO_LARGE
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: REQ_TOO_LONG
Old version information:
Class name: ResponseCode;
Method or attribute name: REQ_TOO_LONG
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: UNSUPPORTED_TYPE
Old version information:
Class name: ResponseCode;
Method or attribute name: UNSUPPORTED_TYPE
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: INTERNAL_ERROR = 500
Old version information:
Class name: ResponseCode;
Method or attribute name: INTERNAL_ERROR = 500
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: NOT_IMPLEMENTED
Old version information:
Class name: ResponseCode;
Method or attribute name: NOT_IMPLEMENTED
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: BAD_GATEWAY
Old version information:
Class name: ResponseCode;
Method or attribute name: BAD_GATEWAY
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: UNAVAILABLE
Old version information:
Class name: ResponseCode;
Method or attribute name: UNAVAILABLE
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: GATEWAY_TIMEOUT
Old version information:
Class name: ResponseCode;
Method or attribute name: GATEWAY_TIMEOUT
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: ResponseCode;
Method or attribute name: VERSION
Old version information:
Class name: ResponseCode;
Method or attribute name: VERSION
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpProtocol;
Method or attribute name: export enum HttpProtocol
Old version information:
Class name: HttpProtocol;
Method or attribute name: export enum HttpProtocol
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpProtocol;
Method or attribute name: HTTP1_1
Old version information:
Class name: HttpProtocol;
Method or attribute name: HTTP1_1
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpProtocol;
Method or attribute name: HTTP2
Old version information:
Class name: HttpProtocol;
Method or attribute name: HTTP2
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpDataType;
Method or attribute name: export enum HttpDataType
Old version information:
Class name: HttpDataType;
Method or attribute name: export enum HttpDataType
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpDataType;
Method or attribute name: STRING
Old version information:
Class name: HttpDataType;
Method or attribute name: STRING
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpDataType;
Method or attribute name: OBJECT = 1
Old version information:
Class name: HttpDataType;
Method or attribute name: OBJECT = 1
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpDataType;
Method or attribute name: ARRAY_BUFFER = 2
Old version information:
Class name: HttpDataType;
Method or attribute name: ARRAY_BUFFER = 2
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpResponse;
Method or attribute name: export interface HttpResponse
Old version information:
Class name: HttpResponse;
Method or attribute name: export interface HttpResponse
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpResponse;
Method or attribute name: result: string | Object | ArrayBuffer;
Old version information:
Class name: HttpResponse;
Method or attribute name: result: string | Object | ArrayBuffer;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpResponse;
Method or attribute name: resultType: HttpDataType;
Old version information:
Class name: HttpResponse;
Method or attribute name: resultType: HttpDataType;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpResponse;
Method or attribute name: responseCode: ResponseCode | number;
Old version information:
Class name: HttpResponse;
Method or attribute name: responseCode: ResponseCode | number;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpResponse;
Method or attribute name: header: Object;
Old version information:
Class name: HttpResponse;
Method or attribute name: header: Object;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpResponse;
Method or attribute name: cookies: string;
Old version information:
Class name: HttpResponse;
Method or attribute name: cookies: string;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpResponseCache;
Method or attribute name: export interface HttpResponseCache
Old version information:
Class name: HttpResponseCache;
Method or attribute name: export interface HttpResponseCache
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpResponseCache;
Method or attribute name: flush(callback: AsyncCallback<void>): void;
Old version information:
Class name: HttpResponseCache;
Method or attribute name: flush(callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpResponseCache;
Method or attribute name: flush(): Promise<void>;
Old version information:
Class name: HttpResponseCache;
Method or attribute name: flush(): Promise<void>;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpResponseCache;
Method or attribute name: delete(callback: AsyncCallback<void>): void;
Old version information:
Class name: HttpResponseCache;
Method or attribute name: delete(callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: HttpResponseCache;
Method or attribute name: delete(): Promise<void>;
Old version information:
Class name: HttpResponseCache;
Method or attribute name: delete(): Promise<void>;
New version information: crossplatform
@ohos.net.http.d.ts
Cross-platform capability changed Class name: socket;
Method or attribute name: declare socket
Old version information:
Class name: socket;
Method or attribute name: declare socket
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: socket;
Method or attribute name: export type X509CertRawData = cert.EncodingBlob;
Old version information:
Class name: socket;
Method or attribute name: export type X509CertRawData = cert.EncodingBlob;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: socket;
Method or attribute name: function constructUDPSocketInstance(): UDPSocket;
Old version information:
Class name: socket;
Method or attribute name: function constructUDPSocketInstance(): UDPSocket;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: socket;
Method or attribute name: function constructTCPSocketInstance(): TCPSocket;
Old version information:
Class name: socket;
Method or attribute name: function constructTCPSocketInstance(): TCPSocket;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: socket;
Method or attribute name: function constructTLSSocketInstance(): TLSSocket;
Old version information:
Class name: socket;
Method or attribute name: function constructTLSSocketInstance(): TLSSocket;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPSendOptions;
Method or attribute name: export interface UDPSendOptions
Old version information:
Class name: UDPSendOptions;
Method or attribute name: export interface UDPSendOptions
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPSendOptions;
Method or attribute name: data: string | ArrayBuffer;
Old version information:
Class name: UDPSendOptions;
Method or attribute name: data: string | ArrayBuffer;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSendOptions;
Method or attribute name: data: string | ArrayBuffer;
Old version information:
Class name: TCPSendOptions;
Method or attribute name: data: string | ArrayBuffer;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPSendOptions;
Method or attribute name: address: NetAddress;
Old version information:
Class name: UDPSendOptions;
Method or attribute name: address: NetAddress;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPConnectOptions;
Method or attribute name: address: NetAddress;
Old version information:
Class name: TCPConnectOptions;
Method or attribute name: address: NetAddress;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSConnectOptions;
Method or attribute name: address: NetAddress;
Old version information:
Class name: TLSConnectOptions;
Method or attribute name: address: NetAddress;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: ExtraOptionsBase;
Method or attribute name: export interface ExtraOptionsBase
Old version information:
Class name: ExtraOptionsBase;
Method or attribute name: export interface ExtraOptionsBase
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: ExtraOptionsBase;
Method or attribute name: receiveBufferSize?: number;
Old version information:
Class name: ExtraOptionsBase;
Method or attribute name: receiveBufferSize?: number;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: ExtraOptionsBase;
Method or attribute name: sendBufferSize?: number;
Old version information:
Class name: ExtraOptionsBase;
Method or attribute name: sendBufferSize?: number;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: ExtraOptionsBase;
Method or attribute name: reuseAddress?: boolean;
Old version information:
Class name: ExtraOptionsBase;
Method or attribute name: reuseAddress?: boolean;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: ExtraOptionsBase;
Method or attribute name: socketTimeout?: number;
Old version information:
Class name: ExtraOptionsBase;
Method or attribute name: socketTimeout?: number;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPExtraOptions;
Method or attribute name: export interface UDPExtraOptions
Old version information:
Class name: UDPExtraOptions;
Method or attribute name: export interface UDPExtraOptions
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPExtraOptions;
Method or attribute name: broadcast?: boolean;
Old version information:
Class name: UDPExtraOptions;
Method or attribute name: broadcast?: boolean;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: SocketStateBase;
Method or attribute name: export interface SocketStateBase
Old version information:
Class name: SocketStateBase;
Method or attribute name: export interface SocketStateBase
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: SocketStateBase;
Method or attribute name: isBound: boolean;
Old version information:
Class name: SocketStateBase;
Method or attribute name: isBound: boolean;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: SocketStateBase;
Method or attribute name: isClose: boolean;
Old version information:
Class name: SocketStateBase;
Method or attribute name: isClose: boolean;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: SocketStateBase;
Method or attribute name: isConnected: boolean;
Old version information:
Class name: SocketStateBase;
Method or attribute name: isConnected: boolean;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: SocketRemoteInfo;
Method or attribute name: export interface SocketRemoteInfo
Old version information:
Class name: SocketRemoteInfo;
Method or attribute name: export interface SocketRemoteInfo
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: SocketRemoteInfo;
Method or attribute name: address: string;
Old version information:
Class name: SocketRemoteInfo;
Method or attribute name: address: string;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: SocketRemoteInfo;
Method or attribute name: family: 'IPv4' | 'IPv6';
Old version information:
Class name: SocketRemoteInfo;
Method or attribute name: family: 'IPv4' | 'IPv6';
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: SocketRemoteInfo;
Method or attribute name: port: number;
Old version information:
Class name: SocketRemoteInfo;
Method or attribute name: port: number;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: SocketRemoteInfo;
Method or attribute name: size: number;
Old version information:
Class name: SocketRemoteInfo;
Method or attribute name: size: number;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPSocket;
Method or attribute name: export interface UDPSocket
Old version information:
Class name: UDPSocket;
Method or attribute name: export interface UDPSocket
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPSocket;
Method or attribute name: bind(address: NetAddress, callback: AsyncCallback<void>): void;
Old version information:
Class name: UDPSocket;
Method or attribute name: bind(address: NetAddress, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: bind(address: NetAddress, callback: AsyncCallback<void>): void;
Old version information:
Class name: TCPSocket;
Method or attribute name: bind(address: NetAddress, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: bind(address: NetAddress, callback: AsyncCallback<void>): void;
Old version information:
Class name: TLSSocket;
Method or attribute name: bind(address: NetAddress, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
Old version information:
Class name: UDPSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
Old version information:
Class name: TLSSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPSocket;
Method or attribute name: send(options: UDPSendOptions, callback: AsyncCallback<void>): void;
Old version information:
Class name: UDPSocket;
Method or attribute name: send(options: UDPSendOptions, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPSocket;
Method or attribute name: send(options: UDPSendOptions): Promise<void>;
Old version information:
Class name: UDPSocket;
Method or attribute name: send(options: UDPSendOptions): Promise<void>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPSocket;
Method or attribute name: close(callback: AsyncCallback<void>): void;
Old version information:
Class name: UDPSocket;
Method or attribute name: close(callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: close(callback: AsyncCallback<void>): void;
Old version information:
Class name: TCPSocket;
Method or attribute name: close(callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: close(callback: AsyncCallback<void>): void;
Old version information:
Class name: TLSSocket;
Method or attribute name: close(callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPSocket;
Method or attribute name: close(): Promise<void>;
Old version information:
Class name: UDPSocket;
Method or attribute name: close(): Promise<void>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: close(): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: close(): Promise<void>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: close(): Promise<void>;
Old version information:
Class name: TLSSocket;
Method or attribute name: close(): Promise<void>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPSocket;
Method or attribute name: getState(callback: AsyncCallback<SocketStateBase>): void;
Old version information:
Class name: UDPSocket;
Method or attribute name: getState(callback: AsyncCallback<SocketStateBase>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: getState(callback: AsyncCallback<SocketStateBase>): void;
Old version information:
Class name: TCPSocket;
Method or attribute name: getState(callback: AsyncCallback<SocketStateBase>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: getState(callback: AsyncCallback<SocketStateBase>): void;
Old version information:
Class name: TLSSocket;
Method or attribute name: getState(callback: AsyncCallback<SocketStateBase>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
Old version information:
Class name: UDPSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
Old version information:
Class name: TCPSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPSocket;
Method or attribute name: setExtraOptions(options: UDPExtraOptions, callback: AsyncCallback<void>): void;
Old version information:
Class name: UDPSocket;
Method or attribute name: setExtraOptions(options: UDPExtraOptions, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPSocket;
Method or attribute name: setExtraOptions(options: UDPExtraOptions): Promise<void>;
Old version information:
Class name: UDPSocket;
Method or attribute name: setExtraOptions(options: UDPExtraOptions): Promise<void>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPSocket;
Method or attribute name: on(type: 'message', callback: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
Old version information:
Class name: UDPSocket;
Method or attribute name: on(type: 'message', callback: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: on(type: 'message', callback: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
Old version information:
Class name: TCPSocket;
Method or attribute name: on(type: 'message', callback: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: on(type: 'message', callback: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
Old version information:
Class name: TLSSocket;
Method or attribute name: on(type: 'message', callback: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPSocket;
Method or attribute name: on(type: 'listening' | 'close', callback: Callback<void>): void;
Old version information:
Class name: UDPSocket;
Method or attribute name: on(type: 'listening' | 'close', callback: Callback<void>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPSocket;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
Old version information:
Class name: UDPSocket;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
Old version information:
Class name: TCPSocket;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
Old version information:
Class name: TLSSocket;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPSocket;
Method or attribute name: off(type: 'message', callback?: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
Old version information:
Class name: UDPSocket;
Method or attribute name: off(type: 'message', callback?: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: off(type: 'message', callback?: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
Old version information:
Class name: TCPSocket;
Method or attribute name: off(type: 'message', callback?: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: off(type: 'message', callback?: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
Old version information:
Class name: TLSSocket;
Method or attribute name: off(type: 'message', callback?: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPSocket;
Method or attribute name: off(type: 'listening' | 'close', callback?: Callback<void>): void;
Old version information:
Class name: UDPSocket;
Method or attribute name: off(type: 'listening' | 'close', callback?: Callback<void>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: UDPSocket;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
Old version information:
Class name: UDPSocket;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
Old version information:
Class name: TCPSocket;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
Old version information:
Class name: TLSSocket;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPConnectOptions;
Method or attribute name: export interface TCPConnectOptions
Old version information:
Class name: TCPConnectOptions;
Method or attribute name: export interface TCPConnectOptions
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPConnectOptions;
Method or attribute name: timeout?: number;
Old version information:
Class name: TCPConnectOptions;
Method or attribute name: timeout?: number;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSendOptions;
Method or attribute name: export interface TCPSendOptions
Old version information:
Class name: TCPSendOptions;
Method or attribute name: export interface TCPSendOptions
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSendOptions;
Method or attribute name: encoding?: string;
Old version information:
Class name: TCPSendOptions;
Method or attribute name: encoding?: string;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPExtraOptions;
Method or attribute name: export interface TCPExtraOptions
Old version information:
Class name: TCPExtraOptions;
Method or attribute name: export interface TCPExtraOptions
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPExtraOptions;
Method or attribute name: keepAlive?: boolean;
Old version information:
Class name: TCPExtraOptions;
Method or attribute name: keepAlive?: boolean;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPExtraOptions;
Method or attribute name: OOBInline?: boolean;
Old version information:
Class name: TCPExtraOptions;
Method or attribute name: OOBInline?: boolean;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPExtraOptions;
Method or attribute name: TCPNoDelay?: boolean;
Old version information:
Class name: TCPExtraOptions;
Method or attribute name: TCPNoDelay?: boolean;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPExtraOptions;
Method or attribute name: socketLinger?: { on: boolean, linger: number };
Old version information:
Class name: TCPExtraOptions;
Method or attribute name: socketLinger?: { on: boolean, linger: number };
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: export interface TCPSocket
Old version information:
Class name: TCPSocket;
Method or attribute name: export interface TCPSocket
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: connect(options: TCPConnectOptions, callback: AsyncCallback<void>): void;
Old version information:
Class name: TCPSocket;
Method or attribute name: connect(options: TCPConnectOptions, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: connect(options: TCPConnectOptions): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: connect(options: TCPConnectOptions): Promise<void>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: send(options: TCPSendOptions, callback: AsyncCallback<void>): void;
Old version information:
Class name: TCPSocket;
Method or attribute name: send(options: TCPSendOptions, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: send(options: TCPSendOptions): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: send(options: TCPSendOptions): Promise<void>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: getRemoteAddress(callback: AsyncCallback<NetAddress>): void;
Old version information:
Class name: TCPSocket;
Method or attribute name: getRemoteAddress(callback: AsyncCallback<NetAddress>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: getRemoteAddress(callback: AsyncCallback<NetAddress>): void;
Old version information:
Class name: TLSSocket;
Method or attribute name: getRemoteAddress(callback: AsyncCallback<NetAddress>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
Old version information:
Class name: TCPSocket;
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback<void>): void;
Old version information:
Class name: TCPSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback<void>): void;
Old version information:
Class name: TLSSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
Old version information:
Class name: TLSSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: on(type: 'connect' | 'close', callback: Callback<void>): void;
Old version information:
Class name: TCPSocket;
Method or attribute name: on(type: 'connect' | 'close', callback: Callback<void>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: on(type: 'connect' | 'close', callback: Callback<void>): void;
Old version information:
Class name: TLSSocket;
Method or attribute name: on(type: 'connect' | 'close', callback: Callback<void>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TCPSocket;
Method or attribute name: off(type: 'connect' | 'close', callback?: Callback<void>): void;
Old version information:
Class name: TCPSocket;
Method or attribute name: off(type: 'connect' | 'close', callback?: Callback<void>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: off(type: 'connect' | 'close', callback?: Callback<void>): void;
Old version information:
Class name: TLSSocket;
Method or attribute name: off(type: 'connect' | 'close', callback?: Callback<void>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: export interface TLSSocket
Old version information:
Class name: TLSSocket;
Method or attribute name: export interface TLSSocket
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: getCertificate(callback: AsyncCallback<X509CertRawData>): void;
Old version information:
Class name: TLSSocket;
Method or attribute name: getCertificate(callback: AsyncCallback<X509CertRawData>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: getCertificate(): Promise<X509CertRawData>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getCertificate(): Promise<X509CertRawData>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: getRemoteCertificate(callback: AsyncCallback<X509CertRawData>): void;
Old version information:
Class name: TLSSocket;
Method or attribute name: getRemoteCertificate(callback: AsyncCallback<X509CertRawData>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: getRemoteCertificate(): Promise<X509CertRawData>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getRemoteCertificate(): Promise<X509CertRawData>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: getProtocol(callback: AsyncCallback<string>): void;
Old version information:
Class name: TLSSocket;
Method or attribute name: getProtocol(callback: AsyncCallback<string>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: getProtocol(): Promise<string>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getProtocol(): Promise<string>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: getCipherSuite(callback: AsyncCallback<Array<string>>): void;
Old version information:
Class name: TLSSocket;
Method or attribute name: getCipherSuite(callback: AsyncCallback<Array<string>>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: getCipherSuite(): Promise<Array<string>>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getCipherSuite(): Promise<Array<string>>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: getSignatureAlgorithms(callback: AsyncCallback<Array<string>>): void;
Old version information:
Class name: TLSSocket;
Method or attribute name: getSignatureAlgorithms(callback: AsyncCallback<Array<string>>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: getSignatureAlgorithms(): Promise<Array<string>>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getSignatureAlgorithms(): Promise<Array<string>>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: connect(options: TLSConnectOptions, callback: AsyncCallback<void>): void;
Old version information:
Class name: TLSSocket;
Method or attribute name: connect(options: TLSConnectOptions, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: connect(options: TLSConnectOptions): Promise<void>;
Old version information:
Class name: TLSSocket;
Method or attribute name: connect(options: TLSConnectOptions): Promise<void>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: send(data: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: TLSSocket;
Method or attribute name: send(data: string, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSocket;
Method or attribute name: send(data: string): Promise<void>;
Old version information:
Class name: TLSSocket;
Method or attribute name: send(data: string): Promise<void>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSecureOptions;
Method or attribute name: export interface TLSSecureOptions
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: export interface TLSSecureOptions
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSecureOptions;
Method or attribute name: ca: string | Array<string>;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: ca: string | Array<string>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSecureOptions;
Method or attribute name: cert?: string;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: cert?: string;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSecureOptions;
Method or attribute name: key?: string;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: key?: string;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSecureOptions;
Method or attribute name: password?: string;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: password?: string;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSecureOptions;
Method or attribute name: protocols?: Protocol | Array<Protocol>;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: protocols?: Protocol | Array<Protocol>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSecureOptions;
Method or attribute name: useRemoteCipherPrefer?: boolean;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: useRemoteCipherPrefer?: boolean;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSecureOptions;
Method or attribute name: signatureAlgorithms?: string;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: signatureAlgorithms?: string;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSSecureOptions;
Method or attribute name: cipherSuite?: string;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: cipherSuite?: string;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSConnectOptions;
Method or attribute name: export interface TLSConnectOptions
Old version information:
Class name: TLSConnectOptions;
Method or attribute name: export interface TLSConnectOptions
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSConnectOptions;
Method or attribute name: secureOptions: TLSSecureOptions;
Old version information:
Class name: TLSConnectOptions;
Method or attribute name: secureOptions: TLSSecureOptions;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: TLSConnectOptions;
Method or attribute name: ALPNProtocols?: Array<string>;
Old version information:
Class name: TLSConnectOptions;
Method or attribute name: ALPNProtocols?: Array<string>;
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: Protocol;
Method or attribute name: export enum Protocol
Old version information:
Class name: Protocol;
Method or attribute name: export enum Protocol
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: Protocol;
Method or attribute name: TLSv12 = "TLSv1.2"
Old version information:
Class name: Protocol;
Method or attribute name: TLSv12 = "TLSv1.2"
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: Protocol;
Method or attribute name: TLSv13 = "TLSv1.3"
Old version information:
Class name: Protocol;
Method or attribute name: TLSv13 = "TLSv1.3"
New version information: crossplatform
@ohos.net.socket.d.ts
Cross-platform capability changed Class name: webSocket;
Method or attribute name: declare webSocket
Old version information:
Class name: webSocket;
Method or attribute name: declare webSocket
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: webSocket;
Method or attribute name: function createWebSocket(): WebSocket;
Old version information:
Class name: webSocket;
Method or attribute name: function createWebSocket(): WebSocket;
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocketRequestOptions;
Method or attribute name: export interface WebSocketRequestOptions
Old version information:
Class name: WebSocketRequestOptions;
Method or attribute name: export interface WebSocketRequestOptions
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocketRequestOptions;
Method or attribute name: header?: Object;
Old version information:
Class name: WebSocketRequestOptions;
Method or attribute name: header?: Object;
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocketCloseOptions;
Method or attribute name: export interface WebSocketCloseOptions
Old version information:
Class name: WebSocketCloseOptions;
Method or attribute name: export interface WebSocketCloseOptions
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocketCloseOptions;
Method or attribute name: code?: number;
Old version information:
Class name: WebSocketCloseOptions;
Method or attribute name: code?: number;
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocketCloseOptions;
Method or attribute name: reason?: string;
Old version information:
Class name: WebSocketCloseOptions;
Method or attribute name: reason?: string;
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocket;
Method or attribute name: export interface WebSocket
Old version information:
Class name: WebSocket;
Method or attribute name: export interface WebSocket
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocket;
Method or attribute name: connect(url: string, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: WebSocket;
Method or attribute name: connect(url: string, callback: AsyncCallback<boolean>): void;
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocket;
Method or attribute name: connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: WebSocket;
Method or attribute name: connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback<boolean>): void;
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocket;
Method or attribute name: connect(url: string, options?: WebSocketRequestOptions): Promise<boolean>;
Old version information:
Class name: WebSocket;
Method or attribute name: connect(url: string, options?: WebSocketRequestOptions): Promise<boolean>;
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocket;
Method or attribute name: send(data: string | ArrayBuffer, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: WebSocket;
Method or attribute name: send(data: string | ArrayBuffer, callback: AsyncCallback<boolean>): void;
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocket;
Method or attribute name: send(data: string | ArrayBuffer): Promise<boolean>;
Old version information:
Class name: WebSocket;
Method or attribute name: send(data: string | ArrayBuffer): Promise<boolean>;
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocket;
Method or attribute name: close(callback: AsyncCallback<boolean>): void;
Old version information:
Class name: WebSocket;
Method or attribute name: close(callback: AsyncCallback<boolean>): void;
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocket;
Method or attribute name: close(options: WebSocketCloseOptions, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: WebSocket;
Method or attribute name: close(options: WebSocketCloseOptions, callback: AsyncCallback<boolean>): void;
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocket;
Method or attribute name: close(options?: WebSocketCloseOptions): Promise<boolean>;
Old version information:
Class name: WebSocket;
Method or attribute name: close(options?: WebSocketCloseOptions): Promise<boolean>;
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocket;
Method or attribute name: on(type: 'open', callback: AsyncCallback<Object>): void;
Old version information:
Class name: WebSocket;
Method or attribute name: on(type: 'open', callback: AsyncCallback<Object>): void;
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocket;
Method or attribute name: on(type: 'message', callback: AsyncCallback<string | ArrayBuffer>): void;
Old version information:
Class name: WebSocket;
Method or attribute name: on(type: 'message', callback: AsyncCallback<string | ArrayBuffer>): void;
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocket;
Method or attribute name: on(type: 'close', callback: AsyncCallback<CloseResult>): void;
Old version information:
Class name: WebSocket;
Method or attribute name: on(type: 'close', callback: AsyncCallback<CloseResult>): void;
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocket;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
Old version information:
Class name: WebSocket;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocket;
Method or attribute name: off(type: 'open', callback?: AsyncCallback<Object>): void;
Old version information:
Class name: WebSocket;
Method or attribute name: off(type: 'open', callback?: AsyncCallback<Object>): void;
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocket;
Method or attribute name: off(type: 'message', callback?: AsyncCallback<string | ArrayBuffer>): void;
Old version information:
Class name: WebSocket;
Method or attribute name: off(type: 'message', callback?: AsyncCallback<string | ArrayBuffer>): void;
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocket;
Method or attribute name: off(type: 'close', callback?: AsyncCallback<CloseResult>): void;
Old version information:
Class name: WebSocket;
Method or attribute name: off(type: 'close', callback?: AsyncCallback<CloseResult>): void;
New version information: crossplatform
@ohos.net.webSocket.d.ts
Cross-platform capability changed Class name: WebSocket;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
Old version information:
Class name: WebSocket;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
New version information: crossplatform
@ohos.net.webSocket.d.ts