Esempio n. 1
0
        private async Task TestTTS()
        {
            var words    = SentenceToRead?.Select(x => x.Description).ToList();
            var sentence = string.Join(" ", words);

            if (string.IsNullOrWhiteSpace(sentence))
            {
                return;
            }
            await _textToSpeechService.SpeakAsync(sentence);
        }
Esempio n. 2
0
 private void TapTest(Word word)
 {
     SentenceToRead.Add(word);
     _userDialogsService.Toast($"Dodano słowo \"{word.Description}\"", new TimeSpan(0, 0, 2));
 }
Esempio n. 3
0
 private void DeleteWordFromSentence(Word word)
 {
     SentenceToRead.Remove(word);
     _userDialogsService.Toast($"Usunięto słowo \"{word.Description}\"", new TimeSpan(0, 0, 2));
 }