Gamebase SDK for Unity 2.69.0
Toast Gamebase Platform
Loading...
Searching...
No Matches

◆ RequestContactURL() [1/2]

static void RequestContactURL ( GamebaseCallback::GamebaseDelegate< string > callback)
static

URL is passed through callback.

You can open webview with this URL.

Since
Added 2.16.0.
Parameters
callbackReturns the customer service URL.

Example Usage :

public void SampleRequestContactURL()
{
{
if (Gamebase.IsSuccess(error) == true)
{
// Open webview with 'contactUrl'
}
else if (error.code == GamebaseErrorCode.UI_CONTACT_FAIL_INVALID_URL) // 6911
{
// Gamebase Console Service Center URL is invalid.
// Please check the url field in the TOAST Gamebase Console.
}
else
{
// An error occur when requesting the contact web view url.
}
});
}
static void RequestContactURL(GamebaseCallback.GamebaseDelegate< string > callback)
URL is passed through callback.
Definition Gamebase.cs:3599
This class provides wrapping of function execution related to TOAST Contact.
Definition Gamebase.cs:3484
static bool IsSuccess(GamebaseError error)
Return true if the GamebaseException object is null or the error code is zero.
Definition Gamebase.cs:57
The Gamebase class is core of Gamebase service.
Definition Gamebase.cs:11