Skip to main content

Interface IAdjustAnalyticsService

Declaration
public interface IAdjustAnalyticsService : IAnalyticsService, IAsyncInitialize

Methods

SendAdRevenue(double, string, string, string, string, string)

Declaration
void SendAdRevenue(double revenue, string networkName, string adUnitId, string placement, string sdkSource, string currency = "USD")
Parameters
TypeName
System.Doublerevenue
System.StringnetworkName
System.StringadUnitId
System.Stringplacement
System.StringsdkSource
System.Stringcurrency

SendECPMEvent(string, double, string)

Declaration
void SendECPMEvent(string eventName, double ecpm, string currency = "USD")
Parameters
TypeName
System.StringeventName
System.Doubleecpm
System.Stringcurrency

SendInAppPurchaseRevenueEvent(string, double, string)

Declaration
void SendInAppPurchaseRevenueEvent(string eventName, double price, string currency)
Parameters
TypeName
System.StringeventName
System.Doubleprice
System.Stringcurrency

SendInAppPurchaseRevenueEvent(string, string, string, string, double, string)

Declaration
void SendInAppPurchaseRevenueEvent(string eventName, string productId, string transactionId, string purchaseToken, double price, string currency)
Parameters
TypeName
System.StringeventName
System.StringproductId
System.StringtransactionId
System.StringpurchaseToken
System.Doubleprice
System.Stringcurrency

UpdateConversion(ConversionValue)

Declaration
void UpdateConversion(ConversionValue conversionValue)
Parameters
TypeName
MatchinghamGames.SherlockModule.Models.ConversionValueconversionValue

GetAttribution()

Declaration
Task<IAttributionInfo> GetAttribution()
Returns

System.Threading.Tasks.Task<MatchinghamGames.SherlockModule.Services.Adjust.IAttributionInfo>

SetAttributionChangeCallback(AttributionChangedDelegate)

Declaration
void SetAttributionChangeCallback(AttributionChangedDelegate callback)
Parameters
TypeName
MatchinghamGames.SherlockModule.Services.Adjust.AttributionChangedDelegatecallback

VerifyInAppPurchaseRevenueEvent(string, string, string, Action<int, string, string>)

Declaration
void VerifyInAppPurchaseRevenueEvent(string productId, string transactionId, string purchaseToken, Action<int, string, string> verificationResult = null)
Parameters
TypeName
System.StringproductId
System.StringtransactionId
System.StringpurchaseToken
System.Action<System.Int32,System.String,System.String>verificationResult

VerifyAndSendInAppPurchaseRevenueEvent(string, string, string, string, double, string, Action<int, string, string>)

Declaration
void VerifyAndSendInAppPurchaseRevenueEvent(string eventName, string productId, string transactionId, string purchaseToken, double price, string currency, Action<int, string, string> verificationResult = null)
Parameters
TypeName
System.StringeventName
System.StringproductId
System.StringtransactionId
System.StringpurchaseToken
System.Doubleprice
System.Stringcurrency
System.Action<System.Int32,System.String,System.String>verificationResult