Closed Truedison closed 7 years ago
Yes it is. You expect recognized terms when you start the recognition process. When the recognition is unsuccessful ( because of any reason like not speaking/network error/noisy environment/etc ) it can't return with success callback.
BTW what error message do you get?
Here it is
"Error Domain=kAFAssistantErrorDomain Code=203 \"Retry\" UserInfo={NSLocalizedDescription=Retry, NSUnderlyingError=0x170254760 {Error Domain=SiriSpeechErrorDomain Code=1 \"(null)\"}}"
I was able to reproduce this error by stopping it without even talking. I was having a hard time getting the error since its not in json. Thanks for the response
Yeah, Apple should improve the documentation. I could not find any usable list of kAFAssistantErrorDomain error codes anywhere.
Okay thanks for the response, Maybe ill land this on a general error. Thanks !
Ill just close this issue thnaks
Does it require network to work? It always return error to me even if i talk.
@Ahmadbaba46 Yep
@Truedison thanks, it works
@Ahmadbaba46 no problem same behaviour with siri no internet = sad
When i run startlistening, and stopping it without recording/speaking it produces error. Is this a correct behaviour ?