Class NullAdjustAnalyticsService
Declaration
public class NullAdjustAnalyticsService : IAdjustAnalyticsService, IAnalyticsService, IAsyncInitialize
Implements:
MatchinghamGames.SherlockModule.Services.Adjust.IAdjustAnalyticsService, 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 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 |
SendAdRevenue(string, string)
Declaration
public void SendAdRevenue(string source, string payload)
Parameters
Type | Name |
---|---|
System.String | source |
System.String | payload |
SendECPMEvent(string, double, string)
Declaration
public void SendECPMEvent(string token, double ecpm, string currency)
Parameters
Type | Name |
---|---|
System.String | token |
System.Double | ecpm |
System.String | currency |
SendInAppPurchaseRevenueEvent(string, double, string)
Declaration
public void SendInAppPurchaseRevenueEvent(string token, double price, string currency)
Parameters
Type | Name |
---|---|
System.String | token |
System.Double | price |
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 |
UpdateConversion(ConversionValue)
Declaration
public void UpdateConversion(ConversionValue conversionValue)
Parameters
Type | Name |
---|---|
MatchinghamGames.SherlockModule.Models.ConversionValue | conversionValue |
GetAttribution()
Declaration
public Task<IAttributionInfo> GetAttribution()
Returns
System.Threading.Tasks.Task<MatchinghamGames.SherlockModule.Services.Adjust.IAttributionInfo>
SetAttributionChangeCallback(AttributionChangedDelegate)
Declaration
public void SetAttributionChangeCallback(AttributionChangedDelegate callback)
Parameters
Type | Name |
---|---|
MatchinghamGames.SherlockModule.Services.Adjust.AttributionChangedDelegate | callback |
VerifyInAppPurchaseRevenueEvent(string, string, string, Action<int, string, string>)
Declaration
public void VerifyInAppPurchaseRevenueEvent(string productId, string transactionId, string purchaseToken, Action<int, string, string> verificationResult = null)
Parameters
Type | Name |
---|---|
System.String | productId |
System.String | transactionId |
System.String | purchaseToken |
System.Action<System.Int32,System.String,System.String> | verificationResult |
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> verificationResult = 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> | verificationResult |