Home
last modified time | relevance | path

Searched refs:NetHandle (Results 1 – 2 of 2) sorted by relevance

/interface/sdk-js/api/
D@ohos.net.connection.d.ts71 function getDefaultNet(callback: AsyncCallback<NetHandle>): void;
85 function getDefaultNet(): Promise<NetHandle>;
99 function getDefaultNetSync(): NetHandle;
113 function getAllNets(callback: AsyncCallback<Array<NetHandle>>): void;
127 function getAllNets(): Promise<Array<NetHandle>>;
141 function getAllNetsSync(): Array<NetHandle>;
157 …function getConnectionProperties(netHandle: NetHandle, callback: AsyncCallback<ConnectionPropertie…
173 function getConnectionProperties(netHandle: NetHandle): Promise<ConnectionProperties>;
189 function getConnectionPropertiesSync(netHandle: NetHandle): ConnectionProperties;
205 function getNetCapabilities(netHandle: NetHandle, callback: AsyncCallback<NetCapabilities>): void;
[all …]
D@ohos.net.sharing.d.ts26 type NetHandle = connection.NetHandle; alias
435 function on(type: 'sharingUpstreamChange', callback: Callback<NetHandle>): void;
449 function off(type: 'sharingUpstreamChange', callback?: Callback<NetHandle>): void;