MissionPlanner.Utilities.Speech.SpeakAsyncCancelAll C# (CSharp) Method

SpeakAsyncCancelAll() public method

public SpeakAsyncCancelAll ( ) : void
return void
        public void SpeakAsyncCancelAll()
        {
            if (MONO)
            {
                try
                {
                    if (_speechlinux != null)
                        _speechlinux.Close();
                }
                catch { }
                _state = SynthesizerState.Ready;
            }
            else
            {
                try
                {
                    if (_speechwindows!= null)
                        _speechwindows.SpeakAsyncCancelAll();
                }
                catch (System.PlatformNotSupportedException)
                {
                    _speechwindows = null;
                }
                catch { }
            }
        }