Code example for SmsMessage

Methods: getDisplayMessageBody

0
 
				tts.speak(from, TextToSpeech.QUEUE_ADD, params);
				tts.playSilence(500, TextToSpeech.QUEUE_ADD, params);
			} 
			params.put(TextToSpeech.Engine.KEY_PARAM_UTTERANCE_ID, intro + from + msg);
			tts.speak(sms.getDisplayMessageBody(), TextToSpeech.QUEUE_ADD, params);
		} 
 
	} 
 
	public SpeechService() 
	{ 
 
	} 
 
	@Override 
	public void onCreate() 
	{ 
		super.onCreate(); 
 
		context = this.getApplicationContext();