Delivery client periodically sends events in local persistent storage to Mobile Analytics server. Once the events is delivered successfully, those events would be deleted from local storage.
Inheritance: IDeliveryClient
        /// <summary>
        /// Initializes a new instance of the <see cref="Amazon.MobileAnalytics.MobileAnalyticsManager.MobileAnalyticsManager"/> class.
        /// </summary>
        /// <param name="clientContextConfig">Client context config.</param>
        /// <param name="regionEndpoint">Region endpoint.</param>
        /// <param name="credentials">AWS Credentials.</param>
        private MobileAnalyticsManager(string appId, AWSCredentials credentials, RegionEndpoint regionEndpoint)
        {
            _appId = appId;

            ClientContext = new Amazon.Runtime.Internal.ClientContext(appId);

            if (credentials == null)
                throw new ArgumentNullException("credentials");

            BackgroundDeliveryClient = new DeliveryClient(AWSConfigsMobileAnalytics.AllowUseDataNetwork, ClientContext, credentials, regionEndpoint);

            Session = new Session(_appId);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="Amazon.MobileAnalytics.MobileAnalyticsManager.MobileAnalyticsManager"/> class.
        /// </summary>
        /// <param name="clientContextConfig">Client context config.</param>
        /// <param name="regionEndpoint">Region endpoint.</param>
        /// <param name="credentials">AWS Credentials.</param>
        private MobileAnalyticsManager(ClientContextConfig clientContextConfig,RegionEndpoint regionEndpoint,AWSCredentials credentials)
        {        
            if(clientContextConfig == null)
                throw new ArgumentNullException("clientContextConfig");
            ClientContext = new ClientContext(clientContextConfig);
            
            if(string.IsNullOrEmpty(clientContextConfig.AppId))
                throw new ArgumentNullException("application id");
            _appId = clientContextConfig.AppId;
            
            if(credentials == null)
                throw new ArgumentNullException("credentials");

            BackgroundDeliveryClient = new DeliveryClient(AWSConfigsMobileAnalytics.AllowUseDataNetwork, ClientContext, credentials, regionEndpoint);
            
            Session = new Session(_appId);
        }