Gamebase SDK for Unity 2.76.0 Toast Gamebase Platform

Loading...
Searching...
No Matches

## ◆ GetIdfa()

static string GetIdfa | ( |  | ) |
| static

Gets the idfa on the device.

(Ios Only)

Since
  Added 2.64.0.

Returns
  The idfa currently on the device.

Example Usage :

public void GetIdfa()
{
#if UNITY_IOS
string idfa = Gamebase.Util.GetAppTrackingAuthorizationStatus(); Ios only
#endif
}
Toast.Gamebase.Gamebase.Util.GetIdfa
static string GetIdfa()
Gets the idfa on the device.
Definition Gamebase.cs:3070
Toast.Gamebase.Gamebase.Util.GetAppTrackingAuthorizationStatus
static GamebaseAppTrackingAuthorizationStatus GetAppTrackingAuthorizationStatus()
Request app-tracking permission status for user authorization.
Definition Gamebase.cs:3049
Toast.Gamebase.Gamebase.Util
The Util class provides convenient and useful methods.
Definition Gamebase.cs:2931
Toast.Gamebase.Gamebase
The Gamebase class is core of Gamebase service.
Definition Gamebase.cs:11