Skip to main content

Interface IUnityAnalyticsService

Declaration
public interface IUnityAnalyticsService : IAnalyticsService, IAsyncInitialize

Methods

SendGameStart(IDictionary<string, object>)

Declaration
void SendGameStart(IDictionary<string, object> eventData = null)
Parameters
TypeName
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
TypeName
System.Nullable<System.Int32>index
System.Stringname
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
TypeName
System.Nullable<System.Int32>index
System.Stringname
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
TypeName
System.Nullable<System.Int32>index
System.Stringname
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
TypeName
System.Nullable<System.Int32>levelIndex
System.Stringname
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
TypeName
System.Nullable<System.Int32>levelIndex
System.Stringname
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
TypeName
System.Nullable<System.Int32>levelIndex
System.Stringname
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
TypeName
System.Nullable<System.Int32>levelIndex
System.Stringname
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
TypeName
System.Stringname
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
TypeName
System.Stringname
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
TypeName
System.Stringname
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
TypeName
System.StringactionId
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
TypeName
System.StringtutorialId
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
TypeName
System.Int32stepIndex
System.StringtutorialId
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
TypeName
System.StringtutorialId
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
TypeName
System.StringtutorialId
System.Collections.Generic.IDictionary<System.String,System.Object>eventData

SendNotificationEnable(IDictionary<string, object>)

Declaration
void SendNotificationEnable(IDictionary<string, object> eventData = null)
Parameters
TypeName
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
TypeName
System.StringmessageId
System.Collections.Generic.IDictionary<System.String,System.Object>eventData

SendChatMsgSent(IDictionary<string, object>)

Declaration
void SendChatMsgSent(IDictionary<string, object> eventData = null)
Parameters
TypeName
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
TypeName
System.StringachievementId
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
TypeName
System.Int32stepIndex
System.StringachievementId
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
TypeName
System.StringauthNetwork
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
TypeName
System.StringshareType
System.StringsocialNetwork
System.StringsenderId
System.StringrecipientId
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
TypeName
System.StringshareType
System.StringsocialNetwork
System.StringsenderId
System.StringrecipientId
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
TypeName
System.Booleanrewarded
System.Stringnetwork
System.StringplacementId
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
TypeName
System.Booleanrewarded
System.Stringnetwork
System.StringplacementId
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
TypeName
System.Booleanrewarded
System.Stringnetwork
System.StringplacementId
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
TypeName
System.Booleanrewarded
System.Stringnetwork
System.StringplacementId
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
TypeName
System.Booleanrewarded
System.Stringnetwork
System.StringplacementId
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
TypeName
System.ObjectstoreType
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
TypeName
System.ObjectstoreType
System.StringitemId
System.StringitemName
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
TypeName
System.StringtransactionContext
System.Singleprice
System.StringitemId
System.StringitemType
System.Stringlevel
System.StringtransactionId
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
TypeName
System.ObjectcurrencyType
System.StringtransactionContext
System.Singleamount
System.StringitemId
System.StringitemType
System.Stringlevel
System.StringtransactionId
System.Collections.Generic.IDictionary<System.String,System.Object>eventData