MCPcopy Create free account
hub / github.com/CompSciOrBust/Amiigo / hasNetworkConnection

Function hasNetworkConnection

source/Networking.cpp:67–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67bool hasNetworkConnection() {
68 NifmInternetConnectionStatus status;
69 nifmGetInternetConnectionStatus(nullptr, nullptr, &status);
70 return status == NifmInternetConnectionStatus_Connected;
71}

Callers 5

initSplashFunction · 0.85
initSettingsFunction · 0.85
retrieveToFileFunction · 0.85
firstTimeSetupFunction · 0.85
checkForUpdatesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected