<?xml version="1.0" encoding="UTF-8"?>
<root>
    <doclet-version-NOT-library-version>1.07</doclet-version-NOT-library-version>
    <class>
        <name>anywheresoftware.b4a.obejcts.M3TTS</name>
        <owner>process</owner>
    </class>
    <class>
        <name>anywheresoftware.b4a.obejcts.TTS</name>
        <shortname>M3TTS</shortname>
        <objectwrapper>android.speech.tts.TextToSpeech</objectwrapper>
        <owner>process</owner>
        <method>
            <name>test</name>
            <comment></comment>
            <returntype>java.lang.String</returntype>
        </method>
        <method>
            <name>Stop</name>
            <comment>Stops speaking any currently playing text (and dismisses texts in the queue).</comment>
            <returntype>void</returntype>
        </method>
        <method>
            <name>getVoicesList</name>
            <comment>Returns Null or a array list of installed voices</comment>
            <returntype>java.util.ArrayList</returntype>
            <parameter>
                <name>ba</name>
                <type>anywheresoftware.b4a.BA</type>
            </parameter>
        </method>
        <method>
            <name>IsInitialized</name>
            <comment></comment>
            <returntype>boolean</returntype>
        </method>
        <method>
            <name>Initialize</name>
            <comment>Initializes the object. The Ready event will be raised when the text to
 speech engine is ready. EventName - The Sub that will handle the Ready event.
EventName: </comment>
            <returntype>void</returntype>
            <parameter>
                <name>ba</name>
                <type>anywheresoftware.b4a.BA</type>
            </parameter>
            <parameter>
                <name>EventName</name>
                <type>java.lang.String</type>
            </parameter>
        </method>
        <method>
            <name>getListLocaleAvailableCountries</name>
            <comment>Return Null or a array list of installed text To Speak lowercase country
 string codes for installed voices</comment>
            <returntype>java.util.ArrayList</returntype>
            <parameter>
                <name>ba</name>
                <type>anywheresoftware.b4a.BA</type>
            </parameter>
        </method>
        <method>
            <name>Speak</name>
            <comment>Speaks the given text. ClearQueue - If True then all waiting texts are
 dismissed and the new text is spoken. Otherwise the new text is added to the
 queue.
 
 &lt;code&gt;
 	Dim M3Tts As M3TTS
 	If M3Tts.IsInitialized = False Then
 		M3Tts.Initialize("M3Tts")
 	End If
 	Sleep(100)	'--- give time to start TTS
 	M3Tts.SetLanguage("fr", "FR")
 	M3Tts.Speak("This is a voice text", True, Null, "001")
 &lt;/code&gt;
Text: The string of text to be spoken.
ClearQueue:: If True then all waiting texts are dismissed and the new
                     text is spoken. Otherwise the new text is added to the
                     queue.
params:: Parameters for the request. Can be null. Supported
                     parameter names: Engine#KEY_PARAM_STREAM,
                     Engine#KEY_PARAM_VOLUME, Engine#KEY_PARAM_PAN.
utteranceId:: An string with an unique identifier for this request.</comment>
            <returntype>void</returntype>
            <parameter>
                <name>Text</name>
                <type>java.lang.String</type>
            </parameter>
            <parameter>
                <name>ClearQueue</name>
                <type>boolean</type>
            </parameter>
            <parameter>
                <name>params</name>
                <type>android.os.Bundle</type>
            </parameter>
            <parameter>
                <name>utteranceId</name>
                <type>java.lang.String</type>
            </parameter>
        </method>
        <method>
            <name>SetLanguage</name>
            <comment>Sets the spoken language. Language - . .
Language:: Two lowercase letters language code.
Country:: Two optional uppercase letters or pass an empty string if
                  not. The country value will be ignored if the language code
                  matches and the country code does not match.</comment>
            <returntype>boolean</returntype>
            <parameter>
                <name>Language</name>
                <type>java.lang.String</type>
            </parameter>
            <parameter>
                <name>Country</name>
                <type>java.lang.String</type>
            </parameter>
        </method>
        <method>
            <name>Release</name>
            <comment>Releases any resources related to this object. You will need to initialize
 the object again before use. Note that it is safe to call this method with an
 uninitialized object.</comment>
            <returntype>void</returntype>
        </method>
        <property>
            <name>Pitch</name>
            <parameter>
                <name>value</name>
                <type>float</type>
            </parameter>
            <comment>Sets the pitch value.</comment>
        </property>
        <property>
            <name>SpeechRate</name>
            <parameter>
                <name>value</name>
                <type>float</type>
            </parameter>
            <comment>Sets the speech rate.</comment>
        </property>
    </class>
    <version>1.03</version>
</root>
