protected override void OnRestart()
        {
            CheckVoicePrefs();

            if (!talkBackEnabled && !voiceIsOff)
            {
                var message = ConfigurationManager.AppSettings["ListOnRestartMsg"];
                shopLensTts.Speak(message, needUserAnswerId);
            }

            base.OnRestart();
        }
Exemple #2
0
        protected override void OnRestart()
        {
            CheckVoicePrefs();

            if (goingFromCartToList)
            {
                goingFromCartToList = false;
                StartListIntent();
            }
            else if (goingFromListToCart)
            {
                goingFromListToCart = false;
                StartCartIntent();
            }
            else if (!talkBackEnabled && !voiceIsOff)
            {
                var message = ConfigurationManager.AppSettings["MainOnRestartMsg"];
                shopLensTts.Speak(message, needUserAnswerId);
            }

            base.OnRestart();
        }