Exemple #1
0
        public override void CommandReceived(int signal)
        {
            switch (signal)
            {
            case EXIT:
                CloseRecorder();
                OnStepIntoMenu(null);
                return;

            case BACK_TO_PARENT_MENU:
                CloseRecorder();
                CloseNarrator();

                OnStepIntoMenu(Parent);
                return;

            case INPUT_END:
                CloseRecorder();
                Narrator.RestartNarration(NarratorType == NarratorType.TextToSpeech ? PostIntroduction : PostIntroductionAudio);
                return;
            }
        }
Exemple #2
0
 public override void RestartIntroduction()
 {
     Narrator.RestartNarration(NarratorType == NarratorType.TextToSpeech ? Introduction : AudioFile);
 }