public void start(AdjustConfig adjustConfig) { string logLevelString = null; string environment = adjustConfig.environment.lowercaseToString(); Action <Dictionary <string, string> > attributionChangedDictionary = null; if (adjustConfig.logLevel != null) { logLevelString = adjustConfig.lowercaseToString(); } if (adjustConfig.attributionChangedDelegate != null) { attributionChangedDictionary = (attributionDictionary) => Adjust.runAttributionChangedDictionary(attributionDictionary); } AdjustWS.ApplicationLaunching( appToken: adjustConfig.appToken, logLevelString: logLevelString, environment: environment, defaultTracker: adjustConfig.defaultTracker, eventBufferingEnabled: adjustConfig.eventBufferingEnabled, sdkPrefix: sdkPrefix, attributionChangedDic: attributionChangedDictionary, logDelegate: adjustConfig.logDelegate ); }
public void trackEvent(AdjustEvent adjustEvent) { AdjustWS.TrackEvent( eventToken: adjustEvent.eventToken, revenue: adjustEvent.revenue, currency: adjustEvent.currency, callbackList: adjustEvent.callbackList, partnerList: adjustEvent.partnerList ); }
public void setOfflineMode(bool offlineMode) { AdjustWS.SetOfflineMode(offlineMode); }
public void setEnabled(bool enabled) { AdjustWS.SetEnabled(enabled); }
public void onResume() { AdjustWS.ApplicationActivated(); }
public void onPause() { AdjustWS.ApplicationDeactivated(); }
public bool isEnabled() { return(AdjustWS.IsEnabled()); }