diff --git a/en/react-native-voice-voice.md b/en/react-native-voice-voice.md index adecb73bd2e6a6f62245c43509eddcfff656b74f..16b1b4df352421eb19beb2221b32fa3147ae37d9 100644 --- a/en/react-native-voice-voice.md +++ b/en/react-native-voice-voice.md @@ -509,11 +509,11 @@ open `string.json`,Reason for adding permission request: | stop():Promise | Stops listening for speech. Returns null if no error occurs. | function | no | Android, iOS | yes | | cancel():Promise | Cancels the speech recognition. Returns null if no error occurs. | function | no | Android, iOS | yes | | destroy():Promise | Destroys the current SpeechRecognizer instance. Returns null if no error occurs. | function | no | Android, iOS | yes | -| removeAllListeners()| Cleans/nullifies overridden Voice static methods. | void | no | Android, iOS | yes | +| removeAllListeners()| Cleans/nullifies overridden Voice static methods. | void | no | Android, iOS | no | | isRecognizing():Promise | Return if the SpeechRecognizer is recognizing. |function | no | Android, iOS | yes | | getSpeechRecognitionServices() | Returns a list of the speech recognition engines available on the device. (Example: ['com.google.android.googlequicksearchbox'] if Google is the only one available.) | function | no | Android | no | -## 事件回调 +## Event Callbacks > [!TIP] The **Platform** column indicates the platform where the properties are supported in the original third-party library. @@ -534,8 +534,9 @@ open `string.json`,Reason for adding permission request: - [ ] 原库支持在线和离线模式,HarmonyOS 侧暂只支持离线 问题: [issue#2](https://github.com/react-native-oh-library/voice/issues/2) - [ ] 原库支持多种区域和语言,HarmonyOS 侧暂只支持中文 问题: [issue#3](https://github.com/react-native-oh-library/voice/issues/3) -## Others +## Others +- removeAllListeners方法未生效,与iOS效果一致。 问题: [issue#491](https://github.com/react-native-voice/voice/issues/491) ## License This project is licensed under [The MIT License (MIT)](https://github.com/react-native-voice/voice/blob/master/LICENSE). diff --git a/zh-cn/react-native-voice-voice.md b/zh-cn/react-native-voice-voice.md index 5c6991f605f55be67b0a20821b9135295aa8e7e3..947a5e407ddcd852f19d8fe3d037a05113f7a5ac 100644 --- a/zh-cn/react-native-voice-voice.md +++ b/zh-cn/react-native-voice-voice.md @@ -503,7 +503,7 @@ ohpm install | stop():Promise | Stops listening for speech. Returns null if no error occurs. | function | no | Android, iOS | yes | | cancel():Promise | Cancels the speech recognition. Returns null if no error occurs. | function | no | Android, iOS | yes | | destroy():Promise | Destroys the current SpeechRecognizer instance. Returns null if no error occurs. | function | no | Android, iOS | yes | -| removeAllListeners():Promise | Cleans/nullifies overridden Voice static methods. | void | no | Android, iOS | yes | +| removeAllListeners():Promise | Cleans/nullifies overridden Voice static methods. | void | no | Android, iOS | no | | isRecognizing():Promise | Return if the SpeechRecognizer is recognizing. | function | no | Android, iOS | yes | | getSpeechRecognitionServices() | Returns a list of the speech recognition engines available on the device. (Example: ['com.google.android.googlequicksearchbox'] if Google is the only one available.) | function| no | Android | no | @@ -527,8 +527,9 @@ ohpm install - [ ] 原库支持在线和离线模式,HarmonyOS侧暂只支持离线 问题: [issue#2](https://github.com/react-native-oh-library/voice/issues/2) - [ ] 原库支持多种区域和语言,HarmonyOS侧暂只支持中文 问题: [issue#3](https://github.com/react-native-oh-library/voice/issues/3) -## 其他 +## 其他 +- removeAllListeners方法未生效,与iOS效果一致。问题: [issue#491]((https://github.com/react-native-voice/voice/issues/491) ## 开源协议 本项目基于 [The MIT License (MIT)](https://github.com/react-native-voice/voice/blob/master/LICENSE) ,请自由地享受和参与开源。 \ No newline at end of file