Gamebase SDK for Unity 2.76.0 Toast Gamebase Platform

Loading...
Searching...
No Matches

## ◆ RequestLastLoggedInProvider()

static void RequestLastLoggedInProvider | ( | GamebaseCallback.GamebaseDelegate< string > | callback | ) |
| static

Get the last logged-in Provider Name in Gamebase.

Since
  Added 2.69.0.

Parameters

  callback | Callback pass to API result.

Example Usage :

public void RequestLastLoggedInProviderSample()
{
Gamebase.RequestLastLoggedInProvider(lastLoggedInProvider, error)=>
{
if (Gamebase.IsSuccess(error) == true)
{
Debug.Log(string.Format("lastLoggedInProvider:{0}", lastLoggedInProvider));
}
else
{
// Failed.
}
});
}
Toast.Gamebase.Gamebase.RequestLastLoggedInProvider
static void RequestLastLoggedInProvider(GamebaseCallback.GamebaseDelegate< string > callback)
Get the last logged-in Provider Name in Gamebase.
Definition Gamebase.cs:1807
Toast.Gamebase.Gamebase.IsSuccess
static bool IsSuccess(GamebaseError error)
Return true if the GamebaseException object is null or the error code is zero.
Definition Gamebase.cs:57
Toast.Gamebase.Gamebase
The Gamebase class is core of Gamebase service.
Definition Gamebase.cs:11