Change Type Old Version New Version d.ts File
Deleted Class name: wifiManager;
Method or attribute name: function getScanInfoList(): Array<WifiScanInfo>;
NA @ohos.wifiManager.d.ts
Deleted Class name: wifiManager;
Method or attribute name: function updateDeviceConfig(config: WifiDeviceConfig): number;
NA @ohos.wifiManager.d.ts
Deleted Class name: wifiManager;
Method or attribute name: function disableDeviceConfig(networkId: number): void;
NA @ohos.wifiManager.d.ts
Deleted Class name: wifiManager;
Method or attribute name: function removeAllDeviceConfigs(): void;
NA @ohos.wifiManager.d.ts
Deleted Class name: wifiManager;
Method or attribute name: function removeDeviceConfig(networkId: number): void;
NA @ohos.wifiManager.d.ts
Deleted Class name: wifiManager;
Method or attribute name: function getHotspotStations(): Array<StationInfo>;
NA @ohos.wifiManager.d.ts
Deleted Class name: wifiManager;
Method or attribute name: function createP2pGroup(config: WifiP2PConfig): void;
NA @ohos.wifiManager.d.ts
Deleted Class name: wifiManager;
Method or attribute name: function removeP2pGroup(): void;
NA @ohos.wifiManager.d.ts
Deleted Class name: wifiManager;
Method or attribute name: function startDiscoverP2pDevices(): void;
NA @ohos.wifiManager.d.ts
Deleted Class name: wifiManager;
Method or attribute name: function stopDiscoverP2pDevices(): void;
NA @ohos.wifiManager.d.ts
Deleted Class name: wifiManager;
Method or attribute name: function deletePersistentP2pGroup(netId: number): void;
NA @ohos.wifiManager.d.ts
Deleted Class name: wifiManager;
Method or attribute name: function setP2pDeviceName(devName: string): void;
NA @ohos.wifiManager.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: close(): Promise<void>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: close(): Promise<void>;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketServer;
Method or attribute name: getState(): Promise<SocketStateBase>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: getState(): Promise<SocketStateBase>;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: send(options: TCPSendOptions): Promise<void>;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketServer;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: getCertificate(): Promise<X509CertRawData>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: getRemoteCertificate(): Promise<X509CertRawData>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: getProtocol(): Promise<string>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: getCipherSuite(): Promise<Array<string>>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: getSignatureAlgorithms(): Promise<Array<string>>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: send(data: string): Promise<void>;
@ohos.net.socket.d.ts
Added NA Class name: bluetoothManager;
Method or attribute name: function pairCredibleDevice(deviceId: string, transport: BluetoothTransport, callback: AsyncCallback<void>): void;
@ohos.bluetoothManager.d.ts
Added NA Class name: bluetoothManager;
Method or attribute name: function pairCredibleDevice(deviceId: string, transport: BluetoothTransport): Promise<void>;
@ohos.bluetoothManager.d.ts
Added NA Class name: bluetoothManager;
Method or attribute name: function getRemoteProfileUuids(device: string, callback: AsyncCallback<Array<ProfileUuids>>): void;
@ohos.bluetoothManager.d.ts
Added NA Class name: bluetoothManager;
Method or attribute name: function getRemoteProfileUuids(device: string): Promise<Array<ProfileUuids>>;
@ohos.bluetoothManager.d.ts
Added NA Class name: bluetoothManager;
Method or attribute name: function getLocalProfileUuids(callback: AsyncCallback<Array<ProfileUuids>>): void;
@ohos.bluetoothManager.d.ts
Added NA Class name: bluetoothManager;
Method or attribute name: function getLocalProfileUuids(): Promise<Array<ProfileUuids>>;
@ohos.bluetoothManager.d.ts
Added NA Class name: BaseProfile;
Method or attribute name: setConnectionStrategy(device: string, strategy: ConnectionStrategy, callback: AsyncCallback<void>): void;
@ohos.bluetoothManager.d.ts
Added NA Class name: BaseProfile;
Method or attribute name: setConnectionStrategy(device: string, strategy: ConnectionStrategy): Promise<void>;
@ohos.bluetoothManager.d.ts
Added NA Class name: BaseProfile;
Method or attribute name: getConnectionStrategy(device: string, callback: AsyncCallback<ConnectionStrategy>): void;
@ohos.bluetoothManager.d.ts
Added NA Class name: BaseProfile;
Method or attribute name: getConnectionStrategy(device: string): Promise<ConnectionStrategy>;
@ohos.bluetoothManager.d.ts
Added NA Class name: AdvertiseData;
Method or attribute name: includeDeviceName?: boolean;
@ohos.bluetoothManager.d.ts
Added NA Class name: BluetoothTransport;
Method or attribute name: TRANSPORT_BR_EDR = 0
@ohos.bluetoothManager.d.ts
Added NA Class name: BluetoothTransport;
Method or attribute name: TRANSPORT_LE = 1
@ohos.bluetoothManager.d.ts
Added NA Class name: ConnectionStrategy;
Method or attribute name: CONNECT_STRATEGY_UNSUPPORTED = 0
@ohos.bluetoothManager.d.ts
Added NA Class name: ConnectionStrategy;
Method or attribute name: CONNECT_STRATEGY_ALLOWED = 1
@ohos.bluetoothManager.d.ts
Added NA Class name: ConnectionStrategy;
Method or attribute name: CONNECT_STRATEGY_FORBIDDEN = 2
@ohos.bluetoothManager.d.ts
Added NA Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_HFP_AG = '0000111F-0000-1000-8000-00805F9B34FB'
@ohos.bluetoothManager.d.ts
Added NA Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_HFP_HF = '0000111E-0000-1000-8000-00805F9B34FB'
@ohos.bluetoothManager.d.ts
Added NA Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_HSP_AG = '00001112-0000-1000-8000-00805F9B34FB'
@ohos.bluetoothManager.d.ts
Added NA Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_HSP_HS = '00001108-0000-1000-8000-00805F9B34FB'
@ohos.bluetoothManager.d.ts
Added NA Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_A2DP_SRC = '0000110A-0000-1000-8000-00805F9B34FB'
@ohos.bluetoothManager.d.ts
Added NA Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_A2DP_SINK = '0000110B-0000-1000-8000-00805F9B34FB'
@ohos.bluetoothManager.d.ts
Added NA Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_AVRCP_CT = '0000110E-0000-1000-8000-00805F9B34FB'
@ohos.bluetoothManager.d.ts
Added NA Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_AVRCP_TG = '0000110C-0000-1000-8000-00805F9B34FB'
@ohos.bluetoothManager.d.ts
Added NA Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_HID = '00001124-0000-1000-8000-00805F9B34FB'
@ohos.bluetoothManager.d.ts
Added NA Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_HOGP = '00001812-0000-1000-8000-00805F9B34FB'
@ohos.bluetoothManager.d.ts
Added NA Class name: connection;
Method or attribute name: function getDefaultHttpProxy(callback: AsyncCallback<HttpProxy>): void;
@ohos.net.connection.d.ts
Added NA Class name: connection;
Method or attribute name: function getDefaultHttpProxy(): Promise<HttpProxy>;
@ohos.net.connection.d.ts
Added NA Class name: ethernet;
Method or attribute name: type HttpProxy = connection.HttpProxy;
@ohos.net.ethernet.d.ts
Added NA Class name: InterfaceConfiguration;
Method or attribute name: httpProxy?: HttpProxy;
@ohos.net.ethernet.d.ts
Added NA Class name: DiscoveryService;
Method or attribute name: off(type: 'discoveryStart', callback?: Callback<{ serviceInfo: LocalServiceInfo, errorCode?: MdnsError }>): void;
@ohos.net.mdns.d.ts
Added NA Class name: DiscoveryService;
Method or attribute name: off(type: 'discoveryStop', callback?: Callback<{ serviceInfo: LocalServiceInfo, errorCode?: MdnsError }>): void;
@ohos.net.mdns.d.ts
Added NA Class name: DiscoveryService;
Method or attribute name: off(type: 'serviceFound', callback?: Callback<LocalServiceInfo>): void;
@ohos.net.mdns.d.ts
Added NA Class name: DiscoveryService;
Method or attribute name: off(type: 'serviceLost', callback?: Callback<LocalServiceInfo>): void;
@ohos.net.mdns.d.ts
Added NA Class name: policy;
Method or attribute name: type NetBearType = connection.NetBearType;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function setBackgroundAllowed(isAllowed: boolean, callback: AsyncCallback<void>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function setBackgroundAllowed(isAllowed: boolean): Promise<void>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function isBackgroundAllowed(callback: AsyncCallback<boolean>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function isBackgroundAllowed(): Promise<boolean>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getBackgroundPolicyByUid(uid: number, callback: AsyncCallback<NetBackgroundPolicy>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getBackgroundPolicyByUid(uid: number): Promise<NetBackgroundPolicy>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function setPolicyByUid(uid: number, policy: NetUidPolicy, callback: AsyncCallback<void>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function setPolicyByUid(uid: number, policy: NetUidPolicy): Promise<void>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getPolicyByUid(uid: number, callback: AsyncCallback<NetUidPolicy>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getPolicyByUid(uid: number): Promise<NetUidPolicy>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getUidsByPolicy(policy: NetUidPolicy, callback: AsyncCallback<Array<number>>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getUidsByPolicy(policy: NetUidPolicy): Promise<Array<number>>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function isUidNetAllowed(uid: number, isMetered: boolean, callback: AsyncCallback<boolean>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function isUidNetAllowed(uid: number, isMetered: boolean): Promise<boolean>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function isUidNetAllowed(uid: number, iface: string, callback: AsyncCallback<boolean>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function isUidNetAllowed(uid: number, iface: string): Promise<boolean>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function setNetQuotaPolicies(quotaPolicies: Array<NetQuotaPolicy>, callback: AsyncCallback<void>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function setNetQuotaPolicies(quotaPolicies: Array<NetQuotaPolicy>): Promise<void>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getNetQuotaPolicies(callback: AsyncCallback<Array<NetQuotaPolicy>>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getNetQuotaPolicies(): Promise<Array<NetQuotaPolicy>>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function updateRemindPolicy(netType: NetBearType, simId: string, remindType: RemindType, callback: AsyncCallback<void>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function updateRemindPolicy(netType: NetBearType, simId: string, remindType: RemindType): Promise<void>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function setDeviceIdleTrustlist(uids: Array<number>, isAllowed: boolean, callback: AsyncCallback<void>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function setDeviceIdleTrustlist(uids: Array<number>, isAllowed: boolean): Promise<void>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getDeviceIdleTrustlist(callback: AsyncCallback<Array<number>>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getDeviceIdleTrustlist(): Promise<Array<number>>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function setPowerSaveTrustlist(uids: Array<number>, isAllowed: boolean, callback: AsyncCallback<void>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function setPowerSaveTrustlist(uids: Array<number>, isAllowed: boolean): Promise<void>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getPowerSaveTrustlist(callback: AsyncCallback<Array<number>>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function getPowerSaveTrustlist(): Promise<Array<number>>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function resetPolicies(simId: string, callback: AsyncCallback<void>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function resetPolicies(simId: string): Promise<void>;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function on(type: 'netUidPolicyChange', callback: Callback<{ uid: number, policy: NetUidPolicy }>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function on(type: 'netUidRuleChange', callback: Callback<{ uid: number, rule: NetUidRule }>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function on(type: 'netMeteredIfacesChange', callback: Callback<Array<string>>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function on(type: 'netQuotaPolicyChange', callback: Callback<Array<NetQuotaPolicy>>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function on(type: 'netBackgroundPolicyChange', callback: Callback<boolean>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function off(type: 'netUidPolicyChange', callback?: Callback<{ uid: number, policy: NetUidPolicy }>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function off(type: 'netUidRuleChange', callback?: Callback<{ uid: number, rule: NetUidRule }>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function off(type: 'netMeteredIfacesChange', callback?: Callback<Array<string>>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function off(type: 'netQuotaPolicyChange', callback?: Callback<Array<NetQuotaPolicy>>): void;
@ohos.net.policy.d.ts
Added NA Class name: policy;
Method or attribute name: function off(type: 'netBackgroundPolicyChange', callback?: Callback<boolean>): void;
@ohos.net.policy.d.ts
Added NA Class name: NetBackgroundPolicy;
Method or attribute name: NET_BACKGROUND_POLICY_NONE = 0
@ohos.net.policy.d.ts
Added NA Class name: NetBackgroundPolicy;
Method or attribute name: NET_BACKGROUND_POLICY_ENABLE = 1
@ohos.net.policy.d.ts
Added NA Class name: NetBackgroundPolicy;
Method or attribute name: NET_BACKGROUND_POLICY_DISABLE = 2
@ohos.net.policy.d.ts
Added NA Class name: NetBackgroundPolicy;
Method or attribute name: NET_BACKGROUND_POLICY_TRUSTLIST = 3
@ohos.net.policy.d.ts
Added NA Class name: NetQuotaPolicy;
Method or attribute name: networkMatchRule: NetworkMatchRule;
@ohos.net.policy.d.ts
Added NA Class name: NetQuotaPolicy;
Method or attribute name: quotaPolicy: QuotaPolicy;
@ohos.net.policy.d.ts
Added NA Class name: QuotaPolicy;
Method or attribute name: periodDuration: string;
@ohos.net.policy.d.ts
Added NA Class name: QuotaPolicy;
Method or attribute name: warningBytes: number;
@ohos.net.policy.d.ts
Added NA Class name: QuotaPolicy;
Method or attribute name: limitBytes: number;
@ohos.net.policy.d.ts
Added NA Class name: QuotaPolicy;
Method or attribute name: metered: boolean;
@ohos.net.policy.d.ts
Added NA Class name: QuotaPolicy;
Method or attribute name: limitAction: LimitAction;
@ohos.net.policy.d.ts
Added NA Class name: QuotaPolicy;
Method or attribute name: lastWarningRemind?: number;
@ohos.net.policy.d.ts
Added NA Class name: QuotaPolicy;
Method or attribute name: lastLimitRemind?: number;
@ohos.net.policy.d.ts
Added NA Class name: NetworkMatchRule;
Method or attribute name: netType: NetBearType;
@ohos.net.policy.d.ts
Added NA Class name: NetworkMatchRule;
Method or attribute name: identity: string;
@ohos.net.policy.d.ts
Added NA Class name: NetworkMatchRule;
Method or attribute name: simId: string;
@ohos.net.policy.d.ts
Added NA Class name: LimitAction;
Method or attribute name: LIMIT_ACTION_NONE = -1
@ohos.net.policy.d.ts
Added NA Class name: LimitAction;
Method or attribute name: LIMIT_ACTION_ACCESS_DISABLED = 0
@ohos.net.policy.d.ts
Added NA Class name: LimitAction;
Method or attribute name: LIMIT_ACTION_ALERT_ONLY = 1
@ohos.net.policy.d.ts
Added NA Class name: NetUidRule;
Method or attribute name: NET_RULE_NONE = 0
@ohos.net.policy.d.ts
Added NA Class name: NetUidRule;
Method or attribute name: NET_RULE_ALLOW_METERED_FOREGROUND = 1 << 0
@ohos.net.policy.d.ts
Added NA Class name: NetUidRule;
Method or attribute name: NET_RULE_ALLOW_METERED = 1 << 1
@ohos.net.policy.d.ts
Added NA Class name: NetUidRule;
Method or attribute name: NET_RULE_REJECT_METERED = 1 << 2
@ohos.net.policy.d.ts
Added NA Class name: NetUidRule;
Method or attribute name: NET_RULE_ALLOW_ALL = 1 << 5
@ohos.net.policy.d.ts
Added NA Class name: NetUidRule;
Method or attribute name: NET_RULE_REJECT_ALL = 1 << 6
@ohos.net.policy.d.ts
Added NA Class name: RemindType;
Method or attribute name: REMIND_TYPE_WARNING = 1
@ohos.net.policy.d.ts
Added NA Class name: RemindType;
Method or attribute name: REMIND_TYPE_LIMIT = 2
@ohos.net.policy.d.ts
Added NA Class name: NetUidPolicy;
Method or attribute name: NET_POLICY_NONE = 0
@ohos.net.policy.d.ts
Added NA Class name: NetUidPolicy;
Method or attribute name: NET_POLICY_ALLOW_METERED_BACKGROUND = 1 << 0
@ohos.net.policy.d.ts
Added NA Class name: NetUidPolicy;
Method or attribute name: NET_POLICY_REJECT_METERED_BACKGROUND = 1 << 1
@ohos.net.policy.d.ts
Added NA Class name: socket;
Method or attribute name: function constructTCPSocketServerInstance(): TCPSocketServer;
@ohos.net.socket.d.ts
Added NA Class name: socket;
Method or attribute name: function constructTLSSocketServerInstance(): TLSSocketServer;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocket;
Method or attribute name: getSocketFd(callback: AsyncCallback<number>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocket;
Method or attribute name: getSocketFd(): Promise<number>;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: clientId: number;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: clientId: number;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: send(options: TCPSendOptions, callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: close(callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: close(callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: getRemoteAddress(callback: AsyncCallback<NetAddress>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: getRemoteAddress(callback: AsyncCallback<NetAddress>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: on(type: 'message', callback: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: on(type: 'message', callback: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: on(type: 'close', callback: Callback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: on(type: 'close', callback: Callback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketServer;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: off(type: 'message', callback?: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: off(type: 'message', callback?: Callback<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: off(type: 'close', callback?: Callback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: off(type: 'close', callback?: Callback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketConnection;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketServer;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketServer;
Method or attribute name: listen(address: NetAddress, callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketServer;
Method or attribute name: listen(address: NetAddress): Promise<void>;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketServer;
Method or attribute name: getState(callback: AsyncCallback<SocketStateBase>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: getState(callback: AsyncCallback<SocketStateBase>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketServer;
Method or attribute name: setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketServer;
Method or attribute name: on(type: 'connect', callback: Callback<TCPSocketConnection>): void;
@ohos.net.socket.d.ts
Added NA Class name: TCPSocketServer;
Method or attribute name: off(type: 'connect', callback?: Callback<TCPSocketConnection>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: send(data: string, callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: getRemoteCertificate(callback: AsyncCallback<X509CertRawData>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: getCipherSuite(callback: AsyncCallback<Array<string>>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketConnection;
Method or attribute name: getSignatureAlgorithms(callback: AsyncCallback<Array<string>>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: listen(options: TLSConnectOptions, callback: AsyncCallback<void>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: listen(options: TLSConnectOptions): Promise<void>;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: getCertificate(callback: AsyncCallback<X509CertRawData>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: getProtocol(callback: AsyncCallback<string>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: on(type: 'connect', callback: Callback<TLSSocketConnection>): void;
@ohos.net.socket.d.ts
Added NA Class name: TLSSocketServer;
Method or attribute name: off(type: 'connect', callback?: Callback<TLSSocketConnection>): void;
@ohos.net.socket.d.ts
Added NA Class name: statistics;
Method or attribute name: function getIfaceRxBytes(nic: string, callback: AsyncCallback<number>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getIfaceRxBytes(nic: string): Promise<number>;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getIfaceTxBytes(nic: string, callback: AsyncCallback<number>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getIfaceTxBytes(nic: string): Promise<number>;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getCellularRxBytes(callback: AsyncCallback<number>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getCellularRxBytes(): Promise<number>;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getCellularTxBytes(callback: AsyncCallback<number>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getCellularTxBytes(): Promise<number>;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getAllRxBytes(callback: AsyncCallback<number>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getAllRxBytes(): Promise<number>;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getAllTxBytes(callback: AsyncCallback<number>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getAllTxBytes(): Promise<number>;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getUidRxBytes(uid: number, callback: AsyncCallback<number>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getUidRxBytes(uid: number): Promise<number>;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getUidTxBytes(uid: number, callback: AsyncCallback<number>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getUidTxBytes(uid: number): Promise<number>;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function on(type: 'netStatsChange', callback: Callback<{ iface: string, uid?: number }>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function off(type: 'netStatsChange', callback?: Callback<{ iface: string, uid?: number }>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getTrafficStatsByIface(ifaceInfo: IfaceInfo, callback: AsyncCallback<NetStatsInfo>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getTrafficStatsByIface(ifaceInfo: IfaceInfo): Promise<NetStatsInfo>;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getTrafficStatsByUid(uidInfo: UidInfo, callback: AsyncCallback<NetStatsInfo>): void;
@ohos.net.statistics.d.ts
Added NA Class name: statistics;
Method or attribute name: function getTrafficStatsByUid(uidInfo: UidInfo): Promise<NetStatsInfo>;
@ohos.net.statistics.d.ts
Added NA Class name: IfaceInfo;
Method or attribute name: iface: string;
@ohos.net.statistics.d.ts
Added NA Class name: IfaceInfo;
Method or attribute name: startTime: number;
@ohos.net.statistics.d.ts
Added NA Class name: IfaceInfo;
Method or attribute name: endTime: number;
@ohos.net.statistics.d.ts
Added NA Class name: UidInfo;
Method or attribute name: ifaceInfo: IfaceInfo;
@ohos.net.statistics.d.ts
Added NA Class name: UidInfo;
Method or attribute name: uid: number;
@ohos.net.statistics.d.ts
Added NA Class name: NetStatsInfo;
Method or attribute name: rxBytes: number;
@ohos.net.statistics.d.ts
Added NA Class name: NetStatsInfo;
Method or attribute name: txBytes: number;
@ohos.net.statistics.d.ts
Added NA Class name: NetStatsInfo;
Method or attribute name: rxPackets: number;
@ohos.net.statistics.d.ts
Added NA Class name: NetStatsInfo;
Method or attribute name: txPackets: number;
@ohos.net.statistics.d.ts
Added NA Class name: vpn;
Method or attribute name: export type LinkAddress = connection.LinkAddress;
@ohos.net.vpn.d.ts
Added NA Class name: vpn;
Method or attribute name: export type RouteInfo = connection.RouteInfo;
@ohos.net.vpn.d.ts
Added NA Class name: vpn;
Method or attribute name: function createVpnConnection(context: AbilityContext): VpnConnection;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConnection;
Method or attribute name: setUp(config: VpnConfig, callback: AsyncCallback<number>): void;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConnection;
Method or attribute name: setUp(config: VpnConfig): Promise<number>;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConnection;
Method or attribute name: protect(socketFd: number, callback: AsyncCallback<void>): void;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConnection;
Method or attribute name: protect(socketFd: number): Promise<void>;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConnection;
Method or attribute name: destroy(callback: AsyncCallback<void>): void;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConnection;
Method or attribute name: destroy(): Promise<void>;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: addresses: Array<LinkAddress>;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: routes?: Array<RouteInfo>;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: dnsAddresses?: Array<string>;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: searchDomains?: Array<string>;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: mtu?: number;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: isIPv4Accepted?: boolean;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: isIPv6Accepted?: boolean;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: isLegacy?: boolean;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: isBlocking?: boolean;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: trustedApplications?: Array<string>;
@ohos.net.vpn.d.ts
Added NA Class name: VpnConfig;
Method or attribute name: blockedApplications?: Array<string>;
@ohos.net.vpn.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function getScanResults(): Promise<Array<WifiScanInfo>>;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function getScanResults(callback: AsyncCallback<Array<WifiScanInfo>>): void;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function getScanResultsSync(): Array<WifiScanInfo>;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function setScanAlwaysAllowed(isScanAlwaysAllowed: boolean): void;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function getScanAlwaysAllowed(): boolean;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function updateNetwork(config: WifiDeviceConfig): number;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function disableNetwork(netId: number): void;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function removeAllNetwork(): void;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function removeDevice(id: number): void;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function getDisconnectedReason(): DisconnectedReason;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function getStations(): Array<StationInfo>;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function createGroup(config: WifiP2PConfig): void;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function removeGroup(): void;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function startDiscoverDevices(): void;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function stopDiscoverDevices(): void;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function deletePersistentGroup(netId: number): void;
@ohos.wifiManager.d.ts
Added NA Class name: wifiManager;
Method or attribute name: function setDeviceName(devName: string): void;
@ohos.wifiManager.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: DISC_REASON_DEFAULT = 0
@ohos.wifiManager.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: DISC_REASON_WRONG_PWD = 1
@ohos.wifiManager.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: DISC_REASON_CONNECTION_FULL = 2
@ohos.wifiManager.d.ts
Added NA Class name: ProxyMethod;
Method or attribute name: METHOD_NONE = 0
@ohos.wifiManager.d.ts
Added NA Class name: ProxyMethod;
Method or attribute name: METHOD_AUTO = 1
@ohos.wifiManager.d.ts
Added NA Class name: ProxyMethod;
Method or attribute name: METHOD_MANUAL = 2
@ohos.wifiManager.d.ts
Added NA Class name: WifiProxyConfig;
Method or attribute name: proxyMethod?: ProxyMethod;
@ohos.wifiManager.d.ts
Added NA Class name: WifiProxyConfig;
Method or attribute name: pacWebAddress?: string;
@ohos.wifiManager.d.ts
Added NA Class name: WifiProxyConfig;
Method or attribute name: serverHostName?: string;
@ohos.wifiManager.d.ts
Added NA Class name: WifiProxyConfig;
Method or attribute name: serverPort?: number;
@ohos.wifiManager.d.ts
Added NA Class name: WifiProxyConfig;
Method or attribute name: exclusionObjects?: string;
@ohos.wifiManager.d.ts
Added NA Class name: WifiDeviceConfig;
Method or attribute name: proxyConfig?: WifiProxyConfig;
@ohos.wifiManager.d.ts
Added NA Class name: HotspotConfig;
Method or attribute name: ipAddress?: string;
@ohos.wifiManager.d.ts
Error code added Class name: GattClientDevice;
Method or attribute name: getDeviceName(): Promise<string>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getDeviceName(): Promise<string>;
New version information: 201,401,801,2900001,2900099
@ohos.bluetoothManager.d.ts
Error code added Class name: GattClientDevice;
Method or attribute name: getServices(): Promise<Array<GattService>>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getServices(): Promise<Array<GattService>>;
New version information: 201,401,801,2900001,2900099
@ohos.bluetoothManager.d.ts
Error code added Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>;
New version information: 201,401,801,2900001,2901000,2900099
@ohos.bluetoothManager.d.ts
Error code added Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>;
New version information: 201,401,801,2900001,2901000,2900099
@ohos.bluetoothManager.d.ts
Error code added Class name: GattClientDevice;
Method or attribute name: getRssiValue(): Promise<number>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getRssiValue(): Promise<number>;
New version information: 201,401,801,2900099
@ohos.bluetoothManager.d.ts
Error code added Class name: connection;
Method or attribute name: function getDefaultNet(): Promise<NetHandle>;
Old version information:
Class name: connection;
Method or attribute name: function getDefaultNet(): Promise<NetHandle>;
New version information: 201,401,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: connection;
Method or attribute name: function getAllNets(): Promise<Array<NetHandle>>;
Old version information:
Class name: connection;
Method or attribute name: function getAllNets(): Promise<Array<NetHandle>>;
New version information: 201,401,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: connection;
Method or attribute name: function getConnectionProperties(netHandle: NetHandle): Promise<ConnectionProperties>;
Old version information:
Class name: connection;
Method or attribute name: function getConnectionProperties(netHandle: NetHandle): Promise<ConnectionProperties>;
New version information: 201,401,2100001,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: connection;
Method or attribute name: function getNetCapabilities(netHandle: NetHandle): Promise<NetCapabilities>;
Old version information:
Class name: connection;
Method or attribute name: function getNetCapabilities(netHandle: NetHandle): Promise<NetCapabilities>;
New version information: 201,401,2100001,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: connection;
Method or attribute name: function isDefaultNetMetered(): Promise<boolean>;
Old version information:
Class name: connection;
Method or attribute name: function isDefaultNetMetered(): Promise<boolean>;
New version information: 201,401,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: connection;
Method or attribute name: function hasDefaultNet(): Promise<boolean>;
Old version information:
Class name: connection;
Method or attribute name: function hasDefaultNet(): Promise<boolean>;
New version information: 201,401,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: connection;
Method or attribute name: function enableAirplaneMode(): Promise<void>;
Old version information:
Class name: connection;
Method or attribute name: function enableAirplaneMode(): Promise<void>;
New version information: 201,202,401,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: connection;
Method or attribute name: function disableAirplaneMode(): Promise<void>;
Old version information:
Class name: connection;
Method or attribute name: function disableAirplaneMode(): Promise<void>;
New version information: 201,202,401,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: connection;
Method or attribute name: function reportNetConnected(netHandle: NetHandle): Promise<void>;
Old version information:
Class name: connection;
Method or attribute name: function reportNetConnected(netHandle: NetHandle): Promise<void>;
New version information: 201,401,2100001,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: connection;
Method or attribute name: function reportNetDisconnected(netHandle: NetHandle): Promise<void>;
Old version information:
Class name: connection;
Method or attribute name: function reportNetDisconnected(netHandle: NetHandle): Promise<void>;
New version information: 201,401,2100001,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: connection;
Method or attribute name: function getAddressesByName(host: string): Promise<Array<NetAddress>>;
Old version information:
Class name: connection;
Method or attribute name: function getAddressesByName(host: string): Promise<Array<NetAddress>>;
New version information: 201,401,2100001,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: NetHandle;
Method or attribute name: bindSocket(socketParam: TCPSocket | UDPSocket): Promise<void>;
Old version information:
Class name: NetHandle;
Method or attribute name: bindSocket(socketParam: TCPSocket | UDPSocket): Promise<void>;
New version information: 401,2100001,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: NetHandle;
Method or attribute name: getAddressesByName(host: string): Promise<Array<NetAddress>>;
Old version information:
Class name: NetHandle;
Method or attribute name: getAddressesByName(host: string): Promise<Array<NetAddress>>;
New version information: 201,401,2100001,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: NetHandle;
Method or attribute name: getAddressByName(host: string): Promise<NetAddress>;
Old version information:
Class name: NetHandle;
Method or attribute name: getAddressByName(host: string): Promise<NetAddress>;
New version information: 201,401,2100001,2100002,2100003
@ohos.net.connection.d.ts
Error code added Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string): Promise<InterfaceConfiguration>;
Old version information:
Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string): Promise<InterfaceConfiguration>;
New version information: 201,202,401,2200001,2200002,2200003,2201005
@ohos.net.ethernet.d.ts
Error code added Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise<void>;
Old version information:
Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise<void>;
New version information: 201,202,401,2200001,2200002,2200003,2201004,2201005,2201006,2201007
@ohos.net.ethernet.d.ts
Error code added Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string): Promise<number>;
Old version information:
Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string): Promise<number>;
New version information: 201,202,401,2200001,2200002,2200003,2201005
@ohos.net.ethernet.d.ts
Error code added Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(): Promise<Array<string>>;
Old version information:
Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(): Promise<Array<string>>;
New version information: 201,202,2200002,2200003
@ohos.net.ethernet.d.ts
Error code added Class name: HttpRequest;
Method or attribute name: request(url: string, options: HttpRequestOptions, callback: AsyncCallback<HttpResponse>): void;
Old version information:
Class name: HttpRequest;
Method or attribute name: request(url: string, options: HttpRequestOptions, callback: AsyncCallback<HttpResponse>): void;
New version information: 401,201,2300001,2300003,2300005,2300006,2300007,2300008,2300009,2300016,2300018,2300023,2300025,2300026,2300027,2300028,2300047,2300052,2300055,2300056,2300058,2300059,2300060,2300061,2300063,2300070,2300073,2300077,2300078,2300094,2300999
@ohos.net.http.d.ts
Error code added Class name: HttpRequest;
Method or attribute name: request(url: string, options?: HttpRequestOptions): Promise<HttpResponse>;
Old version information:
Class name: HttpRequest;
Method or attribute name: request(url: string, options?: HttpRequestOptions): Promise<HttpResponse>;
New version information: 401,201,2300001,2300003,2300005,2300006,2300007,2300008,2300009,2300016,2300018,2300023,2300025,2300026,2300027,2300028,2300047,2300052,2300055,2300056,2300058,2300059,2300060,2300061,2300063,2300070,2300073,2300077,2300078,2300094,2300999
@ohos.net.http.d.ts
Error code added Class name: sharing;
Method or attribute name: function isSharingSupported(): Promise<boolean>;
Old version information:
Class name: sharing;
Method or attribute name: function isSharingSupported(): Promise<boolean>;
New version information: 201,202,2200002,2200003,2202011
@ohos.net.sharing.d.ts
Error code added Class name: sharing;
Method or attribute name: function isSharing(): Promise<boolean>;
Old version information:
Class name: sharing;
Method or attribute name: function isSharing(): Promise<boolean>;
New version information: 201,202,2200002,2200003,2202011
@ohos.net.sharing.d.ts
Error code added Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType): Promise<void>;
Old version information:
Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType): Promise<void>;
New version information: 201,202,401,2200001,2200002,2200003,2202004,2202005,2202006,2202009,2202011
@ohos.net.sharing.d.ts
Error code added Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType): Promise<void>;
Old version information:
Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType): Promise<void>;
New version information: 201,202,401,2200001,2200002,2200003,2202004,2202005,2202006,2202011
@ohos.net.sharing.d.ts
Error code added Class name: sharing;
Method or attribute name: function getStatsRxBytes(): Promise<number>;
Old version information:
Class name: sharing;
Method or attribute name: function getStatsRxBytes(): Promise<number>;
New version information: 201,202,401,2200002,2200003
@ohos.net.sharing.d.ts
Error code added Class name: sharing;
Method or attribute name: function getStatsTxBytes(): Promise<number>;
Old version information:
Class name: sharing;
Method or attribute name: function getStatsTxBytes(): Promise<number>;
New version information: 201,202,401,2200002,2200003
@ohos.net.sharing.d.ts
Error code added Class name: sharing;
Method or attribute name: function getStatsTotalBytes(): Promise<number>;
Old version information:
Class name: sharing;
Method or attribute name: function getStatsTotalBytes(): Promise<number>;
New version information: 201,202,401,2200002,2200003
@ohos.net.sharing.d.ts
Error code added Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise<Array<string>>;
Old version information:
Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise<Array<string>>;
New version information: 201,202,401,2200001,2200002,2200003
@ohos.net.sharing.d.ts
Error code added Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType): Promise<SharingIfaceState>;
Old version information:
Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType): Promise<SharingIfaceState>;
New version information: 201,202,401,2200001,2200002,2200003
@ohos.net.sharing.d.ts
Error code added Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise<Array<string>>;
Old version information:
Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise<Array<string>>;
New version information: 201,202,401,2200001,2200002,2200003
@ohos.net.sharing.d.ts
Error code added Class name: UDPSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
Old version information:
Class name: UDPSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
New version information: 401,201
@ohos.net.socket.d.ts
Error code added Class name: TCPSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
New version information: 401,201
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
Old version information:
Class name: TLSSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
New version information: 401,201,2303198,2300002
@ohos.net.socket.d.ts
Error code added Class name: UDPSocket;
Method or attribute name: send(options: UDPSendOptions): Promise<void>;
Old version information:
Class name: UDPSocket;
Method or attribute name: send(options: UDPSendOptions): Promise<void>;
New version information: 401,201
@ohos.net.socket.d.ts
Error code added Class name: UDPSocket;
Method or attribute name: close(): Promise<void>;
Old version information:
Class name: UDPSocket;
Method or attribute name: close(): Promise<void>;
New version information: 201
@ohos.net.socket.d.ts
Error code added Class name: TCPSocket;
Method or attribute name: close(): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: close(): Promise<void>;
New version information: 201
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: close(): Promise<void>;
Old version information:
Class name: TLSSocket;
Method or attribute name: close(): Promise<void>;
New version information: 401,2303501,2303505,2303506,2300002
@ohos.net.socket.d.ts
Error code added Class name: UDPSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
Old version information:
Class name: UDPSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
New version information: 201
@ohos.net.socket.d.ts
Error code added Class name: TCPSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
Old version information:
Class name: TCPSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
New version information: 201
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
New version information: 2303188,2300002
@ohos.net.socket.d.ts
Error code added Class name: UDPSocket;
Method or attribute name: setExtraOptions(options: UDPExtraOptions): Promise<void>;
Old version information:
Class name: UDPSocket;
Method or attribute name: setExtraOptions(options: UDPExtraOptions): Promise<void>;
New version information: 401,201
@ohos.net.socket.d.ts
Error code added Class name: TCPSocket;
Method or attribute name: connect(options: TCPConnectOptions): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: connect(options: TCPConnectOptions): Promise<void>;
New version information: 401,201
@ohos.net.socket.d.ts
Error code added Class name: TCPSocket;
Method or attribute name: send(options: TCPSendOptions): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: send(options: TCPSendOptions): Promise<void>;
New version information: 401,201
@ohos.net.socket.d.ts
Error code added Class name: TCPSocket;
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
Old version information:
Class name: TCPSocket;
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
New version information: 201
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
New version information: 2303188,2300002
@ohos.net.socket.d.ts
Error code added Class name: TCPSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
New version information: 401,201
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
Old version information:
Class name: TLSSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
New version information: 401,2303188,2300002
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: getCertificate(): Promise<X509CertRawData>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getCertificate(): Promise<X509CertRawData>;
New version information: 2303501,2303504,2300002
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: getRemoteCertificate(): Promise<X509CertRawData>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getRemoteCertificate(): Promise<X509CertRawData>;
New version information: 2303501,2300002
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: getProtocol(): Promise<string>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getProtocol(): Promise<string>;
New version information: 2303501,2303505,2300002
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: getCipherSuite(): Promise<Array<string>>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getCipherSuite(): Promise<Array<string>>;
New version information: 2303501,2303502,2303505,2300002
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: getSignatureAlgorithms(): Promise<Array<string>>;
Old version information:
Class name: TLSSocket;
Method or attribute name: getSignatureAlgorithms(): Promise<Array<string>>;
New version information: 2303501,2300002
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: connect(options: TLSConnectOptions): Promise<void>;
Old version information:
Class name: TLSSocket;
Method or attribute name: connect(options: TLSConnectOptions): Promise<void>;
New version information: 401,2303104,2303109,2303111,2303188,2303191,2303198,2303199,2303210,2303501,2303502,2303503,2303505,2303506,2300002
@ohos.net.socket.d.ts
Error code added Class name: TLSSocket;
Method or attribute name: send(data: string): Promise<void>;
Old version information:
Class name: TLSSocket;
Method or attribute name: send(data: string): Promise<void>;
New version information: 401,2303501,2303503,2303505,2303506,2300002
@ohos.net.socket.d.ts
Error code added Class name: WebSocket;
Method or attribute name: connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: WebSocket;
Method or attribute name: connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback<boolean>): void;
New version information: 401,201
@ohos.net.webSocket.d.ts
Error code added Class name: WebSocket;
Method or attribute name: connect(url: string, options?: WebSocketRequestOptions): Promise<boolean>;
Old version information:
Class name: WebSocket;
Method or attribute name: connect(url: string, options?: WebSocketRequestOptions): Promise<boolean>;
New version information: 401,201
@ohos.net.webSocket.d.ts
Error code added Class name: WebSocket;
Method or attribute name: send(data: string | ArrayBuffer): Promise<boolean>;
Old version information:
Class name: WebSocket;
Method or attribute name: send(data: string | ArrayBuffer): Promise<boolean>;
New version information: 401,201
@ohos.net.webSocket.d.ts
Error code added Class name: WebSocket;
Method or attribute name: close(options: WebSocketCloseOptions, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: WebSocket;
Method or attribute name: close(options: WebSocketCloseOptions, callback: AsyncCallback<boolean>): void;
New version information: 401,201
@ohos.net.webSocket.d.ts
Error code added Class name: WebSocket;
Method or attribute name: close(options?: WebSocketCloseOptions): Promise<boolean>;
Old version information:
Class name: WebSocket;
Method or attribute name: close(options?: WebSocketCloseOptions): Promise<boolean>;
New version information: 401,201
@ohos.net.webSocket.d.ts
Error code added Class name: wifiManager;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
New version information: 201,202,401,801,2501000
@ohos.wifiManager.d.ts
Error code added Class name: wifiManager;
Method or attribute name: function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
New version information: 201,401,801,2501000
@ohos.wifiManager.d.ts
Error code added Class name: wifiManager;
Method or attribute name: function removeCandidateConfig(networkId: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function removeCandidateConfig(networkId: number, callback: AsyncCallback<void>): void;
New version information: 201,401,801,2501000
@ohos.wifiManager.d.ts
Error code added Class name: wifiManager;
Method or attribute name: function getLinkedInfo(callback: AsyncCallback<WifiLinkedInfo>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getLinkedInfo(callback: AsyncCallback<WifiLinkedInfo>): void;
New version information: 201,202,801,2501000,2501001
@ohos.wifiManager.d.ts
Error code added Class name: wifiManager;
Method or attribute name: function getP2pLinkedInfo(callback: AsyncCallback<WifiP2pLinkedInfo>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getP2pLinkedInfo(callback: AsyncCallback<WifiP2pLinkedInfo>): void;
New version information: 201,801,2801000
@ohos.wifiManager.d.ts
Error code added Class name: wifiManager;
Method or attribute name: function getCurrentP2pGroup(callback: AsyncCallback<WifiP2pGroupInfo>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getCurrentP2pGroup(callback: AsyncCallback<WifiP2pGroupInfo>): void;
New version information: 201,801,2801000
@ohos.wifiManager.d.ts
Error code added Class name: wifiManager;
Method or attribute name: function getP2pPeerDevices(callback: AsyncCallback<WifiP2pDevice[]>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getP2pPeerDevices(callback: AsyncCallback<WifiP2pDevice[]>): void;
New version information: 201,801,2801000
@ohos.wifiManager.d.ts
Error code added Class name: wifiManager;
Method or attribute name: function getP2pLocalDevice(callback: AsyncCallback<WifiP2pDevice>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getP2pLocalDevice(callback: AsyncCallback<WifiP2pDevice>): void;
New version information: 201,801,2801000
@ohos.wifiManager.d.ts
Error code added Class name: wifiManager;
Method or attribute name: function getP2pGroups(callback: AsyncCallback<Array<WifiP2pGroupInfo>>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getP2pGroups(callback: AsyncCallback<Array<WifiP2pGroupInfo>>): void;
New version information: 201,202,801,2801000
@ohos.wifiManager.d.ts
Error code changed Class name: connection;
Method or attribute name: function getDefaultNet(callback: AsyncCallback<NetHandle>): void;
Old version information: 201,2100002,2100003
Class name: connection;
Method or attribute name: function getDefaultNet(callback: AsyncCallback<NetHandle>): void;
New version information: 201,401,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: connection;
Method or attribute name: function getDefaultNetSync(): NetHandle;
Old version information: 201,2100002,2100003
Class name: connection;
Method or attribute name: function getDefaultNetSync(): NetHandle;
New version information: 201,401,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: connection;
Method or attribute name: function getAllNets(callback: AsyncCallback<Array<NetHandle>>): void;
Old version information: 201,2100002,2100003
Class name: connection;
Method or attribute name: function getAllNets(callback: AsyncCallback<Array<NetHandle>>): void;
New version information: 201,401,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: connection;
Method or attribute name: function isDefaultNetMetered(callback: AsyncCallback<boolean>): void;
Old version information: 201,2100002,2100003
Class name: connection;
Method or attribute name: function isDefaultNetMetered(callback: AsyncCallback<boolean>): void;
New version information: 201,401,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: connection;
Method or attribute name: function hasDefaultNet(callback: AsyncCallback<boolean>): void;
Old version information: 201,2100002,2100003
Class name: connection;
Method or attribute name: function hasDefaultNet(callback: AsyncCallback<boolean>): void;
New version information: 201,401,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: connection;
Method or attribute name: function enableAirplaneMode(callback: AsyncCallback<void>): void;
Old version information: 201,2100002,2100003
Class name: connection;
Method or attribute name: function enableAirplaneMode(callback: AsyncCallback<void>): void;
New version information: 201,202,401,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: connection;
Method or attribute name: function disableAirplaneMode(callback: AsyncCallback<void>): void;
Old version information: 201,2100002,2100003
Class name: connection;
Method or attribute name: function disableAirplaneMode(callback: AsyncCallback<void>): void;
New version information: 201,202,401,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: connection;
Method or attribute name: function getAppNet(callback: AsyncCallback<NetHandle>): void;
Old version information: 2100002,2100003
Class name: connection;
Method or attribute name: function getAppNet(callback: AsyncCallback<NetHandle>): void;
New version information: 401,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: connection;
Method or attribute name: function getAppNet(): Promise<NetHandle>;
Old version information: 2100002,2100003
Class name: connection;
Method or attribute name: function getAppNet(): Promise<NetHandle>;
New version information: 401,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: connection;
Method or attribute name: function getGlobalHttpProxy(callback: AsyncCallback<HttpProxy>): void;
Old version information: 2100002,2100003
Class name: connection;
Method or attribute name: function getGlobalHttpProxy(callback: AsyncCallback<HttpProxy>): void;
New version information: 401,202,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: connection;
Method or attribute name: function getGlobalHttpProxy(): Promise<HttpProxy>;
Old version information: 2100002,2100003
Class name: connection;
Method or attribute name: function getGlobalHttpProxy(): Promise<HttpProxy>;
New version information: 401,202,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: connection;
Method or attribute name: function setGlobalHttpProxy(httpProxy: HttpProxy, callback: AsyncCallback<void>): void;
Old version information: 201,401,2100001,2100002,2100003
Class name: connection;
Method or attribute name: function setGlobalHttpProxy(httpProxy: HttpProxy, callback: AsyncCallback<void>): void;
New version information: 201,401,202,2100001,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: connection;
Method or attribute name: function setGlobalHttpProxy(httpProxy: HttpProxy): Promise<void>;
Old version information: 201,401,2100001,2100002,2100003
Class name: connection;
Method or attribute name: function setGlobalHttpProxy(httpProxy: HttpProxy): Promise<void>;
New version information: 201,401,202,2100001,2100002,2100003
@ohos.net.connection.d.ts
Error code changed Class name: NetConnection;
Method or attribute name: register(callback: AsyncCallback<void>): void;
Old version information: 201,2100002,2100003,2101008,2101022
Class name: NetConnection;
Method or attribute name: register(callback: AsyncCallback<void>): void;
New version information: 201,401,2100002,2100003,2101008,2101022
@ohos.net.connection.d.ts
Error code changed Class name: NetConnection;
Method or attribute name: unregister(callback: AsyncCallback<void>): void;
Old version information: 2100002,2100003,2101007
Class name: NetConnection;
Method or attribute name: unregister(callback: AsyncCallback<void>): void;
New version information: 201,401,2100002,2100003,2101007
@ohos.net.connection.d.ts
Error code changed Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string, callback: AsyncCallback<InterfaceConfiguration>): void;
Old version information: 201,401,2200001,2200002,2200003,2201005
Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string, callback: AsyncCallback<InterfaceConfiguration>): void;
New version information: 201,202,401,2200001,2200002,2200003,2201005
@ohos.net.ethernet.d.ts
Error code changed Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration, callback: AsyncCallback<void>): void;
Old version information: 201,401,2200001,2200002,2200003,2201004,2201005,2201006,2201007
Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration, callback: AsyncCallback<void>): void;
New version information: 201,202,401,2200001,2200002,2200003,2201004,2201005,2201006,2201007
@ohos.net.ethernet.d.ts
Error code changed Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string, callback: AsyncCallback<number>): void;
Old version information: 201,401,2200001,2200002,2200003,2201005
Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string, callback: AsyncCallback<number>): void;
New version information: 201,202,401,2200001,2200002,2200003,2201005
@ohos.net.ethernet.d.ts
Error code changed Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(callback: AsyncCallback<Array<string>>): void;
Old version information: 201,2200002,2200003
Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(callback: AsyncCallback<Array<string>>): void;
New version information: 201,202,2200002,2200003
@ohos.net.ethernet.d.ts
Error code changed Class name: sharing;
Method or attribute name: function isSharingSupported(callback: AsyncCallback<boolean>): void;
Old version information: 201,2200002,2200003,2202011
Class name: sharing;
Method or attribute name: function isSharingSupported(callback: AsyncCallback<boolean>): void;
New version information: 201,202,2200002,2200003,2202011
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function isSharing(callback: AsyncCallback<boolean>): void;
Old version information: 201,2200002,2200003,2202011
Class name: sharing;
Method or attribute name: function isSharing(callback: AsyncCallback<boolean>): void;
New version information: 201,202,2200002,2200003,2202011
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType, callback: AsyncCallback<void>): void;
Old version information: 201,401,2200001,2200002,2200003,2202004,2202005,2202006,2202009,2202011
Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType, callback: AsyncCallback<void>): void;
New version information: 201,202,401,2200001,2200002,2200003,2202004,2202005,2202006,2202009,2202011
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType, callback: AsyncCallback<void>): void;
Old version information: 201,401,2200001,2200002,2200003,2202004,2202005,2202006,2202011
Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType, callback: AsyncCallback<void>): void;
New version information: 201,202,401,2200001,2200002,2200003,2202004,2202005,2202006,2202011
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function getStatsRxBytes(callback: AsyncCallback<number>): void;
Old version information: 201,2200002,2200003
Class name: sharing;
Method or attribute name: function getStatsRxBytes(callback: AsyncCallback<number>): void;
New version information: 201,202,401,2200002,2200003
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function getStatsTxBytes(callback: AsyncCallback<number>): void;
Old version information: 201,2200002,2200003
Class name: sharing;
Method or attribute name: function getStatsTxBytes(callback: AsyncCallback<number>): void;
New version information: 201,202,401,2200002,2200003
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function getStatsTotalBytes(callback: AsyncCallback<number>): void;
Old version information: 201,2200002,2200003
Class name: sharing;
Method or attribute name: function getStatsTotalBytes(callback: AsyncCallback<number>): void;
New version information: 201,202,401,2200002,2200003
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState, callback: AsyncCallback<Array<string>>): void;
Old version information: 201,401,2200001,2200002,2200003
Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState, callback: AsyncCallback<Array<string>>): void;
New version information: 201,202,401,2200001,2200002,2200003
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType, callback: AsyncCallback<SharingIfaceState>): void;
Old version information: 201,401,2200001,2200002,2200003
Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType, callback: AsyncCallback<SharingIfaceState>): void;
New version information: 201,202,401,2200001,2200002,2200003
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType, callback: AsyncCallback<Array<string>>): void;
Old version information: 201,401,2200001,2200002,2200003
Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType, callback: AsyncCallback<Array<string>>): void;
New version information: 201,202,401,2200001,2200002,2200003
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function on(type: 'sharingStateChange', callback: Callback<boolean>): void;
Old version information: 201,401
Class name: sharing;
Method or attribute name: function on(type: 'sharingStateChange', callback: Callback<boolean>): void;
New version information: 201,202,401
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function on(type: 'interfaceSharingStateChange', callback: Callback<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;
Old version information: 201,401
Class name: sharing;
Method or attribute name: function on(type: 'interfaceSharingStateChange', callback: Callback<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;
New version information: 201,202,401
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function on(type: 'sharingUpstreamChange', callback: Callback<NetHandle>): void;
Old version information: 201,401
Class name: sharing;
Method or attribute name: function on(type: 'sharingUpstreamChange', callback: Callback<NetHandle>): void;
New version information: 201,202,401
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function off(type: 'sharingStateChange', callback?: Callback<boolean>): void;
Old version information: 201,401
Class name: sharing;
Method or attribute name: function off(type: 'sharingStateChange', callback?: Callback<boolean>): void;
New version information: 201,202,401
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function off(type: 'interfaceSharingStateChange', callback?: Callback<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;
Old version information: 201,401
Class name: sharing;
Method or attribute name: function off(type: 'interfaceSharingStateChange', callback?: Callback<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;
New version information: 201,202,401
@ohos.net.sharing.d.ts
Error code changed Class name: sharing;
Method or attribute name: function off(type: 'sharingUpstreamChange', callback?: Callback<NetHandle>): void;
Old version information: 201,401
Class name: sharing;
Method or attribute name: function off(type: 'sharingUpstreamChange', callback?: Callback<NetHandle>): void;
New version information: 201,202,401
@ohos.net.sharing.d.ts
Access level changed Class name: connection;
Method or attribute name: function enableAirplaneMode(): Promise<void>;
Old version information:
Class name: connection;
Method or attribute name: function enableAirplaneMode(): Promise<void>;
New version information: systemapi
@ohos.net.connection.d.ts
Access level changed Class name: connection;
Method or attribute name: function disableAirplaneMode(): Promise<void>;
Old version information:
Class name: connection;
Method or attribute name: function disableAirplaneMode(): Promise<void>;
New version information: systemapi
@ohos.net.connection.d.ts
Access level changed Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string): Promise<InterfaceConfiguration>;
Old version information:
Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string): Promise<InterfaceConfiguration>;
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise<void>;
Old version information:
Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise<void>;
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string): Promise<number>;
Old version information:
Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string): Promise<number>;
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(): Promise<Array<string>>;
Old version information:
Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(): Promise<Array<string>>;
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: InterfaceConfiguration;
Method or attribute name: mode: IPSetMode;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: mode: IPSetMode;
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: InterfaceConfiguration;
Method or attribute name: ipAddr: string;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: ipAddr: string;
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: InterfaceConfiguration;
Method or attribute name: route: string;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: route: string;
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: InterfaceConfiguration;
Method or attribute name: gateway: string;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: gateway: string;
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: InterfaceConfiguration;
Method or attribute name: netMask: string;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: netMask: string;
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: InterfaceConfiguration;
Method or attribute name: dnsServers: string;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: dnsServers: string;
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: IPSetMode;
Method or attribute name: STATIC = 0
Old version information:
Class name: IPSetMode;
Method or attribute name: STATIC = 0
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: IPSetMode;
Method or attribute name: DHCP = 1
Old version information:
Class name: IPSetMode;
Method or attribute name: DHCP = 1
New version information: systemapi
@ohos.net.ethernet.d.ts
Access level changed Class name: sharing;
Method or attribute name: function isSharingSupported(): Promise<boolean>;
Old version information:
Class name: sharing;
Method or attribute name: function isSharingSupported(): Promise<boolean>;
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: sharing;
Method or attribute name: function isSharing(): Promise<boolean>;
Old version information:
Class name: sharing;
Method or attribute name: function isSharing(): Promise<boolean>;
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType): Promise<void>;
Old version information:
Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType): Promise<void>;
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType): Promise<void>;
Old version information:
Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType): Promise<void>;
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: sharing;
Method or attribute name: function getStatsRxBytes(): Promise<number>;
Old version information:
Class name: sharing;
Method or attribute name: function getStatsRxBytes(): Promise<number>;
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: sharing;
Method or attribute name: function getStatsTxBytes(): Promise<number>;
Old version information:
Class name: sharing;
Method or attribute name: function getStatsTxBytes(): Promise<number>;
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: sharing;
Method or attribute name: function getStatsTotalBytes(): Promise<number>;
Old version information:
Class name: sharing;
Method or attribute name: function getStatsTotalBytes(): Promise<number>;
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise<Array<string>>;
Old version information:
Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise<Array<string>>;
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType): Promise<SharingIfaceState>;
Old version information:
Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType): Promise<SharingIfaceState>;
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise<Array<string>>;
Old version information:
Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise<Array<string>>;
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: SharingIfaceState;
Method or attribute name: SHARING_NIC_SERVING = 1
Old version information:
Class name: SharingIfaceState;
Method or attribute name: SHARING_NIC_SERVING = 1
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: SharingIfaceState;
Method or attribute name: SHARING_NIC_CAN_SERVER = 2
Old version information:
Class name: SharingIfaceState;
Method or attribute name: SHARING_NIC_CAN_SERVER = 2
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: SharingIfaceState;
Method or attribute name: SHARING_NIC_ERROR = 3
Old version information:
Class name: SharingIfaceState;
Method or attribute name: SHARING_NIC_ERROR = 3
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: SharingIfaceType;
Method or attribute name: SHARING_WIFI = 0
Old version information:
Class name: SharingIfaceType;
Method or attribute name: SHARING_WIFI = 0
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: SharingIfaceType;
Method or attribute name: SHARING_USB = 1
Old version information:
Class name: SharingIfaceType;
Method or attribute name: SHARING_USB = 1
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: SharingIfaceType;
Method or attribute name: SHARING_BLUETOOTH = 2
Old version information:
Class name: SharingIfaceType;
Method or attribute name: SHARING_BLUETOOTH = 2
New version information: systemapi
@ohos.net.sharing.d.ts
Access level changed Class name: wifiManager;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: wifiManager;
Method or attribute name: function getP2pGroups(callback: AsyncCallback<Array<WifiP2pGroupInfo>>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getP2pGroups(callback: AsyncCallback<Array<WifiP2pGroupInfo>>): void;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: EapMethod;
Method or attribute name: enum EapMethod
Old version information: systemapi
Class name: EapMethod;
Method or attribute name: enum EapMethod
New version information:
@ohos.wifiManager.d.ts
Access level changed Class name: Phase2Method;
Method or attribute name: enum Phase2Method
Old version information: systemapi
Class name: Phase2Method;
Method or attribute name: enum Phase2Method
New version information:
@ohos.wifiManager.d.ts
Access level changed Class name: WifiEapConfig;
Method or attribute name: interface WifiEapConfig
Old version information: systemapi
Class name: WifiEapConfig;
Method or attribute name: interface WifiEapConfig
New version information:
@ohos.wifiManager.d.ts
Access level changed Class name: WifiDeviceConfig;
Method or attribute name: creatorUid?: number;
Old version information:
Class name: WifiDeviceConfig;
Method or attribute name: creatorUid?: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiDeviceConfig;
Method or attribute name: disableReason?: number;
Old version information:
Class name: WifiDeviceConfig;
Method or attribute name: disableReason?: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiDeviceConfig;
Method or attribute name: netId?: number;
Old version information:
Class name: WifiDeviceConfig;
Method or attribute name: netId?: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiDeviceConfig;
Method or attribute name: randomMacType?: number;
Old version information:
Class name: WifiDeviceConfig;
Method or attribute name: randomMacType?: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiDeviceConfig;
Method or attribute name: randomMacAddr?: string;
Old version information:
Class name: WifiDeviceConfig;
Method or attribute name: randomMacAddr?: string;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiDeviceConfig;
Method or attribute name: ipType?: IpType;
Old version information:
Class name: WifiDeviceConfig;
Method or attribute name: ipType?: IpType;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiDeviceConfig;
Method or attribute name: staticIp?: IpConfig;
Old version information:
Class name: WifiDeviceConfig;
Method or attribute name: staticIp?: IpConfig;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiDeviceConfig;
Method or attribute name: eapConfig?: WifiEapConfig;
Old version information: systemapi
Class name: WifiDeviceConfig;
Method or attribute name: eapConfig?: WifiEapConfig;
New version information:
@ohos.wifiManager.d.ts
Access level changed Class name: IpConfig;
Method or attribute name: ipAddress: number;
Old version information:
Class name: IpConfig;
Method or attribute name: ipAddress: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: IpConfig;
Method or attribute name: gateway: number;
Old version information:
Class name: IpConfig;
Method or attribute name: gateway: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: IpConfig;
Method or attribute name: prefixLength: number;
Old version information:
Class name: IpConfig;
Method or attribute name: prefixLength: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: IpConfig;
Method or attribute name: dnsServers: number[];
Old version information:
Class name: IpConfig;
Method or attribute name: dnsServers: number[];
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: IpConfig;
Method or attribute name: domains: Array<string>;
Old version information:
Class name: IpConfig;
Method or attribute name: domains: Array<string>;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiLinkedInfo;
Method or attribute name: networkId: number;
Old version information:
Class name: WifiLinkedInfo;
Method or attribute name: networkId: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiLinkedInfo;
Method or attribute name: chload: number;
Old version information:
Class name: WifiLinkedInfo;
Method or attribute name: chload: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiLinkedInfo;
Method or attribute name: snr: number;
Old version information:
Class name: WifiLinkedInfo;
Method or attribute name: snr: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: WifiLinkedInfo;
Method or attribute name: suppState: SuppState;
Old version information:
Class name: WifiLinkedInfo;
Method or attribute name: suppState: SuppState;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: HotspotConfig;
Method or attribute name: ssid: string;
Old version information:
Class name: HotspotConfig;
Method or attribute name: ssid: string;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: HotspotConfig;
Method or attribute name: securityType: WifiSecurityType;
Old version information:
Class name: HotspotConfig;
Method or attribute name: securityType: WifiSecurityType;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: HotspotConfig;
Method or attribute name: band: number;
Old version information:
Class name: HotspotConfig;
Method or attribute name: band: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: HotspotConfig;
Method or attribute name: channel?: number;
Old version information:
Class name: HotspotConfig;
Method or attribute name: channel?: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: HotspotConfig;
Method or attribute name: preSharedKey: string;
Old version information:
Class name: HotspotConfig;
Method or attribute name: preSharedKey: string;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: HotspotConfig;
Method or attribute name: maxConn: number;
Old version information:
Class name: HotspotConfig;
Method or attribute name: maxConn: number;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: StationInfo;
Method or attribute name: name: string;
Old version information:
Class name: StationInfo;
Method or attribute name: name: string;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: StationInfo;
Method or attribute name: macAddress: string;
Old version information:
Class name: StationInfo;
Method or attribute name: macAddress: string;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: StationInfo;
Method or attribute name: ipAddress: string;
Old version information:
Class name: StationInfo;
Method or attribute name: ipAddress: string;
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: IpType;
Method or attribute name: STATIC
Old version information:
Class name: IpType;
Method or attribute name: STATIC
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: IpType;
Method or attribute name: DHCP
Old version information:
Class name: IpType;
Method or attribute name: DHCP
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: IpType;
Method or attribute name: UNKNOWN
Old version information:
Class name: IpType;
Method or attribute name: UNKNOWN
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: DISCONNECTED
Old version information:
Class name: SuppState;
Method or attribute name: DISCONNECTED
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: INTERFACE_DISABLED
Old version information:
Class name: SuppState;
Method or attribute name: INTERFACE_DISABLED
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: INACTIVE
Old version information:
Class name: SuppState;
Method or attribute name: INACTIVE
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: SCANNING
Old version information:
Class name: SuppState;
Method or attribute name: SCANNING
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: AUTHENTICATING
Old version information:
Class name: SuppState;
Method or attribute name: AUTHENTICATING
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: ASSOCIATING
Old version information:
Class name: SuppState;
Method or attribute name: ASSOCIATING
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: ASSOCIATED
Old version information:
Class name: SuppState;
Method or attribute name: ASSOCIATED
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: FOUR_WAY_HANDSHAKE
Old version information:
Class name: SuppState;
Method or attribute name: FOUR_WAY_HANDSHAKE
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: GROUP_HANDSHAKE
Old version information:
Class name: SuppState;
Method or attribute name: GROUP_HANDSHAKE
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: COMPLETED
Old version information:
Class name: SuppState;
Method or attribute name: COMPLETED
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: UNINITIALIZED
Old version information:
Class name: SuppState;
Method or attribute name: UNINITIALIZED
New version information: systemapi
@ohos.wifiManager.d.ts
Access level changed Class name: SuppState;
Method or attribute name: INVALID
Old version information:
Class name: SuppState;
Method or attribute name: INVALID
New version information: systemapi
@ohos.wifiManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: getDeviceName(): Promise<string>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getDeviceName(): Promise<string>;
New version information: ohos.permission.USE_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: getServices(): Promise<Array<GattService>>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getServices(): Promise<Array<GattService>>;
New version information: ohos.permission.USE_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>;
New version information: ohos.permission.USE_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>;
New version information: ohos.permission.USE_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: GattClientDevice;
Method or attribute name: getRssiValue(): Promise<number>;
Old version information:
Class name: GattClientDevice;
Method or attribute name: getRssiValue(): Promise<number>;
New version information: ohos.permission.USE_BLUETOOTH
@ohos.bluetoothManager.d.ts
Permission changed Class name: connection;
Method or attribute name: function getDefaultNet(): Promise<NetHandle>;
Old version information:
Class name: connection;
Method or attribute name: function getDefaultNet(): Promise<NetHandle>;
New version information: ohos.permission.GET_NETWORK_INFO
@ohos.net.connection.d.ts
Permission changed Class name: connection;
Method or attribute name: function getAllNets(): Promise<Array<NetHandle>>;
Old version information:
Class name: connection;
Method or attribute name: function getAllNets(): Promise<Array<NetHandle>>;
New version information: ohos.permission.GET_NETWORK_INFO
@ohos.net.connection.d.ts
Permission changed Class name: connection;
Method or attribute name: function getConnectionProperties(netHandle: NetHandle): Promise<ConnectionProperties>;
Old version information:
Class name: connection;
Method or attribute name: function getConnectionProperties(netHandle: NetHandle): Promise<ConnectionProperties>;
New version information: ohos.permission.GET_NETWORK_INFO
@ohos.net.connection.d.ts
Permission changed Class name: connection;
Method or attribute name: function getNetCapabilities(netHandle: NetHandle): Promise<NetCapabilities>;
Old version information:
Class name: connection;
Method or attribute name: function getNetCapabilities(netHandle: NetHandle): Promise<NetCapabilities>;
New version information: ohos.permission.GET_NETWORK_INFO
@ohos.net.connection.d.ts
Permission changed Class name: connection;
Method or attribute name: function isDefaultNetMetered(): Promise<boolean>;
Old version information:
Class name: connection;
Method or attribute name: function isDefaultNetMetered(): Promise<boolean>;
New version information: ohos.permission.GET_NETWORK_INFO
@ohos.net.connection.d.ts
Permission changed Class name: connection;
Method or attribute name: function hasDefaultNet(): Promise<boolean>;
Old version information:
Class name: connection;
Method or attribute name: function hasDefaultNet(): Promise<boolean>;
New version information: ohos.permission.GET_NETWORK_INFO
@ohos.net.connection.d.ts
Permission changed Class name: connection;
Method or attribute name: function enableAirplaneMode(): Promise<void>;
Old version information:
Class name: connection;
Method or attribute name: function enableAirplaneMode(): Promise<void>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.connection.d.ts
Permission changed Class name: connection;
Method or attribute name: function disableAirplaneMode(): Promise<void>;
Old version information:
Class name: connection;
Method or attribute name: function disableAirplaneMode(): Promise<void>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.connection.d.ts
Permission changed Class name: connection;
Method or attribute name: function reportNetConnected(netHandle: NetHandle): Promise<void>;
Old version information:
Class name: connection;
Method or attribute name: function reportNetConnected(netHandle: NetHandle): Promise<void>;
New version information: ohos.permission.GET_NETWORK_INFO,ohos.permission.INTERNET
@ohos.net.connection.d.ts
Permission changed Class name: connection;
Method or attribute name: function reportNetDisconnected(netHandle: NetHandle): Promise<void>;
Old version information:
Class name: connection;
Method or attribute name: function reportNetDisconnected(netHandle: NetHandle): Promise<void>;
New version information: ohos.permission.GET_NETWORK_INFO,ohos.permission.INTERNET
@ohos.net.connection.d.ts
Permission changed Class name: connection;
Method or attribute name: function getAddressesByName(host: string): Promise<Array<NetAddress>>;
Old version information:
Class name: connection;
Method or attribute name: function getAddressesByName(host: string): Promise<Array<NetAddress>>;
New version information: ohos.permission.INTERNET
@ohos.net.connection.d.ts
Permission changed Class name: NetHandle;
Method or attribute name: getAddressesByName(host: string): Promise<Array<NetAddress>>;
Old version information:
Class name: NetHandle;
Method or attribute name: getAddressesByName(host: string): Promise<Array<NetAddress>>;
New version information: ohos.permission.INTERNET
@ohos.net.connection.d.ts
Permission changed Class name: NetHandle;
Method or attribute name: getAddressByName(host: string): Promise<NetAddress>;
Old version information:
Class name: NetHandle;
Method or attribute name: getAddressByName(host: string): Promise<NetAddress>;
New version information: ohos.permission.INTERNET
@ohos.net.connection.d.ts
Permission changed Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string): Promise<InterfaceConfiguration>;
Old version information:
Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string): Promise<InterfaceConfiguration>;
New version information: ohos.permission.GET_NETWORK_INFO
@ohos.net.ethernet.d.ts
Permission changed Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise<void>;
Old version information:
Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise<void>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.ethernet.d.ts
Permission changed Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string): Promise<number>;
Old version information:
Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string): Promise<number>;
New version information: ohos.permission.GET_NETWORK_INFO
@ohos.net.ethernet.d.ts
Permission changed Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(): Promise<Array<string>>;
Old version information:
Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(): Promise<Array<string>>;
New version information: ohos.permission.GET_NETWORK_INFO
@ohos.net.ethernet.d.ts
Permission changed Class name: HttpRequest;
Method or attribute name: request(url: string, options: HttpRequestOptions, callback: AsyncCallback<HttpResponse>): void;
Old version information:
Class name: HttpRequest;
Method or attribute name: request(url: string, options: HttpRequestOptions, callback: AsyncCallback<HttpResponse>): void;
New version information: ohos.permission.INTERNET
@ohos.net.http.d.ts
Permission changed Class name: HttpRequest;
Method or attribute name: request(url: string, options?: HttpRequestOptions): Promise<HttpResponse>;
Old version information:
Class name: HttpRequest;
Method or attribute name: request(url: string, options?: HttpRequestOptions): Promise<HttpResponse>;
New version information: ohos.permission.INTERNET
@ohos.net.http.d.ts
Permission changed Class name: sharing;
Method or attribute name: function isSharingSupported(): Promise<boolean>;
Old version information:
Class name: sharing;
Method or attribute name: function isSharingSupported(): Promise<boolean>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.sharing.d.ts
Permission changed Class name: sharing;
Method or attribute name: function isSharing(): Promise<boolean>;
Old version information:
Class name: sharing;
Method or attribute name: function isSharing(): Promise<boolean>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.sharing.d.ts
Permission changed Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType): Promise<void>;
Old version information:
Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType): Promise<void>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.sharing.d.ts
Permission changed Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType): Promise<void>;
Old version information:
Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType): Promise<void>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.sharing.d.ts
Permission changed Class name: sharing;
Method or attribute name: function getStatsRxBytes(): Promise<number>;
Old version information:
Class name: sharing;
Method or attribute name: function getStatsRxBytes(): Promise<number>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.sharing.d.ts
Permission changed Class name: sharing;
Method or attribute name: function getStatsTxBytes(): Promise<number>;
Old version information:
Class name: sharing;
Method or attribute name: function getStatsTxBytes(): Promise<number>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.sharing.d.ts
Permission changed Class name: sharing;
Method or attribute name: function getStatsTotalBytes(): Promise<number>;
Old version information:
Class name: sharing;
Method or attribute name: function getStatsTotalBytes(): Promise<number>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.sharing.d.ts
Permission changed Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise<Array<string>>;
Old version information:
Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise<Array<string>>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.sharing.d.ts
Permission changed Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType): Promise<SharingIfaceState>;
Old version information:
Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType): Promise<SharingIfaceState>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.sharing.d.ts
Permission changed Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise<Array<string>>;
Old version information:
Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise<Array<string>>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL
@ohos.net.sharing.d.ts
Permission changed Class name: UDPSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
Old version information:
Class name: UDPSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: TCPSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: TLSSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
Old version information:
Class name: TLSSocket;
Method or attribute name: bind(address: NetAddress): Promise<void>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: UDPSocket;
Method or attribute name: send(options: UDPSendOptions): Promise<void>;
Old version information:
Class name: UDPSocket;
Method or attribute name: send(options: UDPSendOptions): Promise<void>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: UDPSocket;
Method or attribute name: close(): Promise<void>;
Old version information:
Class name: UDPSocket;
Method or attribute name: close(): Promise<void>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: TCPSocket;
Method or attribute name: close(): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: close(): Promise<void>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: UDPSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
Old version information:
Class name: UDPSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: TCPSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
Old version information:
Class name: TCPSocket;
Method or attribute name: getState(): Promise<SocketStateBase>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: UDPSocket;
Method or attribute name: setExtraOptions(options: UDPExtraOptions): Promise<void>;
Old version information:
Class name: UDPSocket;
Method or attribute name: setExtraOptions(options: UDPExtraOptions): Promise<void>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: TCPSocket;
Method or attribute name: connect(options: TCPConnectOptions): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: connect(options: TCPConnectOptions): Promise<void>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: TCPSocket;
Method or attribute name: send(options: TCPSendOptions): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: send(options: TCPSendOptions): Promise<void>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: TCPSocket;
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
Old version information:
Class name: TCPSocket;
Method or attribute name: getRemoteAddress(): Promise<NetAddress>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: TCPSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
Old version information:
Class name: TCPSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise<void>;
New version information: ohos.permission.INTERNET
@ohos.net.socket.d.ts
Permission changed Class name: WebSocket;
Method or attribute name: connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: WebSocket;
Method or attribute name: connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback<boolean>): void;
New version information: ohos.permission.INTERNET
@ohos.net.webSocket.d.ts
Permission changed Class name: WebSocket;
Method or attribute name: connect(url: string, options?: WebSocketRequestOptions): Promise<boolean>;
Old version information:
Class name: WebSocket;
Method or attribute name: connect(url: string, options?: WebSocketRequestOptions): Promise<boolean>;
New version information: ohos.permission.INTERNET
@ohos.net.webSocket.d.ts
Permission changed Class name: WebSocket;
Method or attribute name: send(data: string | ArrayBuffer): Promise<boolean>;
Old version information:
Class name: WebSocket;
Method or attribute name: send(data: string | ArrayBuffer): Promise<boolean>;
New version information: ohos.permission.INTERNET
@ohos.net.webSocket.d.ts
Permission changed Class name: WebSocket;
Method or attribute name: close(options: WebSocketCloseOptions, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: WebSocket;
Method or attribute name: close(options: WebSocketCloseOptions, callback: AsyncCallback<boolean>): void;
New version information: ohos.permission.INTERNET
@ohos.net.webSocket.d.ts
Permission changed Class name: WebSocket;
Method or attribute name: close(options?: WebSocketCloseOptions): Promise<boolean>;
Old version information:
Class name: WebSocket;
Method or attribute name: close(options?: WebSocketCloseOptions): Promise<boolean>;
New version information: ohos.permission.INTERNET
@ohos.net.webSocket.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
New version information: ohos.permission.SET_WIFI_INFO,ohos.permission.SET_WIFI_CONFIG
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void;
New version information: ohos.permission.SET_WIFI_INFO
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function removeCandidateConfig(networkId: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function removeCandidateConfig(networkId: number, callback: AsyncCallback<void>): void;
New version information: ohos.permission.SET_WIFI_INFO
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getLinkedInfo(callback: AsyncCallback<WifiLinkedInfo>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getLinkedInfo(callback: AsyncCallback<WifiLinkedInfo>): void;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getP2pLinkedInfo(callback: AsyncCallback<WifiP2pLinkedInfo>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getP2pLinkedInfo(callback: AsyncCallback<WifiP2pLinkedInfo>): void;
New version information: ohos.permission.GET_WIFI_INFO
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getCurrentP2pGroup(callback: AsyncCallback<WifiP2pGroupInfo>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getCurrentP2pGroup(callback: AsyncCallback<WifiP2pGroupInfo>): void;
New version information: ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getP2pPeerDevices(callback: AsyncCallback<WifiP2pDevice[]>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getP2pPeerDevices(callback: AsyncCallback<WifiP2pDevice[]>): void;
New version information: ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getP2pLocalDevice(callback: AsyncCallback<WifiP2pDevice>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getP2pLocalDevice(callback: AsyncCallback<WifiP2pDevice>): void;
New version information: ohos.permission.GET_WIFI_INFO,ohos.permission.GET_WIFI_CONFIG
@ohos.wifiManager.d.ts
Permission changed Class name: wifiManager;
Method or attribute name: function getP2pGroups(callback: AsyncCallback<Array<WifiP2pGroupInfo>>): void;
Old version information:
Class name: wifiManager;
Method or attribute name: function getP2pGroups(callback: AsyncCallback<Array<WifiP2pGroupInfo>>): void;
New version information: ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION
@ohos.wifiManager.d.ts
Type changed Class name: NetSpecifier;
Method or attribute name: netCapabilities: NetCapabilities;
Old version information:
Class name: NetSpecifier;
Method or attribute name: netCapabilities: NetCapabilities;
New version information: NetCapabilities
@ohos.net.connection.d.ts
Type changed Class name: NetSpecifier;
Method or attribute name: bearerPrivateIdentifier?: string;
Old version information:
Class name: NetSpecifier;
Method or attribute name: bearerPrivateIdentifier?: string;
New version information: ?string
@ohos.net.connection.d.ts
Type changed Class name: NetHandle;
Method or attribute name: netId: number;
Old version information:
Class name: NetHandle;
Method or attribute name: netId: number;
New version information: number
@ohos.net.connection.d.ts
Type changed Class name: NetCapabilities;
Method or attribute name: linkUpBandwidthKbps?: number;
Old version information:
Class name: NetCapabilities;
Method or attribute name: linkUpBandwidthKbps?: number;
New version information: ?number
@ohos.net.connection.d.ts
Type changed Class name: NetCapabilities;
Method or attribute name: linkDownBandwidthKbps?: number;
Old version information:
Class name: NetCapabilities;
Method or attribute name: linkDownBandwidthKbps?: number;
New version information: ?number
@ohos.net.connection.d.ts
Type changed Class name: NetCapabilities;
Method or attribute name: networkCap?: Array<NetCap>;
Old version information:
Class name: NetCapabilities;
Method or attribute name: networkCap?: Array<NetCap>;
New version information: ?Array<NetCap>
@ohos.net.connection.d.ts
Type changed Class name: NetCapabilities;
Method or attribute name: bearerTypes: Array<NetBearType>;
Old version information:
Class name: NetCapabilities;
Method or attribute name: bearerTypes: Array<NetBearType>;
New version information: Array<NetBearType>
@ohos.net.connection.d.ts
Type changed Class name: ConnectionProperties;
Method or attribute name: interfaceName: string;
Old version information:
Class name: ConnectionProperties;
Method or attribute name: interfaceName: string;
New version information: string
@ohos.net.connection.d.ts
Type changed Class name: ConnectionProperties;
Method or attribute name: domains: string;
Old version information:
Class name: ConnectionProperties;
Method or attribute name: domains: string;
New version information: string
@ohos.net.connection.d.ts
Type changed Class name: ConnectionProperties;
Method or attribute name: linkAddresses: Array<LinkAddress>;
Old version information:
Class name: ConnectionProperties;
Method or attribute name: linkAddresses: Array<LinkAddress>;
New version information: Array<LinkAddress>
@ohos.net.connection.d.ts
Type changed Class name: ConnectionProperties;
Method or attribute name: dnses: Array<NetAddress>;
Old version information:
Class name: ConnectionProperties;
Method or attribute name: dnses: Array<NetAddress>;
New version information: Array<NetAddress>
@ohos.net.connection.d.ts
Type changed Class name: ConnectionProperties;
Method or attribute name: routes: Array<RouteInfo>;
Old version information:
Class name: ConnectionProperties;
Method or attribute name: routes: Array<RouteInfo>;
New version information: Array<RouteInfo>
@ohos.net.connection.d.ts
Type changed Class name: ConnectionProperties;
Method or attribute name: mtu: number;
Old version information:
Class name: ConnectionProperties;
Method or attribute name: mtu: number;
New version information: number
@ohos.net.connection.d.ts
Type changed Class name: RouteInfo;
Method or attribute name: interface: string;
Old version information:
Class name: RouteInfo;
Method or attribute name: interface: string;
New version information: string
@ohos.net.connection.d.ts
Type changed Class name: RouteInfo;
Method or attribute name: destination: LinkAddress;
Old version information:
Class name: RouteInfo;
Method or attribute name: destination: LinkAddress;
New version information: LinkAddress
@ohos.net.connection.d.ts
Type changed Class name: RouteInfo;
Method or attribute name: gateway: NetAddress;
Old version information:
Class name: RouteInfo;
Method or attribute name: gateway: NetAddress;
New version information: NetAddress
@ohos.net.connection.d.ts
Type changed Class name: RouteInfo;
Method or attribute name: hasGateway: boolean;
Old version information:
Class name: RouteInfo;
Method or attribute name: hasGateway: boolean;
New version information: boolean
@ohos.net.connection.d.ts
Type changed Class name: RouteInfo;
Method or attribute name: isDefaultRoute: boolean;
Old version information:
Class name: RouteInfo;
Method or attribute name: isDefaultRoute: boolean;
New version information: boolean
@ohos.net.connection.d.ts
Type changed Class name: LinkAddress;
Method or attribute name: address: NetAddress;
Old version information:
Class name: LinkAddress;
Method or attribute name: address: NetAddress;
New version information: NetAddress
@ohos.net.connection.d.ts
Type changed Class name: LinkAddress;
Method or attribute name: prefixLength: number;
Old version information:
Class name: LinkAddress;
Method or attribute name: prefixLength: number;
New version information: number
@ohos.net.connection.d.ts
Type changed Class name: NetAddress;
Method or attribute name: address: string;
Old version information:
Class name: NetAddress;
Method or attribute name: address: string;
New version information: string
@ohos.net.connection.d.ts
Type changed Class name: NetAddress;
Method or attribute name: family?: number;
Old version information:
Class name: NetAddress;
Method or attribute name: family?: number;
New version information: ?number
@ohos.net.connection.d.ts
Type changed Class name: NetAddress;
Method or attribute name: port?: number;
Old version information:
Class name: NetAddress;
Method or attribute name: port?: number;
New version information: ?number
@ohos.net.connection.d.ts
Type changed Class name: HttpProxy;
Method or attribute name: host: string;
Old version information:
Class name: HttpProxy;
Method or attribute name: host: string;
New version information: string
@ohos.net.connection.d.ts
Type changed Class name: HttpProxy;
Method or attribute name: port: number;
Old version information:
Class name: HttpProxy;
Method or attribute name: port: number;
New version information: number
@ohos.net.connection.d.ts
Type changed Class name: HttpProxy;
Method or attribute name: exclusionList: Array<string>;
Old version information:
Class name: HttpProxy;
Method or attribute name: exclusionList: Array<string>;
New version information: Array<string>
@ohos.net.connection.d.ts
Type changed Class name: InterfaceConfiguration;
Method or attribute name: mode: IPSetMode;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: mode: IPSetMode;
New version information: IPSetMode
@ohos.net.ethernet.d.ts
Type changed Class name: InterfaceConfiguration;
Method or attribute name: ipAddr: string;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: ipAddr: string;
New version information: string
@ohos.net.ethernet.d.ts
Type changed Class name: InterfaceConfiguration;
Method or attribute name: route: string;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: route: string;
New version information: string
@ohos.net.ethernet.d.ts
Type changed Class name: InterfaceConfiguration;
Method or attribute name: gateway: string;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: gateway: string;
New version information: string
@ohos.net.ethernet.d.ts
Type changed Class name: InterfaceConfiguration;
Method or attribute name: netMask: string;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: netMask: string;
New version information: string
@ohos.net.ethernet.d.ts
Type changed Class name: InterfaceConfiguration;
Method or attribute name: dnsServers: string;
Old version information:
Class name: InterfaceConfiguration;
Method or attribute name: dnsServers: string;
New version information: string
@ohos.net.ethernet.d.ts
Type changed Class name: HttpRequestOptions;
Method or attribute name: method?: RequestMethod;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: method?: RequestMethod;
New version information: ?RequestMethod
@ohos.net.http.d.ts
Type changed Class name: HttpRequestOptions;
Method or attribute name: extraData?: string | Object | ArrayBuffer;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: extraData?: string | Object | ArrayBuffer;
New version information: ?string | Object | ArrayBuffer
@ohos.net.http.d.ts
Type changed Class name: HttpRequestOptions;
Method or attribute name: expectDataType?: HttpDataType;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: expectDataType?: HttpDataType;
New version information: ?HttpDataType
@ohos.net.http.d.ts
Type changed Class name: HttpRequestOptions;
Method or attribute name: usingCache?: boolean;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: usingCache?: boolean;
New version information: ?boolean
@ohos.net.http.d.ts
Type changed Class name: HttpRequestOptions;
Method or attribute name: priority?: number;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: priority?: number;
New version information: ?number
@ohos.net.http.d.ts
Type changed Class name: HttpRequestOptions;
Method or attribute name: header?: Object;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: header?: Object;
New version information: ?Object
@ohos.net.http.d.ts
Type changed Class name: HttpRequestOptions;
Method or attribute name: readTimeout?: number;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: readTimeout?: number;
New version information: ?number
@ohos.net.http.d.ts
Type changed Class name: HttpRequestOptions;
Method or attribute name: connectTimeout?: number;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: connectTimeout?: number;
New version information: ?number
@ohos.net.http.d.ts
Type changed Class name: HttpRequestOptions;
Method or attribute name: usingProtocol?: HttpProtocol;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: usingProtocol?: HttpProtocol;
New version information: ?HttpProtocol
@ohos.net.http.d.ts
Type changed Class name: HttpRequestOptions;
Method or attribute name: usingProxy?: boolean | HttpProxy;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: usingProxy?: boolean | HttpProxy;
New version information: ?boolean | HttpProxy
@ohos.net.http.d.ts
Type changed Class name: HttpRequestOptions;
Method or attribute name: caPath?: string;
Old version information:
Class name: HttpRequestOptions;
Method or attribute name: caPath?: string;
New version information: ?string
@ohos.net.http.d.ts
Type changed Class name: HttpResponse;
Method or attribute name: result: string | Object | ArrayBuffer;
Old version information:
Class name: HttpResponse;
Method or attribute name: result: string | Object | ArrayBuffer;
New version information: string | Object | ArrayBuffer
@ohos.net.http.d.ts
Type changed Class name: HttpResponse;
Method or attribute name: resultType: HttpDataType;
Old version information:
Class name: HttpResponse;
Method or attribute name: resultType: HttpDataType;
New version information: HttpDataType
@ohos.net.http.d.ts
Type changed Class name: HttpResponse;
Method or attribute name: responseCode: ResponseCode | number;
Old version information:
Class name: HttpResponse;
Method or attribute name: responseCode: ResponseCode | number;
New version information: ResponseCode | number
@ohos.net.http.d.ts
Type changed Class name: HttpResponse;
Method or attribute name: header: Object;
Old version information:
Class name: HttpResponse;
Method or attribute name: header: Object;
New version information: Object
@ohos.net.http.d.ts
Type changed Class name: HttpResponse;
Method or attribute name: cookies: string;
Old version information:
Class name: HttpResponse;
Method or attribute name: cookies: string;
New version information: string
@ohos.net.http.d.ts
Type changed Class name: LocalServiceInfo;
Method or attribute name: serviceType: string;
Old version information:
Class name: LocalServiceInfo;
Method or attribute name: serviceType: string;
New version information: string
@ohos.net.mdns.d.ts
Type changed Class name: LocalServiceInfo;
Method or attribute name: serviceName: string;
Old version information:
Class name: LocalServiceInfo;
Method or attribute name: serviceName: string;
New version information: string
@ohos.net.mdns.d.ts
Type changed Class name: LocalServiceInfo;
Method or attribute name: port?: number;
Old version information:
Class name: LocalServiceInfo;
Method or attribute name: port?: number;
New version information: ?number
@ohos.net.mdns.d.ts
Type changed Class name: LocalServiceInfo;
Method or attribute name: host?: NetAddress;
Old version information:
Class name: LocalServiceInfo;
Method or attribute name: host?: NetAddress;
New version information: ?NetAddress
@ohos.net.mdns.d.ts
Type changed Class name: LocalServiceInfo;
Method or attribute name: serviceAttribute?: Array<ServiceAttribute>;
Old version information:
Class name: LocalServiceInfo;
Method or attribute name: serviceAttribute?: Array<ServiceAttribute>;
New version information: ?Array<ServiceAttribute>
@ohos.net.mdns.d.ts
Type changed Class name: ServiceAttribute;
Method or attribute name: key: string;
Old version information:
Class name: ServiceAttribute;
Method or attribute name: key: string;
New version information: string
@ohos.net.mdns.d.ts
Type changed Class name: ServiceAttribute;
Method or attribute name: value: Array<number>;
Old version information:
Class name: ServiceAttribute;
Method or attribute name: value: Array<number>;
New version information: Array<number>
@ohos.net.mdns.d.ts
Type changed Class name: UDPSendOptions;
Method or attribute name: data: string | ArrayBuffer;
Old version information:
Class name: UDPSendOptions;
Method or attribute name: data: string | ArrayBuffer;
New version information: string | ArrayBuffer
@ohos.net.socket.d.ts
Type changed Class name: TCPSendOptions;
Method or attribute name: data: string | ArrayBuffer;
Old version information:
Class name: TCPSendOptions;
Method or attribute name: data: string | ArrayBuffer;
New version information: string | ArrayBuffer
@ohos.net.socket.d.ts
Type changed Class name: UDPSendOptions;
Method or attribute name: address: NetAddress;
Old version information:
Class name: UDPSendOptions;
Method or attribute name: address: NetAddress;
New version information: NetAddress
@ohos.net.socket.d.ts
Type changed Class name: TCPConnectOptions;
Method or attribute name: address: NetAddress;
Old version information:
Class name: TCPConnectOptions;
Method or attribute name: address: NetAddress;
New version information: NetAddress
@ohos.net.socket.d.ts
Type changed Class name: TLSConnectOptions;
Method or attribute name: address: NetAddress;
Old version information:
Class name: TLSConnectOptions;
Method or attribute name: address: NetAddress;
New version information: NetAddress
@ohos.net.socket.d.ts
Type changed Class name: ExtraOptionsBase;
Method or attribute name: receiveBufferSize?: number;
Old version information:
Class name: ExtraOptionsBase;
Method or attribute name: receiveBufferSize?: number;
New version information: ?number
@ohos.net.socket.d.ts
Type changed Class name: ExtraOptionsBase;
Method or attribute name: sendBufferSize?: number;
Old version information:
Class name: ExtraOptionsBase;
Method or attribute name: sendBufferSize?: number;
New version information: ?number
@ohos.net.socket.d.ts
Type changed Class name: ExtraOptionsBase;
Method or attribute name: reuseAddress?: boolean;
Old version information:
Class name: ExtraOptionsBase;
Method or attribute name: reuseAddress?: boolean;
New version information: ?boolean
@ohos.net.socket.d.ts
Type changed Class name: ExtraOptionsBase;
Method or attribute name: socketTimeout?: number;
Old version information:
Class name: ExtraOptionsBase;
Method or attribute name: socketTimeout?: number;
New version information: ?number
@ohos.net.socket.d.ts
Type changed Class name: UDPExtraOptions;
Method or attribute name: broadcast?: boolean;
Old version information:
Class name: UDPExtraOptions;
Method or attribute name: broadcast?: boolean;
New version information: ?boolean
@ohos.net.socket.d.ts
Type changed Class name: SocketStateBase;
Method or attribute name: isBound: boolean;
Old version information:
Class name: SocketStateBase;
Method or attribute name: isBound: boolean;
New version information: boolean
@ohos.net.socket.d.ts
Type changed Class name: SocketStateBase;
Method or attribute name: isClose: boolean;
Old version information:
Class name: SocketStateBase;
Method or attribute name: isClose: boolean;
New version information: boolean
@ohos.net.socket.d.ts
Type changed Class name: SocketStateBase;
Method or attribute name: isConnected: boolean;
Old version information:
Class name: SocketStateBase;
Method or attribute name: isConnected: boolean;
New version information: boolean
@ohos.net.socket.d.ts
Type changed Class name: SocketRemoteInfo;
Method or attribute name: address: string;
Old version information:
Class name: SocketRemoteInfo;
Method or attribute name: address: string;
New version information: string
@ohos.net.socket.d.ts
Type changed Class name: SocketRemoteInfo;
Method or attribute name: family: 'IPv4' | 'IPv6';
Old version information:
Class name: SocketRemoteInfo;
Method or attribute name: family: 'IPv4' | 'IPv6';
New version information: 'IPv4' | 'IPv6'
@ohos.net.socket.d.ts
Type changed Class name: SocketRemoteInfo;
Method or attribute name: port: number;
Old version information:
Class name: SocketRemoteInfo;
Method or attribute name: port: number;
New version information: number
@ohos.net.socket.d.ts
Type changed Class name: SocketRemoteInfo;
Method or attribute name: size: number;
Old version information:
Class name: SocketRemoteInfo;
Method or attribute name: size: number;
New version information: number
@ohos.net.socket.d.ts
Type changed Class name: TCPConnectOptions;
Method or attribute name: timeout?: number;
Old version information:
Class name: TCPConnectOptions;
Method or attribute name: timeout?: number;
New version information: ?number
@ohos.net.socket.d.ts
Type changed Class name: TCPSendOptions;
Method or attribute name: encoding?: string;
Old version information:
Class name: TCPSendOptions;
Method or attribute name: encoding?: string;
New version information: ?string
@ohos.net.socket.d.ts
Type changed Class name: TCPExtraOptions;
Method or attribute name: keepAlive?: boolean;
Old version information:
Class name: TCPExtraOptions;
Method or attribute name: keepAlive?: boolean;
New version information: ?boolean
@ohos.net.socket.d.ts
Type changed Class name: TCPExtraOptions;
Method or attribute name: OOBInline?: boolean;
Old version information:
Class name: TCPExtraOptions;
Method or attribute name: OOBInline?: boolean;
New version information: ?boolean
@ohos.net.socket.d.ts
Type changed Class name: TCPExtraOptions;
Method or attribute name: TCPNoDelay?: boolean;
Old version information:
Class name: TCPExtraOptions;
Method or attribute name: TCPNoDelay?: boolean;
New version information: ?boolean
@ohos.net.socket.d.ts
Type changed Class name: TCPExtraOptions;
Method or attribute name: socketLinger?: { on: boolean, linger: number };
Old version information:
Class name: TCPExtraOptions;
Method or attribute name: socketLinger?: { on: boolean, linger: number };
New version information: ?object
@ohos.net.socket.d.ts
Type changed Class name: TLSSecureOptions;
Method or attribute name: ca: string | Array<string>;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: ca: string | Array<string>;
New version information: string | Array<string>
@ohos.net.socket.d.ts
Type changed Class name: TLSSecureOptions;
Method or attribute name: cert?: string;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: cert?: string;
New version information: ?string
@ohos.net.socket.d.ts
Type changed Class name: TLSSecureOptions;
Method or attribute name: key?: string;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: key?: string;
New version information: ?string
@ohos.net.socket.d.ts
Type changed Class name: TLSSecureOptions;
Method or attribute name: password?: string;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: password?: string;
New version information: ?string
@ohos.net.socket.d.ts
Type changed Class name: TLSSecureOptions;
Method or attribute name: protocols?: Protocol | Array<Protocol>;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: protocols?: Protocol | Array<Protocol>;
New version information: ?Protocol | Array<Protocol>
@ohos.net.socket.d.ts
Type changed Class name: TLSSecureOptions;
Method or attribute name: useRemoteCipherPrefer?: boolean;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: useRemoteCipherPrefer?: boolean;
New version information: ?boolean
@ohos.net.socket.d.ts
Type changed Class name: TLSSecureOptions;
Method or attribute name: signatureAlgorithms?: string;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: signatureAlgorithms?: string;
New version information: ?string
@ohos.net.socket.d.ts
Type changed Class name: TLSSecureOptions;
Method or attribute name: cipherSuite?: string;
Old version information:
Class name: TLSSecureOptions;
Method or attribute name: cipherSuite?: string;
New version information: ?string
@ohos.net.socket.d.ts
Type changed Class name: TLSConnectOptions;
Method or attribute name: secureOptions: TLSSecureOptions;
Old version information:
Class name: TLSConnectOptions;
Method or attribute name: secureOptions: TLSSecureOptions;
New version information: TLSSecureOptions
@ohos.net.socket.d.ts
Type changed Class name: TLSConnectOptions;
Method or attribute name: ALPNProtocols?: Array<string>;
Old version information:
Class name: TLSConnectOptions;
Method or attribute name: ALPNProtocols?: Array<string>;
New version information: ?Array<string>
@ohos.net.socket.d.ts
Type changed Class name: WebSocketRequestOptions;
Method or attribute name: header?: Object;
Old version information:
Class name: WebSocketRequestOptions;
Method or attribute name: header?: Object;
New version information: ?Object
@ohos.net.webSocket.d.ts
Type changed Class name: WebSocketCloseOptions;
Method or attribute name: code?: number;
Old version information:
Class name: WebSocketCloseOptions;
Method or attribute name: code?: number;
New version information: ?number
@ohos.net.webSocket.d.ts
Type changed Class name: WebSocketCloseOptions;
Method or attribute name: reason?: string;
Old version information:
Class name: WebSocketCloseOptions;
Method or attribute name: reason?: string;
New version information: ?string
@ohos.net.webSocket.d.ts
Type changed Class name: WifiEapConfig;
Method or attribute name: caCertAliases: string;
Old version information:
Class name: WifiEapConfig;
Method or attribute name: caCertAliases: string;
New version information: string
@ohos.wifiManager.d.ts
Type changed Class name: WifiEapConfig;
Method or attribute name: clientCertAliases: string;
Old version information:
Class name: WifiEapConfig;
Method or attribute name: clientCertAliases: string;
New version information: string
@ohos.wifiManager.d.ts
Type changed Class name: WifiEapConfig;
Method or attribute name: eapSubId: number;
Old version information:
Class name: WifiEapConfig;
Method or attribute name: eapSubId: number;
New version information: number
@ohos.wifiManager.d.ts
Type changed Class name: WifiDeviceConfig;
Method or attribute name: eapConfig?: WifiEapConfig;
Old version information:
Class name: WifiDeviceConfig;
Method or attribute name: eapConfig?: WifiEapConfig;
New version information: ?WifiEapConfig
@ohos.wifiManager.d.ts
Type changed Class name: NetworkResponse;
Method or attribute name: type: string;
Old version information:
Class name: NetworkResponse;
Method or attribute name: type: string;
New version information: string
@system.network.d.ts
Type changed Class name: NetworkResponse;
Method or attribute name: metered: boolean;
Old version information:
Class name: NetworkResponse;
Method or attribute name: metered: boolean;
New version information: boolean
@system.network.d.ts
Function changed Class name: HotspotConfig;
Method or attribute name: channel: number;
Class name: HotspotConfig;
Method or attribute name: channel?: number;
@ohos.wifiManager.d.ts