public static ActivityHandler GetInstance(AdjustConfig adjustConfig, DeviceUtil deviceUtil) { if (adjustConfig == null) { AdjustFactory.Logger.Error("AdjustConfig missing"); return(null); } if (!adjustConfig.IsValid()) { AdjustFactory.Logger.Error("AdjustConfig not initialized correctly"); return(null); } ActivityHandler activityHandler = new ActivityHandler(adjustConfig, deviceUtil); return(activityHandler); }
public static ActivityHandler GetInstance(AdjustConfig adjustConfig, DeviceUtil deviceUtil) { if (adjustConfig == null) { AdjustFactory.Logger.Error("AdjustConfig missing"); return null; } if (!adjustConfig.IsValid()) { AdjustFactory.Logger.Error("AdjustConfig not initialized correctly"); return null; } ActivityHandler activityHandler = new ActivityHandler(adjustConfig, deviceUtil); return activityHandler; }
public bool IsValid() { return(nativeConfig.IsValid()); }