Exemplo n.º 1
0
 /// <summary>
 /// Returns the user's Google ID.
 /// </summary>
 /// <returns>
 /// The user's Google ID. No guarantees are made as to the meaning or format of
 /// this identifier except that it is unique to the user who is signed in.
 /// </returns>
 public string GetUserId()
 {
     if (!IsAuthenticated())
     {
         Logger.e("GetUserId() can only be called after authentication.");
         return("0");
     }
     return(mClient.GetUserId());
 }
Exemplo n.º 2
0
 /// <summary>
 /// Returns the user's Google ID.
 /// </summary>
 /// <returns>
 /// The user's Google ID. No guarantees are made as to the meaning or format of
 /// this identifier except that it is unique to the user who is signed in.
 /// </returns>
 public string GetUserId()
 {
     if (!IsAuthenticated())
     {
         GooglePlayGames.OurUtils.Logger.e("GetUserId() can only be called after authentication.");
         return("0");
     }
     return(mClient.GetUserId());
 }