mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Migrate NetworkMonitor to use native APIs.
PiperOrigin-RevId: 802185742
This commit is contained in:
committed by
Copybara-Service
parent
c1ac949ecb
commit
96040b49aa
@@ -43,6 +43,9 @@ ByteArray Sha256(absl::string_view input, size_t size);
|
||||
std::vector<std::string> GetIpv4Addresses();
|
||||
std::vector<std::string> Get4BytesIpv4Addresses();
|
||||
std::vector<std::string> GetWifiIpv4Addresses();
|
||||
void GetIpv4Addresses(std::vector<std::string>& wifi_addresses,
|
||||
std::vector<std::string>& ethernet_addresses,
|
||||
std::vector<std::string>& other_addresses);
|
||||
|
||||
// Returns the connection state of the different network types.
|
||||
void GetConnectedNetworks(bool& is_wifi_connected, bool& is_ethernet_connected,
|
||||
|
||||
Reference in New Issue
Block a user