/**@class android.speech.tts.Voice implements android.os.Parcelable @extends java.lang.Object Characteristics and features of a Text-To-Speech Voice. Each TTS Engine can expose multiple voices for each locale, with different set of features. */ var Voice = { /**Very low, but still intelligible quality of speech synthesis */ QUALITY_VERY_LOW : "100", /**Low, not human-like quality of speech synthesis */ QUALITY_LOW : "200", /**Normal quality of speech synthesis */ QUALITY_NORMAL : "300", /**High, human-like quality of speech synthesis */ QUALITY_HIGH : "400", /**Very high, almost human-indistinguishable quality of speech synthesis */ QUALITY_VERY_HIGH : "500", /**Very low expected synthesizer latency (< 20ms) */ LATENCY_VERY_LOW : "100", /**Low expected synthesizer latency (~20ms) */ LATENCY_LOW : "200", /**Normal expected synthesizer latency (~50ms) */ LATENCY_NORMAL : "300", /**Network based expected synthesizer latency (~200ms) */ LATENCY_HIGH : "400", /**Very slow network based expected synthesizer latency (> 200ms) */ LATENCY_VERY_HIGH : "500", /***/ CREATOR : "null", /** */ writeToParcel : function( ) {}, /** */ describeContents : function( ) {}, /** @return {Object {java.util.Locale}} The voice's locale */ getLocale : function( ) {}, /** @return {Number} The voice's quality (higher is better) @see #QUALITY_VERY_HIGH @see #QUALITY_HIGH @see #QUALITY_NORMAL @see #QUALITY_LOW @see #QUALITY_VERY_LOW */ getQuality : function( ) {}, /** @return {Number} The voice's latency (lower is better) @see #LATENCY_VERY_LOW @see #LATENCY_LOW @see #LATENCY_NORMAL @see #LATENCY_HIGH @see #LATENCY_VERY_HIGH */ getLatency : function( ) {}, /** @return {Boolean} Does the Voice require a network connection to work. */ isNetworkConnectionRequired : function( ) {}, /** @return {String} Unique voice name. */ getName : function( ) {}, /**Returns the set of features it supports for a given voice. Features can either be framework defined, e.g. {@link android.speech.tts.TextToSpeech.Engine#KEY_FEATURE_NETWORK_TIMEOUT_MS} or engine specific. Engine specific keys must be prefixed by the name of the engine they are intended for. These keys can be used as parameters to {@link android.speech.tts.TextToSpeech#speak(String, int, java.util.HashMap)} and {@link android.speech.tts.TextToSpeech#synthesizeToFile(String, java.util.HashMap, String)}. Features values are strings and their values must met restrictions described in their documentation. @return {Object {java.util.Set}} Set instance. May return {@code null} on error. */ getFeatures : function( ) {}, /** */ toString : function( ) {}, /** */ hashCode : function( ) {}, /** */ equals : function( ) {}, };