You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -79,6 +80,18 @@ import Speech from '@mhpdev/react-native-speech';
79
80
80
81
---
81
82
83
+
### Constants
84
+
85
+
The `Speech` class static constants.
86
+
87
+
**Values**
88
+
89
+
`maxInputLength`
90
+
91
+
The **maximum number of characters** allowed in a single call to the speak methods.
92
+
93
+
Android enforces this limit, which is determined by `TextToSpeech.getMaxSpeechInputLength`. If your text exceeds this limit, you must manually split it into smaller utterances on the JavaScript side. (_iOS has no synthesis system limit, and by default, the speech class returns `Number.MAX_VALUE`_)
94
+
82
95
### Getting Available Voices
83
96
84
97
Retrieve a list of all available voices on the device. Optionally, you can filter voices by providing a language code or tag ([IETF BCP 47 language tag](https://www.techonthenet.com/js/language_tags.php)).
0 commit comments