public static void Start(AdjustConfig adjustConfig) { string appToken = adjustConfig.appToken != null ? adjustConfig.appToken : "ADJ_INVALID"; string sceneName = adjustConfig.sceneName != null ? adjustConfig.sceneName : "ADJ_INVALID"; string userAgent = adjustConfig.userAgent != null ? adjustConfig.userAgent : "ADJ_INVALID"; string defaultTracker = adjustConfig.defaultTracker != null ? adjustConfig.defaultTracker : "ADJ_INVALID"; string externalDeviceId = adjustConfig.externalDeviceId != null ? adjustConfig.externalDeviceId : "ADJ_INVALID"; string environment = adjustConfig.environment.ToLowercaseString(); long info1 = AdjustUtils.ConvertLong(adjustConfig.info1); long info2 = AdjustUtils.ConvertLong(adjustConfig.info2); long info3 = AdjustUtils.ConvertLong(adjustConfig.info3); long info4 = AdjustUtils.ConvertLong(adjustConfig.info4); long secretId = AdjustUtils.ConvertLong(adjustConfig.secretId); double delayStart = AdjustUtils.ConvertDouble(adjustConfig.delayStart); int logLevel = AdjustUtils.ConvertLogLevel(adjustConfig.logLevel); int isDeviceKnown = AdjustUtils.ConvertBool(adjustConfig.isDeviceKnown); int sendInBackground = AdjustUtils.ConvertBool(adjustConfig.sendInBackground); int eventBufferingEnabled = AdjustUtils.ConvertBool(adjustConfig.eventBufferingEnabled); int allowiAdInfoReading = AdjustUtils.ConvertBool(adjustConfig.allowiAdInfoReading); int allowIdfaReading = AdjustUtils.ConvertBool(adjustConfig.allowIdfaReading); int allowSuppressLogLevel = AdjustUtils.ConvertBool(adjustConfig.allowSuppressLogLevel); int launchDeferredDeeplink = AdjustUtils.ConvertBool(adjustConfig.launchDeferredDeeplink); int isAttributionCallbackImplemented = AdjustUtils.ConvertBool(adjustConfig.getAttributionChangedDelegate() != null); int isEventSuccessCallbackImplemented = AdjustUtils.ConvertBool(adjustConfig.getEventSuccessDelegate() != null); int isEventFailureCallbackImplemented = AdjustUtils.ConvertBool(adjustConfig.getEventFailureDelegate() != null); int isSessionSuccessCallbackImplemented = AdjustUtils.ConvertBool(adjustConfig.getSessionSuccessDelegate() != null); int isSessionFailureCallbackImplemented = AdjustUtils.ConvertBool(adjustConfig.getSessionFailureDelegate() != null); int isDeferredDeeplinkCallbackImplemented = AdjustUtils.ConvertBool(adjustConfig.getDeferredDeeplinkDelegate() != null); _AdjustLaunchApp( appToken, environment, sdkPrefix, userAgent, defaultTracker, externalDeviceId, sceneName, allowSuppressLogLevel, logLevel, isDeviceKnown, eventBufferingEnabled, sendInBackground, allowiAdInfoReading, allowIdfaReading, secretId, info1, info2, info3, info4, delayStart, launchDeferredDeeplink, isAttributionCallbackImplemented, isEventSuccessCallbackImplemented, isEventFailureCallbackImplemented, isSessionSuccessCallbackImplemented, isSessionFailureCallbackImplemented, isDeferredDeeplinkCallbackImplemented); }
public void start(AdjustConfig adjustConfig) { string appToken = adjustConfig.appToken; string sceneName = adjustConfig.sceneName; string environment = adjustConfig.environment.lowercaseToString(); int logLevel = AdjustUtils.ConvertLogLevel(adjustConfig.logLevel); int eventBufferingEnabled = AdjustUtils.ConvertBool(adjustConfig.eventBufferingEnabled); _AdjustLaunchApp(appToken, environment, sdkPrefix, logLevel, eventBufferingEnabled, sceneName); }
public void start(AdjustConfig adjustConfig) { string appToken = adjustConfig.appToken; string sceneName = adjustConfig.sceneName; string userAgent = adjustConfig.userAgent != null ? adjustConfig.userAgent : String.Empty; string environment = adjustConfig.environment.lowercaseToString(); double delayStart = AdjustUtils.ConvertDouble(adjustConfig.delayStart); int logLevel = AdjustUtils.ConvertLogLevel(adjustConfig.logLevel); int sendInBackground = AdjustUtils.ConvertBool(adjustConfig.sendInBackground); int eventBufferingEnabled = AdjustUtils.ConvertBool(adjustConfig.eventBufferingEnabled); int allowSuppressLogLevel = AdjustUtils.ConvertBool(adjustConfig.allowSuppressLogLevel); int launchDeferredDeeplink = AdjustUtils.ConvertBool(adjustConfig.launchDeferredDeeplink); _AdjustLaunchApp(appToken, environment, sdkPrefix, allowSuppressLogLevel, logLevel, eventBufferingEnabled, sendInBackground, delayStart, userAgent, launchDeferredDeeplink, sceneName); }
public void start(AdjustConfig adjustConfig) { string appToken = adjustConfig.appToken; string sceneName = adjustConfig.sceneName; string userAgent = adjustConfig.userAgent != null ? adjustConfig.userAgent : String.Empty; string environment = adjustConfig.environment.lowercaseToString(); double delayStart = AdjustUtils.ConvertDouble(adjustConfig.delayStart); int logLevel = AdjustUtils.ConvertLogLevel(adjustConfig.logLevel); int sendInBackground = AdjustUtils.ConvertBool(adjustConfig.sendInBackground); int eventBufferingEnabled = AdjustUtils.ConvertBool(adjustConfig.eventBufferingEnabled); int allowSuppressLogLevel = AdjustUtils.ConvertBool(adjustConfig.allowSuppressLogLevel); int launchDeferredDeeplink = AdjustUtils.ConvertBool(adjustConfig.launchDeferredDeeplink); int isAttributionCallbackImplemented = AdjustUtils.ConvertBool(adjustConfig.getAttributionChangedDelegate() != null); int isEventSuccessCallbackImplemented = AdjustUtils.ConvertBool(adjustConfig.getEventSuccessDelegate() != null); int isEventFailureCallbackImplemented = AdjustUtils.ConvertBool(adjustConfig.getEventFailureDelegate() != null); int isSessionSuccessCallbackImplemented = AdjustUtils.ConvertBool(adjustConfig.getSessionSuccessDelegate() != null); int isSessionFailureCallbackImplemented = AdjustUtils.ConvertBool(adjustConfig.getSessionFailureDelegate() != null); int isDeferredDeeplinkCallbackImplemented = AdjustUtils.ConvertBool(adjustConfig.getDeferredDeeplinkDelegate() != null); _AdjustLaunchApp( appToken, environment, sdkPrefix, allowSuppressLogLevel, logLevel, eventBufferingEnabled, sendInBackground, delayStart, userAgent, launchDeferredDeeplink, sceneName, isAttributionCallbackImplemented, isEventSuccessCallbackImplemented, isEventFailureCallbackImplemented, isSessionSuccessCallbackImplemented, isSessionFailureCallbackImplemented, isDeferredDeeplinkCallbackImplemented); }