Gamebase SDK for Unity 2.76.0 Toast Gamebase Platform

Loading...
Searching...
No Matches

## ◆ GetLastLoggedInProvider()

static string GetLastLoggedInProvider | ( |  | ) |
| static

Get the last logged-in Provider Name in Gamebase.

If the value has not been initialized yet, 'NOT_INITIALIZED_YET'.

Since
  Added 1.4.0.

Returns
  The name that is last logged-in authentication provider.

Example Usage :

public void GetLastLoggedInProviderSample()
{
string lastLoggedInProvider = Gamebase.GetLastLoggedInProvider();
Debug.Log(string.Format("lastLoggedInProvider:{0}", lastLoggedInProvider));
}
Toast.Gamebase.Gamebase.GetLastLoggedInProvider
static string GetLastLoggedInProvider()
Get the last logged-in Provider Name in Gamebase.
Definition Gamebase.cs:1828
Toast.Gamebase.Gamebase
The Gamebase class is core of Gamebase service.
Definition Gamebase.cs:11