| 操作 | 旧版本 | 新版本 | 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;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;
方法or属性:close(callback: AsyncCallback\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketConnection;
方法or属性:close(): Promise\;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;
方法or属性:close(): Promise\;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketServer;
方法or属性:getState(callback: AsyncCallback\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;
方法or属性:getState(callback: AsyncCallback\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketServer;
方法or属性:getState(): Promise\;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;
方法or属性:getState(): Promise\;|@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;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketConnection;
方法or属性:send(options: TCPSendOptions): Promise\;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketConnection;
方法or属性:getRemoteAddress(callback: AsyncCallback\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;
方法or属性:getRemoteAddress(callback: AsyncCallback\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketConnection;
方法or属性:getRemoteAddress(): Promise\;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;
方法or属性:getRemoteAddress(): Promise\;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketServer;
方法or属性:setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;
方法or属性:setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketServer;
方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;
方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;
方法or属性:getCertificate(callback: AsyncCallback\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;
方法or属性:getCertificate(): Promise\;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;
方法or属性:getRemoteCertificate(callback: AsyncCallback\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;
方法or属性:getRemoteCertificate(): Promise\;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;
方法or属性:getProtocol(callback: AsyncCallback\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;
方法or属性:getProtocol(): Promise\;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;
方法or属性:getCipherSuite(callback: AsyncCallback\>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;
方法or属性:getCipherSuite(): Promise\>;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;
方法or属性:getSignatureAlgorithms(callback: AsyncCallback\>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;
方法or属性:getSignatureAlgorithms(): Promise\>;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;
方法or属性:send(data: string, callback: AsyncCallback\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;
方法or属性:send(data: string): Promise\;|@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\): void;|@ohos.bluetooth.access.d.ts|
|新增|NA|类名:access;
方法or属性:function off(type: 'stateChange', callback?: Callback\): 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\;|@ohos.bluetooth.baseProfile.d.ts|
|新增|NA|类名:BaseProfile;
方法or属性:setConnectionStrategy(deviceId: string, strategy: ConnectionStrategy, callback: AsyncCallback\): void;|@ohos.bluetooth.baseProfile.d.ts|
|新增|NA|类名:BaseProfile;
方法or属性:getConnectionStrategy(deviceId: string, callback: AsyncCallback\): void;|@ohos.bluetooth.baseProfile.d.ts|
|新增|NA|类名:BaseProfile;
方法or属性:getConnectionStrategy(deviceId: string): Promise\;|@ohos.bluetooth.baseProfile.d.ts|
|新增|NA|类名:BaseProfile;
方法or属性:getConnectedDevices(): Array\;|@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\): void;|@ohos.bluetooth.baseProfile.d.ts|
|新增|NA|类名:BaseProfile;
方法or属性:off(type: 'connectionStateChange', callback?: Callback\): 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\;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:ble;
方法or属性:function startBLEScan(filters: Array\, 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\>): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:ble;
方法or属性:function off(type: 'BLEDeviceFind', callback?: Callback\>): 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;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattServer;
方法or属性:notifyCharacteristicChanged(deviceId: string, notifyCharacteristic: NotifyCharacteristic): Promise\;|@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\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattServer;
方法or属性:on(type: 'characteristicWrite', callback: Callback\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattServer;
方法or属性:on(type: 'descriptorRead', callback: Callback\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattServer;
方法or属性:on(type: 'descriptorWrite', callback: Callback\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattServer;
方法or属性:on(type: 'connectionStateChange', callback: Callback\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattServer;
方法or属性:on(type: 'BLEMtuChange', callback: Callback\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:on(type: 'BLEMtuChange', callback: Callback\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattServer;
方法or属性:off(type: 'characteristicRead', callback?: Callback\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattServer;
方法or属性:off(type: 'characteristicWrite', callback?: Callback\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattServer;
方法or属性:off(type: 'descriptorRead', callback?: Callback\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattServer;
方法or属性:off(type: 'descriptorWrite', callback?: Callback\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattServer;
方法or属性:off(type: 'connectionStateChange', callback?: Callback\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattServer;
方法or属性:off(type: 'BLEMtuChange', callback?: Callback\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:off(type: 'BLEMtuChange', callback?: Callback\): 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\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:getDeviceName(): Promise\;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:getServices(callback: AsyncCallback\>): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:getServices(): Promise\>;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:readCharacteristicValue(characteristic: BLECharacteristic, callback: AsyncCallback\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:readCharacteristicValue(characteristic: BLECharacteristic): Promise\;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:readDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:readDescriptorValue(descriptor: BLEDescriptor): Promise\;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:writeCharacteristicValue(
characteristic: BLECharacteristic,
writeType: GattWriteType,
callback: AsyncCallback\
): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:writeCharacteristicValue(characteristic: BLECharacteristic, writeType: GattWriteType): Promise\;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:writeDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:writeDescriptorValue(descriptor: BLEDescriptor): Promise\;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:getRssiValue(callback: AsyncCallback\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:getRssiValue(): Promise\;|@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;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:setCharacteristicChangeNotification(characteristic: BLECharacteristic, enable: boolean): Promise\;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:setCharacteristicChangeIndication(
characteristic: BLECharacteristic,
enable: boolean,
callback: AsyncCallback\
): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:setCharacteristicChangeIndication(characteristic: BLECharacteristic, enable: boolean): Promise\;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:on(type: 'BLECharacteristicChange', callback: Callback\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:on(type: 'BLEConnectionStateChange', callback: Callback\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:off(type: 'BLECharacteristicChange', callback?: Callback\): void;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattClientDevice;
方法or属性:off(type: 'BLEConnectionStateChange', callback?: Callback\): 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\;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:GattService;
方法or属性:includeServices?: Array\;|@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\;|@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\;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:AdvertiseData;
方法or属性:manufactureData: Array\;|@ohos.bluetooth.ble.d.ts|
|新增|NA|类名:AdvertiseData;
方法or属性:serviceData: Array\;|@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;|@ohos.bluetooth.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function pairDevice(deviceId: string): Promise\;|@ohos.bluetooth.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function pairCredibleDevice(deviceId: string, transport: BluetoothTransport, callback: AsyncCallback\): void;|@ohos.bluetooth.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function pairCredibleDevice(deviceId: string, transport: BluetoothTransport): Promise\;|@ohos.bluetooth.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function cancelPairedDevice(deviceId: string, callback: AsyncCallback\): void;|@ohos.bluetooth.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function cancelPairedDevice(deviceId: string): Promise\;|@ohos.bluetooth.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function cancelPairingDevice(deviceId: string, callback: AsyncCallback\): void;|@ohos.bluetooth.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function cancelPairingDevice(deviceId: string): Promise\;|@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\;|@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;|@ohos.bluetooth.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function setDevicePinCode(deviceId: string, code: string): Promise\;|@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\>): void;|@ohos.bluetooth.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function getLocalProfileUuids(): Promise\>;|@ohos.bluetooth.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function getRemoteProfileUuids(deviceId: string, callback: AsyncCallback\>): void;|@ohos.bluetooth.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function getRemoteProfileUuids(deviceId: string): Promise\>;|@ohos.bluetooth.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function on(type: 'bluetoothDeviceFind', callback: Callback\>): void;|@ohos.bluetooth.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function on(type: 'bondStateChange', callback: Callback\): void;|@ohos.bluetooth.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function on(type: 'pinRequired', callback: Callback\): void;|@ohos.bluetooth.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function off(type: 'bluetoothDeviceFind', callback?: Callback\>): void;|@ohos.bluetooth.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function off(type: 'bondStateChange', callback?: Callback\): void;|@ohos.bluetooth.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function off(type: 'pinRequired', callback?: Callback\): 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\): void;|@ohos.bluetooth.socket.d.ts|
|新增|NA|类名:socket;
方法or属性:function sppAccept(serverSocket: number, callback: AsyncCallback\): void;|@ohos.bluetooth.socket.d.ts|
|新增|NA|类名:socket;
方法or属性:function sppConnect(deviceId: string, options: SppOptions, callback: AsyncCallback\): 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\): void;|@ohos.bluetooth.socket.d.ts|
|新增|NA|类名:socket;
方法or属性:function off(type: 'sppRead', clientSocket: number, callback?: Callback\): 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\;|@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\): void;|@ohos.net.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function getDefaultHttpProxy(): Promise\;|@ohos.net.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function getGlobalHttpProxy(callback: AsyncCallback\): void;|@ohos.net.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function getGlobalHttpProxy(): Promise\;|@ohos.net.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function setGlobalHttpProxy(httpProxy: HttpProxy, callback: AsyncCallback\): void;|@ohos.net.connection.d.ts|
|新增|NA|类名:connection;
方法or属性:function setGlobalHttpProxy(httpProxy: HttpProxy): Promise\;|@ohos.net.connection.d.ts|
|新增|NA|类名:NetConnection;
方法or属性:on(type: 'netCapabilitiesChange', callback: Callback\): 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\;|@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\): void;|@ohos.net.http.d.ts|
|新增|NA|类名:HttpRequest;
方法or属性:requestInStream(url: string, options: HttpRequestOptions, callback: AsyncCallback\): void;|@ohos.net.http.d.ts|
|新增|NA|类名:HttpRequest;
方法or属性:requestInStream(url: string, options?: HttpRequestOptions): Promise\;|@ohos.net.http.d.ts|
|新增|NA|类名:HttpRequest;
方法or属性:on(type: "dataReceive", callback: Callback\): void;|@ohos.net.http.d.ts|
|新增|NA|类名:HttpRequest;
方法or属性:on(type: "dataEnd", callback: Callback\): 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\): void;|@ohos.net.http.d.ts|
|新增|NA|类名:HttpRequest;
方法or属性:off(type: "dataEnd", callback?: Callback\): 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\): void;|@ohos.net.mdns.d.ts|
|新增|NA|类名:mdns;
方法or属性:function addLocalService(context: Context, serviceInfo: LocalServiceInfo): Promise\;|@ohos.net.mdns.d.ts|
|新增|NA|类名:mdns;
方法or属性:function removeLocalService(context: Context, serviceInfo: LocalServiceInfo,
callback: AsyncCallback\): void;|@ohos.net.mdns.d.ts|
|新增|NA|类名:mdns;
方法or属性:function removeLocalService(context: Context, serviceInfo: LocalServiceInfo): Promise\;|@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\): void;|@ohos.net.mdns.d.ts|
|新增|NA|类名:mdns;
方法or属性:function resolveLocalService(context: Context, serviceInfo: LocalServiceInfo): Promise\;|@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\): void;|@ohos.net.mdns.d.ts|
|新增|NA|类名:DiscoveryService;
方法or属性:on(type: 'serviceLost', callback: Callback\): 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\): void;|@ohos.net.mdns.d.ts|
|新增|NA|类名:DiscoveryService;
方法or属性:off(type: 'serviceLost', callback?: Callback\): 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\;|@ohos.net.mdns.d.ts|
|新增|NA|类名:ServiceAttribute;
方法or属性:key: string;|@ohos.net.mdns.d.ts|
|新增|NA|类名:ServiceAttribute;
方法or属性:value: Array\;|@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;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function setBackgroundAllowed(isAllowed: boolean): Promise\;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function isBackgroundAllowed(callback: AsyncCallback\): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function isBackgroundAllowed(): Promise\;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function getBackgroundPolicyByUid(uid: number, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function getBackgroundPolicyByUid(uid: number): Promise\;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function setPolicyByUid(uid: number, policy: NetUidPolicy, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function setPolicyByUid(uid: number, policy: NetUidPolicy): Promise\;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function getPolicyByUid(uid: number, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function getPolicyByUid(uid: number): Promise\;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function getUidsByPolicy(policy: NetUidPolicy, callback: AsyncCallback\>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function getUidsByPolicy(policy: NetUidPolicy): Promise\>;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function isUidNetAllowed(uid: number, isMetered: boolean, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function isUidNetAllowed(uid: number, isMetered: boolean): Promise\;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function isUidNetAllowed(uid: number, iface: string, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function isUidNetAllowed(uid: number, iface: string): Promise\;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function setNetQuotaPolicies(quotaPolicies: Array\, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function setNetQuotaPolicies(quotaPolicies: Array\): Promise\;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function getNetQuotaPolicies(callback: AsyncCallback\>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function getNetQuotaPolicies(): Promise\>;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function updateRemindPolicy(netType: NetBearType, simId: string, remindType: RemindType, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function updateRemindPolicy(netType: NetBearType, simId: string, remindType: RemindType): Promise\;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function setDeviceIdleTrustlist(uids: Array\, isAllowed: boolean, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function setDeviceIdleTrustlist(uids: Array\, isAllowed: boolean): Promise\;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function getDeviceIdleTrustlist(callback: AsyncCallback\>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function getDeviceIdleTrustlist(): Promise\>;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function setPowerSaveTrustlist(uids: Array\, isAllowed: boolean, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function setPowerSaveTrustlist(uids: Array\, isAllowed: boolean): Promise\;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function getPowerSaveTrustlist(callback: AsyncCallback\>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function getPowerSaveTrustlist(): Promise\>;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function resetPolicies(simId: string, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function resetPolicies(simId: string): Promise\;|@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\>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function on(type: 'netQuotaPolicyChange', callback: Callback\>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function on(type: 'netBackgroundPolicyChange', callback: Callback\): 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\>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function off(type: 'netQuotaPolicyChange', callback?: Callback\>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;
方法or属性:function off(type: 'netBackgroundPolicyChange', callback?: Callback\): 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\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocket;
方法or属性:getSocketFd(): Promise\;|@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;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;
方法or属性:on(type: 'close', callback: Callback\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketConnection;
方法or属性:off(type: 'close', callback?: Callback\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;
方法or属性:off(type: 'close', callback?: Callback\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketServer;
方法or属性:listen(address: NetAddress, callback: AsyncCallback\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketServer;
方法or属性:listen(address: NetAddress): Promise\;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketServer;
方法or属性:on(type: 'connect', callback: Callback\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketServer;
方法or属性:off(type: 'connect', callback?: Callback\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;
方法or属性:listen(options: TLSConnectOptions, callback: AsyncCallback\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;
方法or属性:listen(options: TLSConnectOptions): Promise\;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;
方法or属性:on(type: 'connect', callback: Callback\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;
方法or属性:off(type: 'connect', callback?: Callback\): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:statistics;
方法or属性:function getIfaceRxBytes(nic: string, callback: AsyncCallback\): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;
方法or属性:function getIfaceRxBytes(nic: string): Promise\;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;
方法or属性:function getIfaceTxBytes(nic: string, callback: AsyncCallback\): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;
方法or属性:function getIfaceTxBytes(nic: string): Promise\;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;
方法or属性:function getCellularRxBytes(callback: AsyncCallback\): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;
方法or属性:function getCellularRxBytes(): Promise\;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;
方法or属性:function getCellularTxBytes(callback: AsyncCallback\): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;
方法or属性:function getCellularTxBytes(): Promise\;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;
方法or属性:function getAllRxBytes(callback: AsyncCallback\): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;
方法or属性:function getAllRxBytes(): Promise\;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;
方法or属性:function getAllTxBytes(callback: AsyncCallback\): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;
方法or属性:function getAllTxBytes(): Promise\;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;
方法or属性:function getUidRxBytes(uid: number, callback: AsyncCallback\): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;
方法or属性:function getUidRxBytes(uid: number): Promise\;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;
方法or属性:function getUidTxBytes(uid: number, callback: AsyncCallback\): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;
方法or属性:function getUidTxBytes(uid: number): Promise\;|@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\): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;
方法or属性:function getTrafficStatsByIface(ifaceInfo: IfaceInfo): Promise\;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;
方法or属性:function getTrafficStatsByUid(uidInfo: UidInfo, callback: AsyncCallback\): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;
方法or属性:function getTrafficStatsByUid(uidInfo: UidInfo): Promise\;|@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\): void;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConnection;
方法or属性:setUp(config: VpnConfig): Promise\;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConnection;
方法or属性:protect(socketFd: number, callback: AsyncCallback\): void;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConnection;
方法or属性:protect(socketFd: number): Promise\;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConnection;
方法or属性:destroy(callback: AsyncCallback\): void;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConnection;
方法or属性:destroy(): Promise\;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConfig;
方法or属性:addresses: Array\;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConfig;
方法or属性:routes?: Array\;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConfig;
方法or属性:dnsAddresses?: Array\;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConfig;
方法or属性:searchDomains?: Array\;|@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\;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConfig;
方法or属性:blockedApplications?: Array\;|@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\
): 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\): 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\;|@ohos.secureElement.d.ts|
|新增|NA|类名:Session;
方法or属性:openBasicChannel(aid: number[], callback: AsyncCallback\): void;|@ohos.secureElement.d.ts|
|新增|NA|类名:Session;
方法or属性:openBasicChannel(aid: number[], p2: number): Promise\;|@ohos.secureElement.d.ts|
|新增|NA|类名:Session;
方法or属性:openBasicChannel(aid: number[], p2: number, callback: AsyncCallback\): void;|@ohos.secureElement.d.ts|
|新增|NA|类名:Session;
方法or属性:openLogicalChannel(aid: number[]): Promise\;|@ohos.secureElement.d.ts|
|新增|NA|类名:Session;
方法or属性:openLogicalChannel(aid: number[], callback: AsyncCallback\): void;|@ohos.secureElement.d.ts|
|新增|NA|类名:Session;
方法or属性:openLogicalChannel(aid: number[], p2: number): Promise\;|@ohos.secureElement.d.ts|
|新增|NA|类名:Session;
方法or属性:openLogicalChannel(aid: number[], p2: number, callback: AsyncCallback\): 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\;|@ohos.secureElement.d.ts|
|新增|NA|类名:Channel;
方法or属性:transmit(command: number[], callback: AsyncCallback\): 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\;|@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\;|@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\;
旧版本信息:|类名:bluetoothManager;
方法or属性:function getPairedDevices(): Array\;
新版本信息: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\>): void;
旧版本信息:|类名:bluetoothManager;
方法or属性:function on(type: 'bluetoothDeviceFind', callback: Callback\>): void;
新版本信息:10
代替接口: ohos.bluetooth.connection/connection.on#event:bluetoothDeviceFind|@ohos.bluetoothManager.d.ts|
|废弃版本有变化|类名:bluetoothManager;
方法or属性:function on(type: 'bondStateChange', callback: Callback\): void;
旧版本信息:|类名:bluetoothManager;
方法or属性:function on(type: 'bondStateChange', callback: Callback\): void;
新版本信息:10
代替接口: ohos.bluetooth.connection/connection.on#event:bondStateChange|@ohos.bluetoothManager.d.ts|
|废弃版本有变化|类名:bluetoothManager;
方法or属性:function on(type: 'pinRequired', callback: Callback\): void;
旧版本信息:|类名:bluetoothManager;
方法or属性:function on(type: 'pinRequired', callback: Callback\): void;
新版本信息:10
代替接口: ohos.bluetooth.connection/connection.on#event:pinRequired|@ohos.bluetoothManager.d.ts|
|废弃版本有变化|类名:bluetoothManager;
方法or属性:function on(type: 'stateChange', callback: Callback\): void;