Class FirebaseAnalyticsService
Declaration
public class FirebaseAnalyticsService : Service<FirebaseAnalyticsService, Sherlock, SherlockConfig, SherlockDebugger>, IFirebaseAnalyticsService
Implements:
Global.IFirebaseAnalyticsService
Properties
Logger
Declaration
public override ILog Logger { get; }
Fields
GOOGLE_ANALYTICS_FOR_FIREBASE_TEMPLATE_ID
Declaration
public const string GOOGLE_ANALYTICS_FOR_FIREBASE_TEMPLATE_ID = "diWdt4yLB"
GOOGLE_ADVERSTING_PLATFORM_VENDOR_ID
Declaration
public const int GOOGLE_ADVERSTING_PLATFORM_VENDOR_ID = 755
GOOGLE_AD_STORAGE_PURPOSE_IDS
Declaration
public static readonly int[] GOOGLE_AD_STORAGE_PURPOSE_IDS
GOOGLE_AD_USER_DATA_PURPOSE_IDS
Declaration
public static readonly int[] GOOGLE_AD_USER_DATA_PURPOSE_IDS
GOOGLE_AD_PERSONALIZATION_PURPOSE_IDS
Declaration
public static readonly int[] GOOGLE_AD_PERSONALIZATION_PURPOSE_IDS
GOOGLE_ANALYTICS_STORAGE_PURPOSE_IDS
Declaration
public static readonly int[] GOOGLE_ANALYTICS_STORAGE_PURPOSE_IDS
Methods
RegisterToModule()
Declaration
protected override void RegisterToModule()
Initialize(Action<InitializationResult>)
Declaration
protected override void Initialize(Action<InitializationResult> setResult)
Parameters
Type | Name |
---|---|
System.Action<InitializationResult> | setResult |
SetUserId(string)
Declaration
public void SetUserId(string userId)
Parameters
Type | Name |
---|---|
System.String | userId |
SetUserProperty(string, string)
Declaration
public void SetUserProperty(string property, string value)
Parameters
Type | Name |
---|---|
System.String | property |
System.String | value |
SendCustom(string, IDictionary<string, object>)
Declaration
public void SendCustom(string eventName, IDictionary<string, object> parameters)
Parameters
Type | Name |
---|---|
System.String | eventName |
System.Collections.Generic.IDictionary<System.String,System.Object> | parameters |
SendAppOpen(IDictionary<string, object>)
Declaration
public void SendAppOpen(IDictionary<string, object> extraParameters = null)
Parameters
Type | Name |
---|---|
System.Collections.Generic.IDictionary<System.String,System.Object> | extraParameters |
SendAdImpression(double, string, string, string, string, string, IDictionary<string, object>)
Declaration
public void SendAdImpression(double revenue, string networkName, string adUnitId, string adFormat, string sdkSource, string currency = "USD", IDictionary<string, object> extraParameters = null)
Parameters
Type | Name |
---|---|
System.Double | revenue |
System.String | networkName |
System.String | adUnitId |
System.String | adFormat |
System.String | sdkSource |
System.String | currency |
System.Collections.Generic.IDictionary<System.String,System.Object> | extraParameters |
SendCustomInAppPurchase(string, string, string, float, IDictionary<string, object>)
Declaration
public void SendCustomInAppPurchase(string eventName, string productId, string currencyCode, float price, IDictionary<string, object> extraParameters = null)
Parameters
Type | Name |
---|---|
System.String | eventName |
System.String | productId |
System.String | currencyCode |
System.Single | price |
System.Collections.Generic.IDictionary<System.String,System.Object> | extraParameters |
SendEarnVirtualCurrency(string, long, IDictionary<string, object>)
Declaration
public void SendEarnVirtualCurrency(string currency, long amount, IDictionary<string, object> extraParameters = null)
Parameters
Type | Name |
---|---|
System.String | currency |
System.Int64 | amount |
System.Collections.Generic.IDictionary<System.String,System.Object> | extraParameters |
SendEarnVirtualCurrency(string, double, IDictionary<string, object>)
Declaration
public void SendEarnVirtualCurrency(string currency, double amount, IDictionary<string, object> extraParameters = null)
Parameters
Type | Name |
---|---|
System.String | currency |
System.Double | amount |
System.Collections.Generic.IDictionary<System.String,System.Object> | extraParameters |
SendLevelStart(string, IDictionary<string, object>)
Declaration
public void SendLevelStart(string levelName, IDictionary<string, object> extraParameters = null)
Parameters
Type | Name |
---|---|
System.String | levelName |
System.Collections.Generic.IDictionary<System.String,System.Object> | extraParameters |
SendLevelEnd(string, bool, IDictionary<string, object>)
Declaration
public void SendLevelEnd(string levelName, bool success, IDictionary<string, object> extraParameters = null)
Parameters
Type | Name |
---|---|
System.String | levelName |
System.Boolean | success |
System.Collections.Generic.IDictionary<System.String,System.Object> | extraParameters |
SendLevelUp(long, IDictionary<string, object>)
Declaration
public void SendLevelUp(long level, IDictionary<string, object> extraParameters = null)
Parameters
Type | Name |
---|---|
System.Int64 | level |
System.Collections.Generic.IDictionary<System.String,System.Object> | extraParameters |
SendLevelUp(long, string, IDictionary<string, object>)
Declaration
public void SendLevelUp(long level, string character, IDictionary<string, object> extraParameters = null)
Parameters
Type | Name |
---|---|
System.Int64 | level |
System.String | character |
System.Collections.Generic.IDictionary<System.String,System.Object> | extraParameters |
SendScreenView(string, string, IDictionary<string, object>)
Declaration
public void SendScreenView(string screenClass, string screenName, IDictionary<string, object> extraParameters = null)
Parameters
Type | Name |
---|---|
System.String | screenClass |
System.String | screenName |
System.Collections.Generic.IDictionary<System.String,System.Object> | extraParameters |
SendSpendVirtualCurrency(string, string, long, IDictionary<string, object>)
Declaration
public void SendSpendVirtualCurrency(string currency, string itemName, long amount, IDictionary<string, object> extraParameters = null)
Parameters
Type | Name |
---|---|
System.String | currency |
System.String | itemName |
System.Int64 | amount |
System.Collections.Generic.IDictionary<System.String,System.Object> | extraParameters |
SendSpendVirtualCurrency(string, string, double, IDictionary<string, object>)
Declaration
public void SendSpendVirtualCurrency(string currency, string itemName, double amount, IDictionary<string, object> extraParameters = null)
Parameters
Type | Name |
---|---|
System.String | currency |
System.String | itemName |
System.Double | amount |
System.Collections.Generic.IDictionary<System.String,System.Object> | extraParameters |
SendTutorialBegin(IDictionary<string, object>)
Declaration
public void SendTutorialBegin(IDictionary<string, object> extraParameters = null)
Parameters
Type | Name |
---|---|
System.Collections.Generic.IDictionary<System.String,System.Object> | extraParameters |
SendTutorialEnd(IDictionary<string, object>)
Declaration
public void SendTutorialEnd(IDictionary<string, object> extraParameters = null)
Parameters
Type | Name |
---|---|
System.Collections.Generic.IDictionary<System.String,System.Object> | extraParameters |
GetFirebaseAnalyticsInstanceIdAsync()
Declaration
public Task<string> GetFirebaseAnalyticsInstanceIdAsync()
Returns
System.Threading.Tasks.Task<System.String>
Implements
Global.IFirebaseAnalyticsService