public override MParticleSDK Initialize(MParticleOptions options)
        {
            if (options.IdentityStateListener != null)
            {
                Identity.AddIdentityStateListener(options.IdentityStateListener);
            }
            iOSBinding.MParticle.SharedInstance.StartWithOptions(Utils.ConvertToMpOptions(options));
            var mparticle = iOSBinding.MParticle.SharedInstance;

            mparticle.UploadInterval = options.UploadInterval;
            mparticle.SessionTimeout = options.SessionTimeout;
            mparticle.LogLevel       = Utils.ConvertToMpLogLevel(options.LogLevel);
            if (options.LocationTracking.Enabled)
            {
                mparticle.BeginLocationTracking(options.LocationTracking.MinDistance, options.LocationTracking.MinDistance);
            }
            else
            {
                mparticle.EndLocationTracking();
            }
            if (options.PushRegistration != null && options.PushRegistration.IOSToken != null)
            {
                mparticle.PushNotificationToken = options.PushRegistration.IOSToken;
            }
            if (options.UnCaughtExceptionLogging)
            {
                mparticle.BeginUncaughtExceptionLogging();
            }
            else
            {
                mparticle.EndUncaughtExceptionLogging();
            }
            return(this);
        }
        public override MParticleSDK Initialize(MParticleOptions options)
        {
            AndroidBinding.MParticleOptions boundOptions = Utils.ConvertToMpOptions(options);
            AndroidBinding.MParticle.Start(boundOptions);
            var instance = new MParticleSDKImpl();;

            if (options.IdentityStateListener != null)
            {
                instance.Identity.AddIdentityStateListener(options.IdentityStateListener);
            }
            return(instance);
        }
 /// <summary>
 /// Initialize the specified apiKey and apiSecret.
 /// </summary>
 /// <returns>The initialize.</returns>
 /// <param name="options">Start up options</param>
 public abstract MParticleSDK Initialize(MParticleOptions options);