using RND.SDK.UserAcquisitionSDK; namespace RND.SDK { public static class UserAcquisition { private static IUserAcquisitionSDK _sdk = new NullUserAcquisitionSDK(); public static void Init() { #if RND_TENJIN _sdk = new TenjinSDK(); #endif _sdk.Init(); } public static void SendEvent(string eventName) { _sdk.SendEvent(eventName); } public static void Transaction(string productId, string currencyCode, int quantity, double unitPrice, string transactionId, string receipt, string signature) { _sdk.Transaction(productId, currencyCode, quantity, unitPrice, transactionId, receipt, signature); } public static void Reconnect() { #if RND_TENJIN var instance = Tenjin.getInstance(Settings.TENJIN_KEY); instance.Connect(); #endif } } }