Gamebase SDK for Unity 2.76.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));
}
Toast.Gamebase.Gamebase.Network.GetNetworkTypeName
static string GetNetworkTypeName()
Return a human-readable name describe the type of the network, for example "WIFI" or "MOBILE".
Definition Gamebase.cs:3203
Toast.Gamebase.Gamebase.Network
The Network class indicates Network status.
Definition Gamebase.cs:3162
Toast.Gamebase.Gamebase
The Gamebase class is core of Gamebase service.
Definition Gamebase.cs:11