/// <summary>
 /// Called when the application host is suspended.
 /// </summary>
 public void OnSuspend()
 {
     _networkInfo.NetworkAvailabilityChanged -= OnAvailabilityChanged;
     _networkInfo.Stop();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Called when the application host is suspended.
 /// </summary>
 public void OnSuspend()
 {
     _networkInfo.NetworkStatusChanged -= OnStatusChanged;
     _networkInfo.Stop();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Called when the application host is suspended.
 /// </summary>
 public void OnSuspend()
 {
     _networkInfo.NetworkConnectivityChanged -= OnNetworkConnectivityChanged;
     _networkInfo.Stop();
 }