protected override void OnRestart() { CheckVoicePrefs(); if (!talkBackEnabled && !voiceIsOff) { var message = ConfigurationManager.AppSettings["ListOnRestartMsg"]; shopLensTts.Speak(message, needUserAnswerId); } base.OnRestart(); }
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(); }