Static Public Member Functions | |
static void | playSound (String text, int maxTime) throws GeneralException |
Uses the TTS engine, if installed, to speak the given text message. More... | |
|
static |
Uses the TTS engine, if installed, to speak the given text message.
text | Text message to be read by TTS |
maxTime | Maximum of time (in milliseconds) function can take. If maxTime=0 function execution is not time limited. |
GeneralException | the general exception |
References Api.getInstance(), and Api.getService().