Class FacebookAnalyticsService
Declaration
public class FacebookAnalyticsService : Service<FacebookAnalyticsService, Sherlock, SherlockConfig, SherlockDebugger>, IFacebookAnalyticsService
Implements:
Global.IFacebookAnalyticsService
Properties
Logger
Declaration
public override ILog Logger { get; }
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 |
SendCustom(string, IDictionary<string, object>)
Declaration
public void SendCustom(string eventName, IDictionary<string, object> parameters = null)
Parameters
Type | Name |
---|---|
System.String | eventName |
System.Collections.Generic.IDictionary<System.String,System.Object> | parameters |
SendCustom(string, float?, IDictionary<string, object>)
Declaration
public void SendCustom(string eventName, float? valueToSum, IDictionary<string, object> parameters = null)
Parameters
Type | Name |
---|---|
System.String | eventName |
System.Nullable<System.Single> | valueToSum |
System.Collections.Generic.IDictionary<System.String,System.Object> | parameters |
SendAchievedLevel(string)
Declaration
public void SendAchievedLevel(string level)
Parameters
Type | Name |
---|---|
System.String | level |
SendCompletedRegistration(string)
Declaration
public void SendCompletedRegistration(string registrationMethod)
Parameters
Type | Name |
---|---|
System.String | registrationMethod |
SendCompletedTutorial(string, bool)
Declaration
public void SendCompletedTutorial(string contentId, bool success)
Parameters
Type | Name |
---|---|
System.String | contentId |
System.Boolean | success |
SendInitiatedCheckout(string, string, int, bool, string, double)
Declaration
public void SendInitiatedCheckout(string contentId, string contentType, int numItems, bool paymentInfoAvailable, string currency, double totalPrice)
Parameters
Type | Name |
---|---|
System.String | contentId |
System.String | contentType |
System.Int32 | numItems |
System.Boolean | paymentInfoAvailable |
System.String | currency |
System.Double | totalPrice |
SendPurchased(int, string, string, string, double)
Declaration
public void SendPurchased(int numItems, string contentType, string contentId, string currency, double price)
Parameters
Type | Name |
---|---|
System.Int32 | numItems |
System.String | contentType |
System.String | contentId |
System.String | currency |
System.Double | price |
SendSpentCredits(string, string, double)
Declaration
public void SendSpentCredits(string contentId, string contentType, double totalValue)
Parameters
Type | Name |
---|---|
System.String | contentId |
System.String | contentType |
System.Double | totalValue |
SendUnlockedAchievement(string)
Declaration
public void SendUnlockedAchievement(string description)
Parameters
Type | Name |
---|---|
System.String | description |
SendAdImpression(float, string)
Declaration
public void SendAdImpression(float value, string currency)
Parameters
Type | Name |
---|---|
System.Single | value |
System.String | currency |
Implements
Global.IFacebookAnalyticsService