Esempio n. 1
0
        public void Initialize()
        {
            Window window = Window.Instance;

            window.BackgroundColor = Color.White;

            TTSPlayer ttsPlayer = TTSPlayer.Get(TTSPlayer.TTSMode.Default);

            ttsPlayer.Play("tts player test");

            ttsPlayer.StateChanged += (s, e) =>
            {
                Tizen.Log.Debug("NUI", "TTS state changed!!!");
            };
            ttsPlayer.Pause();
            ttsPlayer.Resume();
            ttsPlayer.Stop();
            Tizen.Log.Debug("NUI", "TTS state: " + ttsPlayer.GetState());
        }