Class Analytics
Assembly: UnityEngine.dll
Syntax
public static class Analytics
Properties
|
Improve this Doc
View Source
deviceStatsEnabled
Declaration
public static bool deviceStatsEnabled { get; set; }
Property Value
|
Improve this Doc
View Source
enabled
Declaration
public static bool enabled { get; set; }
Property Value
|
Improve this Doc
View Source
initializeOnStartup
Declaration
public static bool initializeOnStartup { get; set; }
Property Value
|
Improve this Doc
View Source
limitUserTracking
Declaration
public static bool limitUserTracking { get; set; }
Property Value
|
Improve this Doc
View Source
playerOptedOut
Declaration
public static bool playerOptedOut { get; }
Property Value
Methods
|
Improve this Doc
View Source
CustomEvent(String)
Declaration
public static AnalyticsResult CustomEvent(string customEventName)
Parameters
Type |
Name |
Description |
String |
customEventName |
|
Returns
|
Improve this Doc
View Source
CustomEvent(String, IDictionary<String, Object>)
Declaration
public static AnalyticsResult CustomEvent(string customEventName, IDictionary<string, object> eventData)
Parameters
Returns
|
Improve this Doc
View Source
CustomEvent(String, Vector3)
Declaration
public static AnalyticsResult CustomEvent(string customEventName, Vector3 position)
Parameters
Returns
|
Improve this Doc
View Source
FlushEvents()
Declaration
public static AnalyticsResult FlushEvents()
Returns
|
Improve this Doc
View Source
RegisterEvent(String, Int32, Int32, String, Int32, String)
Declaration
public static AnalyticsResult RegisterEvent(string eventName, int maxEventPerHour, int maxItems, string vendorKey, int ver, string prefix = "")
Parameters
Returns
|
Improve this Doc
View Source
RegisterEvent(String, Int32, Int32, String, String)
Declaration
public static AnalyticsResult RegisterEvent(string eventName, int maxEventPerHour, int maxItems, string vendorKey = "", string prefix = "")
Parameters
Returns
|
Improve this Doc
View Source
ResumeInitialization()
Declaration
public static AnalyticsResult ResumeInitialization()
Returns
|
Improve this Doc
View Source
SendEvent(String, Object, Int32, String)
Declaration
public static AnalyticsResult SendEvent(string eventName, object parameters, int ver = 1, string prefix = "")
Parameters
Returns
|
Improve this Doc
View Source
SetUserBirthYear(Int32)
Declaration
public static AnalyticsResult SetUserBirthYear(int birthYear)
Parameters
Type |
Name |
Description |
Int32 |
birthYear |
|
Returns
|
Improve this Doc
View Source
SetUserGender(Gender)
Declaration
public static AnalyticsResult SetUserGender(Gender gender)
Parameters
Type |
Name |
Description |
Gender |
gender |
|
Returns
|
Improve this Doc
View Source
SetUserId(String)
Declaration
public static AnalyticsResult SetUserId(string userId)
Parameters
Type |
Name |
Description |
String |
userId |
|
Returns
|
Improve this Doc
View Source
Transaction(String, Decimal, String)
Declaration
public static AnalyticsResult Transaction(string productId, decimal amount, string currency)
Parameters
Returns
|
Improve this Doc
View Source
Transaction(String, Decimal, String, String, String)
Declaration
public static AnalyticsResult Transaction(string productId, decimal amount, string currency, string receiptPurchaseData, string signature)
Parameters
Returns
|
Improve this Doc
View Source
Transaction(String, Decimal, String, String, String, Boolean)
Declaration
public static AnalyticsResult Transaction(string productId, decimal amount, string currency, string receiptPurchaseData, string signature, bool usingIAPService)
Parameters
Returns