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

◆ GetNetworkTypeName()

static string GetNetworkTypeName ( )
static

Return a human-readable name describe the type of the network, for example "WIFI" or "MOBILE".

Since
Added 1.4.0.
Returns
The name of the network type.

Example Usage :

public void GetNetworkTypeNameSample()
{
string networkName = Gamebase.Network.GetNetworkTypeName();
Debug.Log(string.Format("networkName:{0}", networkName));
}
static string GetNetworkTypeName()
Return a human-readable name describe the type of the network, for example "WIFI" or "MOBILE".
Definition Gamebase.cs:3072
The Network class indicates Network status.
Definition Gamebase.cs:3031
The Gamebase class is core of Gamebase service.
Definition Gamebase.cs:11