1.1K Star 6.2K Fork 5K

OpenHarmony / docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
js-apidiff-communication.md 445.69 KB
一键复制 编辑 原始数据 按行查看 历史
时睿 提交于 2023-10-26 20:15 . 同步apidiff
操作 旧版本 新版本 d.ts文件
删除 类名:WifiEapConfig;
方法or属性:caCertAliases: string;
NA @ohos.wifiManager.d.ts
删除 类名:WifiEapConfig;
方法or属性:clientCertAliases: string;
NA @ohos.wifiManager.d.ts
新增 NA 类名:TCPSocketConnection;
方法or属性:close(callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketConnection;
方法or属性:close(callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
新增 NA 类名:TCPSocketConnection;
方法or属性:close(): Promise<void>;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketConnection;
方法or属性:close(): Promise<void>;
@ohos.net.socket.d.ts
新增 NA 类名:TCPSocketServer;
方法or属性:getState(callback: AsyncCallback<SocketStateBase>): void;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketServer;
方法or属性:getState(callback: AsyncCallback<SocketStateBase>): void;
@ohos.net.socket.d.ts
新增 NA 类名:TCPSocketServer;
方法or属性:getState(): Promise<SocketStateBase>;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketServer;
方法or属性:getState(): Promise<SocketStateBase>;
@ohos.net.socket.d.ts
新增 NA 类名:TCPSocketConnection;
方法or属性:on(type: 'message', callback: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketConnection;
方法or属性:on(type: 'message', callback: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
@ohos.net.socket.d.ts
新增 NA 类名:TCPSocketConnection;
方法or属性:on(type: 'error', callback: ErrorCallback): void;
@ohos.net.socket.d.ts
新增 NA 类名:TCPSocketServer;
方法or属性:on(type: 'error', callback: ErrorCallback): void;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketConnection;
方法or属性:on(type: 'error', callback: ErrorCallback): void;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketServer;
方法or属性:on(type: 'error', callback: ErrorCallback): void;
@ohos.net.socket.d.ts
新增 NA 类名:TCPSocketConnection;
方法or属性:off(type: 'message', callback?: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketConnection;
方法or属性:off(type: 'message', callback?: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
@ohos.net.socket.d.ts
新增 NA 类名:TCPSocketConnection;
方法or属性:off(type: 'error', callback?: ErrorCallback): void;
@ohos.net.socket.d.ts
新增 NA 类名:TCPSocketServer;
方法or属性:off(type: 'error', callback?: ErrorCallback): void;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketConnection;
方法or属性:off(type: 'error', callback?: ErrorCallback): void;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketServer;
方法or属性:off(type: 'error', callback?: ErrorCallback): void;
@ohos.net.socket.d.ts
新增 NA 类名:TCPSocketConnection;
方法or属性:send(options: TCPSendOptions, callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
新增 NA 类名:TCPSocketConnection;
方法or属性:send(options: TCPSendOptions): Promise<void>;
@ohos.net.socket.d.ts
新增 NA 类名:TCPSocketConnection;
方法or属性:getRemoteAddress(callback: AsyncCallback<NetAddress>): void;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketConnection;
方法or属性:getRemoteAddress(callback: AsyncCallback<NetAddress>): void;
@ohos.net.socket.d.ts
新增 NA 类名:TCPSocketConnection;
方法or属性:getRemoteAddress(): Promise<NetAddress>;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketConnection;
方法or属性:getRemoteAddress(): Promise<NetAddress>;
@ohos.net.socket.d.ts
新增 NA 类名:TCPSocketServer;
方法or属性:setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketServer;
方法or属性:setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
新增 NA 类名:TCPSocketServer;
方法or属性:setExtraOptions(options: TCPExtraOptions): Promise<void>;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketServer;
方法or属性:setExtraOptions(options: TCPExtraOptions): Promise<void>;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketServer;
方法or属性:getCertificate(callback: AsyncCallback<X509CertRawData>): void;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketServer;
方法or属性:getCertificate(): Promise<X509CertRawData>;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketConnection;
方法or属性:getRemoteCertificate(callback: AsyncCallback<X509CertRawData>): void;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketConnection;
方法or属性:getRemoteCertificate(): Promise<X509CertRawData>;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketServer;
方法or属性:getProtocol(callback: AsyncCallback<string>): void;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketServer;
方法or属性:getProtocol(): Promise<string>;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketConnection;
方法or属性:getCipherSuite(callback: AsyncCallback<Array<string>>): void;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketConnection;
方法or属性:getCipherSuite(): Promise<Array<string>>;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketConnection;
方法or属性:getSignatureAlgorithms(callback: AsyncCallback<Array<string>>): void;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketConnection;
方法or属性:getSignatureAlgorithms(): Promise<Array<string>>;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketConnection;
方法or属性:send(data: string, callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
新增 NA 类名:TLSSocketConnection;
方法or属性:send(data: string): Promise<void>;
@ohos.net.socket.d.ts
新增 NA 类名:a2dp;
方法or属性:type BaseProfile = baseProfile.BaseProfile;
@ohos.bluetooth.a2dp.d.ts
新增 NA 类名:a2dp;
方法or属性:function createA2dpSrcProfile(): A2dpSourceProfile;
@ohos.bluetooth.a2dp.d.ts
新增 NA 类名:A2dpSourceProfile;
方法or属性:connect(deviceId: string): void;
@ohos.bluetooth.a2dp.d.ts
新增 NA 类名:A2dpSourceProfile;
方法or属性:disconnect(deviceId: string): void;
@ohos.bluetooth.a2dp.d.ts
新增 NA 类名:A2dpSourceProfile;
方法or属性:getPlayingState(deviceId: string): PlayingState;
@ohos.bluetooth.a2dp.d.ts
新增 NA 类名:PlayingState;
方法or属性:STATE_NOT_PLAYING
@ohos.bluetooth.a2dp.d.ts
新增 NA 类名:PlayingState;
方法or属性:STATE_PLAYING
@ohos.bluetooth.a2dp.d.ts
新增 NA 类名:access;
方法or属性:function enableBluetooth(): void;
@ohos.bluetooth.access.d.ts
新增 NA 类名:access;
方法or属性:function disableBluetooth(): void;
@ohos.bluetooth.access.d.ts
新增 NA 类名:access;
方法or属性:function getState(): BluetoothState;
@ohos.bluetooth.access.d.ts
新增 NA 类名:access;
方法or属性:function on(type: 'stateChange', callback: Callback<BluetoothState>): void;
@ohos.bluetooth.access.d.ts
新增 NA 类名:access;
方法or属性:function off(type: 'stateChange', callback?: Callback<BluetoothState>): void;
@ohos.bluetooth.access.d.ts
新增 NA 类名:BluetoothState;
方法or属性:STATE_OFF = 0
@ohos.bluetooth.access.d.ts
新增 NA 类名:BluetoothState;
方法or属性:STATE_TURNING_ON = 1
@ohos.bluetooth.access.d.ts
新增 NA 类名:BluetoothState;
方法or属性:STATE_ON = 2
@ohos.bluetooth.access.d.ts
新增 NA 类名:BluetoothState;
方法or属性:STATE_TURNING_OFF = 3
@ohos.bluetooth.access.d.ts
新增 NA 类名:BluetoothState;
方法or属性:STATE_BLE_TURNING_ON = 4
@ohos.bluetooth.access.d.ts
新增 NA 类名:BluetoothState;
方法or属性:STATE_BLE_ON = 5
@ohos.bluetooth.access.d.ts
新增 NA 类名:BluetoothState;
方法or属性:STATE_BLE_TURNING_OFF = 6
@ohos.bluetooth.access.d.ts
新增 NA 类名:baseProfile;
方法or属性:type ProfileConnectionState = constant.ProfileConnectionState;
@ohos.bluetooth.baseProfile.d.ts
新增 NA 类名:ConnectionStrategy;
方法or属性:CONNECTION_STRATEGY_UNSUPPORTED = 0
@ohos.bluetooth.baseProfile.d.ts
新增 NA 类名:ConnectionStrategy;
方法or属性:CONNECTION_STRATEGY_ALLOWED = 1
@ohos.bluetooth.baseProfile.d.ts
新增 NA 类名:ConnectionStrategy;
方法or属性:CONNECTION_STRATEGY_FORBIDDEN = 2
@ohos.bluetooth.baseProfile.d.ts
新增 NA 类名:StateChangeParam;
方法or属性:deviceId: string;
@ohos.bluetooth.baseProfile.d.ts
新增 NA 类名:StateChangeParam;
方法or属性:state: ProfileConnectionState;
@ohos.bluetooth.baseProfile.d.ts
新增 NA 类名:BaseProfile;
方法or属性:setConnectionStrategy(deviceId: string, strategy: ConnectionStrategy): Promise<void>;
@ohos.bluetooth.baseProfile.d.ts
新增 NA 类名:BaseProfile;
方法or属性:setConnectionStrategy(deviceId: string, strategy: ConnectionStrategy, callback: AsyncCallback<void>): void;
@ohos.bluetooth.baseProfile.d.ts
新增 NA 类名:BaseProfile;
方法or属性:getConnectionStrategy(deviceId: string, callback: AsyncCallback<ConnectionStrategy>): void;
@ohos.bluetooth.baseProfile.d.ts
新增 NA 类名:BaseProfile;
方法or属性:getConnectionStrategy(deviceId: string): Promise<ConnectionStrategy>;
@ohos.bluetooth.baseProfile.d.ts
新增 NA 类名:BaseProfile;
方法or属性:getConnectedDevices(): Array<string>;
@ohos.bluetooth.baseProfile.d.ts
新增 NA 类名:BaseProfile;
方法or属性:getConnectionState(deviceId: string): ProfileConnectionState;
@ohos.bluetooth.baseProfile.d.ts
新增 NA 类名:BaseProfile;
方法or属性:on(type: 'connectionStateChange', callback: Callback<StateChangeParam>): void;
@ohos.bluetooth.baseProfile.d.ts
新增 NA 类名:BaseProfile;
方法or属性:off(type: 'connectionStateChange', callback?: Callback<StateChangeParam>): void;
@ohos.bluetooth.baseProfile.d.ts
新增 NA 类名:ble;
方法or属性:type ProfileConnectionState = constant.ProfileConnectionState;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:ble;
方法or属性:function createGattServer(): GattServer;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:ble;
方法or属性:function createGattClientDevice(deviceId: string): GattClientDevice;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:ble;
方法or属性:function getConnectedBLEDevices(): Array<string>;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:ble;
方法or属性:function startBLEScan(filters: Array<ScanFilter>, options?: ScanOptions): void;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:ble;
方法or属性:function stopBLEScan(): void;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:ble;
方法or属性:function startAdvertising(setting: AdvertiseSetting, advData: AdvertiseData, advResponse?: AdvertiseData): void;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:ble;
方法or属性:function stopAdvertising(): void;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:ble;
方法or属性:function on(type: 'BLEDeviceFind', callback: Callback<Array<ScanResult>>): void;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:ble;
方法or属性:function off(type: 'BLEDeviceFind', callback?: Callback<Array<ScanResult>>): void;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:GattServer;
方法or属性:addService(service: GattService): void;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:GattServer;
方法or属性:removeService(serviceUuid: string): void;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:GattServer;
方法or属性:close(): void;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:GattClientDevice;
方法or属性:close(): void;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:GattServer;
方法or属性:notifyCharacteristicChanged(

deviceId: string,

notifyCharacteristic: NotifyCharacteristic,

callback: AsyncCallback<void>

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

characteristic: BLECharacteristic,

writeType: GattWriteType,

callback: AsyncCallback<void>

): void;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:GattClientDevice;
方法or属性:writeCharacteristicValue(characteristic: BLECharacteristic, writeType: GattWriteType): Promise<void>;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:GattClientDevice;
方法or属性:writeDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<void>): void;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:GattClientDevice;
方法or属性:writeDescriptorValue(descriptor: BLEDescriptor): Promise<void>;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:GattClientDevice;
方法or属性:getRssiValue(callback: AsyncCallback<number>): void;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:GattClientDevice;
方法or属性:getRssiValue(): Promise<number>;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:GattClientDevice;
方法or属性:setBLEMtuSize(mtu: number): void;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:GattClientDevice;
方法or属性:setCharacteristicChangeNotification(

characteristic: BLECharacteristic,

enable: boolean,

callback: AsyncCallback<void>

): void;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:GattClientDevice;
方法or属性:setCharacteristicChangeNotification(characteristic: BLECharacteristic, enable: boolean): Promise<void>;
@ohos.bluetooth.ble.d.ts
新增 NA 类名:GattClientDevice;
方法or属性:setCharacteristicChangeIndication(

characteristic: BLECharacteristic,

enable: boolean,

callback: AsyncCallback<void>

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

profileId: ProfileId

): A2dpSourceProfile | HandsFreeAudioGatewayProfile | HidHostProfile | PanProfile;
旧版本信息:
类名:bluetoothManager;
方法or属性:function getProfileInstance(

profileId: ProfileId

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

code: number,

data: MessageParcel,

reply: MessageParcel,

options: MessageOption

): Promise<SendRequestResult>;
旧版本信息:Throws
类名:IRemoteObject;
方法or属性:sendRequest(

code: number,

data: MessageParcel,

reply: MessageParcel,

options: MessageOption

): Promise<SendRequestResult>;
新版本信息:
@ohos.rpc.d.ts
错误码有变化 类名:RemoteObject;
方法or属性:sendRequest(

code: number,

data: MessageParcel,

reply: MessageParcel,

options: MessageOption

): Promise<SendRequestResult>;
旧版本信息:Throws
类名:RemoteObject;
方法or属性:sendRequest(

code: number,

data: MessageParcel,

reply: MessageParcel,

options: MessageOption

): Promise<SendRequestResult>;
新版本信息:
@ohos.rpc.d.ts
错误码有变化 类名:RemoteProxy;
方法or属性:sendRequest(

code: number,

data: MessageParcel,

reply: MessageParcel,

options: MessageOption

): Promise<SendRequestResult>;
旧版本信息:Throws
类名:RemoteProxy;
方法or属性:sendRequest(

code: number,

data: MessageParcel,

reply: MessageParcel,

options: MessageOption

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

搜索帮助