AdjustSdk.Adjust.ApplicationLaunching C# (CSharp) Method

ApplicationLaunching() public static method

Tell Adjust that the application was launched. This is required to initialize Adjust. Call this in the Application_Launching method of your Windows.UI.Xaml.Application class.
public static ApplicationLaunching ( AdjustConfig adjustConfig ) : void
adjustConfig AdjustConfig /// The object that configures the adjust SDK. ///
return void
        public static void ApplicationLaunching(AdjustConfig adjustConfig)
        {
            AdjustInstance.ApplicationLaunching(adjustConfig, DeviceUtil);
            try
            {
                Window.Current.CoreWindow.VisibilityChanged += VisibilityChanged;
            }
            catch (Exception)
            {
                AdjustFactory.Logger.Debug("Not possible to detect automatically if the app goes to the background");
            }
        }