Interface IUnityAnalyticsService
Declaration
public interface IUnityAnalyticsService : IAnalyticsService, IAsyncInitialize
Methods
SendGameStart(IDictionary<string, object>)
Declaration
void SendGameStart(IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendGameOver(int?, string, IDictionary<string, object>)
Declaration
void SendGameOver(int? index = null, string name = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.Nullable<System.Int32> | index |
System.String | name |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendLevelStart(int?, string, IDictionary<string, object>)
Declaration
void SendLevelStart(int? index = null, string name = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.Nullable<System.Int32> | index |
System.String | name |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendLevelEnd(int?, string, IDictionary<string, object>)
Declaration
void SendLevelEnd(int? index = null, string name = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.Nullable<System.Int32> | index |
System.String | name |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendLevelFail(int?, string, IDictionary<string, object>)
Declaration
void SendLevelFail(int? levelIndex = null, string name = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.Nullable<System.Int32> | levelIndex |
System.String | name |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendLevelQuit(int?, string, IDictionary<string, object>)
Declaration
void SendLevelQuit(int? levelIndex = null, string name = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.Nullable<System.Int32> | levelIndex |
System.String | name |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendLevelSkip(int?, string, IDictionary<string, object>)
Declaration
void SendLevelSkip(int? levelIndex = null, string name = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.Nullable<System.Int32> | levelIndex |
System.String | name |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendLevelUp(int?, string, IDictionary<string, object>)
Declaration
void SendLevelUp(int? levelIndex = null, string name = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.Nullable<System.Int32> | levelIndex |
System.String | name |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendScreenView(string, IDictionary<string, object>)
Declaration
void SendScreenView(string name, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.String | name |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendCutSceneStart(string, IDictionary<string, object>)
Declaration
void SendCutSceneStart(string name, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.String | name |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendCutSceneSkip(string, IDictionary<string, object>)
Declaration
void SendCutSceneSkip(string name, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.String | name |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendFirstInteraction(string, IDictionary<string, object>)
Declaration
void SendFirstInteraction(string actionId = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.String | actionId |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendTutorialBegin(string, IDictionary<string, object>)
Declaration
void SendTutorialBegin(string tutorialId = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.String | tutorialId |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendTutorialStep(int, string, IDictionary<string, object>)
Declaration
void SendTutorialStep(int stepIndex, string tutorialId = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.Int32 | stepIndex |
System.String | tutorialId |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendTutorialEnd(string, IDictionary<string, object>)
Declaration
void SendTutorialEnd(string tutorialId = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.String | tutorialId |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendTutorialSkip(string, IDictionary<string, object>)
Declaration
void SendTutorialSkip(string tutorialId = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.String | tutorialId |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendNotificationEnable(IDictionary<string, object>)
Declaration
void SendNotificationEnable(IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendNotificationClick(string, IDictionary<string, object>)
Declaration
void SendNotificationClick(string messageId, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.String | messageId |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendChatMsgSent(IDictionary<string, object>)
Declaration
void SendChatMsgSent(IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendAchievementUnlocked(string, IDictionary<string, object>)
Declaration
void SendAchievementUnlocked(string achievementId, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.String | achievementId |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendAchievementStep(int, string, IDictionary<string, object>)
Declaration
void SendAchievementStep(int stepIndex, string achievementId, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.Int32 | stepIndex |
System.String | achievementId |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendUserSignUp(string, IDictionary<string, object>)
Declaration
void SendUserSignUp(string authNetwork, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.String | authNetwork |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendSocialShare(string, string, string, string, IDictionary<string, object>)
Declaration
void SendSocialShare(string shareType, string socialNetwork, string senderId = null, string recipientId = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.String | shareType |
System.String | socialNetwork |
System.String | senderId |
System.String | recipientId |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendSocialAccept(string, string, string, string, IDictionary<string, object>)
Declaration
void SendSocialAccept(string shareType, string socialNetwork, string senderId = null, string recipientId = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.String | shareType |
System.String | socialNetwork |
System.String | senderId |
System.String | recipientId |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendAdOffer(bool, string, string, IDictionary<string, object>)
Declaration
void SendAdOffer(bool rewarded, string network = null, string placementId = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.Boolean | rewarded |
System.String | network |
System.String | placementId |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendAdStart(bool, string, string, IDictionary<string, object>)
Declaration
void SendAdStart(bool rewarded, string network = null, string placementId = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.Boolean | rewarded |
System.String | network |
System.String | placementId |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendAdComplete(bool, string, string, IDictionary<string, object>)
Declaration
void SendAdComplete(bool rewarded, string network = null, string placementId = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.Boolean | rewarded |
System.String | network |
System.String | placementId |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendAdSkip(bool, string, string, IDictionary<string, object>)
Declaration
void SendAdSkip(bool rewarded, string network = null, string placementId = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.Boolean | rewarded |
System.String | network |
System.String | placementId |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendPostAdAction(bool, string, string, IDictionary<string, object>)
Declaration
void SendPostAdAction(bool rewarded, string network = null, string placementId = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.Boolean | rewarded |
System.String | network |
System.String | placementId |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendStoreOpen(object, IDictionary<string, object>)
Declaration
void SendStoreOpen(object storeType, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.Object | storeType |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendStoreItemClick(object, string, string, IDictionary<string, object>)
Declaration
void SendStoreItemClick(object storeType, string itemId, string itemName, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.Object | storeType |
System.String | itemId |
System.String | itemName |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendIapTransaction(string, float, string, string, string, string, IDictionary<string, object>)
Declaration
void SendIapTransaction(string transactionContext, float price, string itemId, string itemType = null, string level = null, string transactionId = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.String | transactionContext |
System.Single | price |
System.String | itemId |
System.String | itemType |
System.String | level |
System.String | transactionId |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |
SendItemAcquired(object, string, float, string, string, string, string, IDictionary<string, object>)
Declaration
void SendItemAcquired(object currencyType, string transactionContext, float amount, string itemId, string itemType = null, string level = null, string transactionId = null, IDictionary<string, object> eventData = null)
Parameters
Type | Name |
---|---|
System.Object | currencyType |
System.String | transactionContext |
System.Single | amount |
System.String | itemId |
System.String | itemType |
System.String | level |
System.String | transactionId |
System.Collections.Generic.IDictionary<System.String,System.Object> | eventData |