Exemple #1
0
        /// <summary>调用语音引擎说出指定话</summary>
        /// <param name="value"></param>
        public static void Speak(this String value)
        {
            if (_provider == null)
            {
                _provider = new NewLife.Extension.SpeakProvider();
            }

            _provider.Speak(value);
        }
Exemple #2
0
        public static void Speak(this String value)
        {
            Init();

            _provider?.Speak(value);
        }