Class NullUnityAnalyticsService
Declaration
public class NullUnityAnalyticsService : IUnityAnalyticsService, IAnalyticsService, IAsyncInitialize
Implements:
MatchinghamGames.SherlockModule.Services.Unity.IUnityAnalyticsService, MatchinghamGames.SherlockModule.IAnalyticsService, Global.IAsyncInitialize
Properties
Ready
Declaration
public bool Ready { get; }
Methods
WhenReady(Action<InitializationResult>)
Declaration
public void WhenReady(Action<InitializationResult> callback)
Parameters
Type | Name |
---|---|
System.Action<InitializationResult> | callback |
Initialize()
Declaration
public void Initialize()
SendCustom(string, IDictionary<string, object>)
Declaration
public void SendCustom(string token, IDictionary<string, object> parameters)
Parameters
Type | Name |
---|---|
System.String | token |
System.Collections.Generic.IDictionary<System.String,System.Object> | parameters |
SendGameStart(IDictionary<string, object>)
Declaration
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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 |
SendIapTransaction(string, float, string, string, string, string, IDictionary<string, object>)
Declaration
public 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 |
SendAdOffer(bool, string, string, IDictionary<string, object>)
Declaration
public 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
public 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
public 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
public 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
public 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
public 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
public 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 |
SendItemAcquired(object, string, float, string, string, string, string, IDictionary<string, object>)
Declaration
public 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 |