title: Android tts flush
body: <p>Please don't advise to use tts.stop() to flush text from tts queue.</p>
  
  <p>I want to ask suppose if I have </p>
  
  <pre><code>HashMap&lt;String, String&gt; params = new HashMap&lt;String, String&gt;();
  params.put(TextToSpeech.Engine.KEY_PARAM_UTTERANCE_ID,"tag2");
  tts.speak("Hi",TextToSpeech.QUEUE_ADD,params);
  tts.speak("Hello",TextToSpeech.QUEUE_ADD,params);
  </code></pre>
  
  <p>And similarly there are a bunch of other sentences added to the queue.</p>
  
  <p>My question is what will be the action if </p>
  
  <pre><code>tts.speak("Flushing",TextToSpeech.QUEUE_FLUSH,null); is done
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>tts.speak("Flushing",TextToSpeech.QUEUE_FLUSH,params); is done
  </code></pre>
  
  <p>where params is the same as the earlier one</p>
  
  <p>Is the action different in both the cases, i.e do the sentences get flushed only when the params parameter or the utterance id is the same for them?</p>
  
  <p>Thanks!</p>