Exemplo n.º 1
0
 public void disconnectGoogleAPI()
 {
     if (_googleAPI != null && _googleAPI.IsConnected)
     {
         if (_googleAPI.IsConnectionCallbacksRegistered(this))
         {
             _googleAPI.UnregisterConnectionCallbacks(this);
         }
         if (_googleAPI.IsConnectionFailedListenerRegistered(this))
         {
             _googleAPI.UnregisterConnectionFailedListener(this);
         }
         _googleAPI.Disconnect();
     }
 }