Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catch the moment when speaking ends #41

Open
LuongNgoc19999 opened this issue Jun 14, 2023 · 3 comments
Open

catch the moment when speaking ends #41

LuongNgoc19999 opened this issue Jun 14, 2023 · 3 comments
Labels
community enhancement New feature or request

Comments

@LuongNgoc19999
Copy link

How can I catch the moment when speaking end?

@AppDevGuy
Copy link
Owner

AppDevGuy commented Jun 14, 2023

You can see an example of how to implement that here: CountryLanguageListTableViewController

You need to ensure you've set the delegate

Catch when speaking has ended here.

@LuongNgoc19999
Copy link
Author

Thanks for your answer, but you are getting it wrong
when i call speechKit.speakText("text")
=> my device will start playing the speaker, how do i know the moment when it stops playing

@AppDevGuy AppDevGuy reopened this Jun 14, 2023
@AppDevGuy
Copy link
Owner

Now I understand. It looks like I have not implemented that functionality. Looks like it's possible according to the Apple docs though. If it's urgently needed, please fork and implement it and open a PR. If it can wait, I will add it to the backlog to try and implement.

@AppDevGuy AppDevGuy added enhancement New feature or request community labels Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants