public AttributionHandler(IActivityHandler activityHandler, ActivityPackage attributionPackage, bool startPaused) { Init(activityHandler: activityHandler, attributionPackage: attributionPackage, startPaused: startPaused); _urlQuery = BuildUrlQuery(); _timer = new TimerOnce(actionQueue: _actionQueue, action: SendAttributionRequestI); }
public void Teardown() { _timer?.Teardown(); _actionQueue?.Teardown(); _actionQueue = null; _activityHandler = null; _logger = null; _attributionPackage = null; _timer = null; }
public AttributionHandler(IActivityHandler activityHandler, ActivityPackage attributionPackage, bool startPaused, bool hasDelegate) { Logger = AdjustFactory.Logger; InternalQueue = new ActionQueue("adjust.AttributionHandler"); Init(activityHandler: activityHandler, attributionPackage: attributionPackage, startPaused: startPaused, hasDelegate: hasDelegate); Timer = new TimerOnce(actionQueue: InternalQueue, action: GetAttributionInternal); }