Class AdjustAnalyticsService
Declaration
public class AdjustAnalyticsService : Service<AdjustAnalyticsService, Sherlock, SherlockConfig, SherlockDebugger>, IAdjustAnalyticsService
Implements:
Global.IAdjustAnalyticsService
Properties
Logger
Declaration
public override ILog Logger { get; }
Fields
ADJUST_TEMPLATE_ID
Declaration
public const string ADJUST_TEMPLATE_ID = "Jy6PlrM3"
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 |
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 |
SendAdRevenue(double, string, string, string, string, string)
Declaration
public void SendAdRevenue(double revenue, string networkName, string adUnitId, string placement, string sdkSource, string currency = "USD")
Parameters
Type | Name |
---|---|
System.Double | revenue |
System.String | networkName |
System.String | adUnitId |
System.String | placement |
System.String | sdkSource |
System.String | currency |
SendECPMEvent(string, double, string)
Declaration
public void SendECPMEvent(string eventName, double ecpm, string currency)
Parameters
Type | Name |
---|---|
System.String | eventName |
System.Double | ecpm |
System.String | currency |
SendInAppPurchaseRevenueEvent(string, string, string, string, double, string)
Declaration
public void SendInAppPurchaseRevenueEvent(string eventName, string productId, string transactionId, string purchaseToken, double price, string currency)
Parameters
Type | Name |
---|---|
System.String | eventName |
System.String | productId |
System.String | transactionId |
System.String | purchaseToken |
System.Double | price |
System.String | currency |
SendInAppPurchaseRevenueEvent(string, double, string)
Declaration
public void SendInAppPurchaseRevenueEvent(string eventName, double price, string currency = "USD")
Parameters
Type | Name |
---|---|
System.String | eventName |
System.Double | price |
System.String | currency |
SendInAppPurchaseRevenueEvent(string, string, double, string)
Declaration
public void SendInAppPurchaseRevenueEvent(string eventName, string transactionId, double price, string currency)
Parameters
Type | Name |
---|---|
System.String | eventName |
System.String | transactionId |
System.Double | price |
System.String | currency |
VerifyInAppPurchaseRevenueEvent(string, string, string, Action<int, string, string>)
Declaration
public void VerifyInAppPurchaseRevenueEvent(string productId, string transactionId, string purchaseToken, Action<int, string, string> verificationResultEvent = null)
Parameters
Type | Name |
---|---|
System.String | productId |
System.String | transactionId |
System.String | purchaseToken |
System.Action<System.Int32,System.String,System.String> | verificationResultEvent |
VerifyAndSendInAppPurchaseRevenueEvent(string, string, string, string, double, string, Action<int, string, string>)
Declaration
public void VerifyAndSendInAppPurchaseRevenueEvent(string eventName, string productId, string transactionId, string purchaseToken, double price, string currency, Action<int, string, string> verificationResultEvent = null)
Parameters
Type | Name |
---|---|
System.String | eventName |
System.String | productId |
System.String | transactionId |
System.String | purchaseToken |
System.Double | price |
System.String | currency |
System.Action<System.Int32,System.String,System.String> | verificationResultEvent |
UpdateConversion(ConversionValue)
Declaration
public void UpdateConversion(ConversionValue conversionValue)
Parameters
Type | Name |
---|---|
Global.ConversionValue | conversionValue |
GetAttribution()
Declaration
public Task<IAttributionInfo> GetAttribution()
Returns
System.Threading.Tasks.Task<IAttributionInfo>
SetAttributionChangeCallback(AttributionChangedDelegate)
Declaration
public void SetAttributionChangeCallback(AttributionChangedDelegate callback)
Parameters
Type | Name |
---|---|
Global.AttributionChangedDelegate | callback |
Implements
Global.IAdjustAnalyticsService