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