void OnApplicationFocus(bool focus)
 {
     if (analyticsManager != null)
     {
         if (focus)
         {
             analyticsManager.ResumeSession();
         }
         else
         {
             analyticsManager.PauseSession();
         }
     }
 }
Пример #2
0
 protected override void OnPause()
 {
     _manager.PauseSession();
     base.OnPause();
 }