Class NetworkHelper
- Namespace
- HomaGames.HomaBelly
- Assembly
- HomaGames.HomaBelly.Core.dll
Class listening to network availability changes and notifying registerd events
public class NetworkHelper
- Inheritance
-
NetworkHelper
- Inherited Members
Methods
StartListening()
Starts listening for network reachability changes
public void StartListening()
StopListening()
Stops listening for network reachability changes
public void StopListening()
Events
OnInitialNetworkReachabilityFetched
Callback to be notified when a network reachability is first fetched. This will be invoked in the Main Thread
public event Action<NetworkReachability> OnInitialNetworkReachabilityFetched
Event Type
- Action<NetworkReachability>
OnNetworkReachabilityChange
Callback to be notified when a network reachability change is detected. This will be invoked in the Main Thread
public event Action<NetworkReachability> OnNetworkReachabilityChange
Event Type
- Action<NetworkReachability>