Exemplo n.º 1
0
 private void OnApplicationFocus(bool focus)
 {
     if (focus)
     {
         ApplicationOnFocus?.Invoke();
     }
     else
     {
         ApplicationOnPause?.Invoke();
     }
 }
 void OnApplicationPause(bool pauseStatus) => ApplicationOnPause?.Invoke(pauseStatus);