question

alishapg avatar image
alishapg asked

How to integrate Alexa voice service to my existing iOS app in objective C?

I have an existing iOS app in objective C. I need to give voice command feature in the same using Alexa. Could some one please guide me what steps are required to do this? My expectation is on click of a button in my app it should start recording or listening and after that the voice needs to be stored in a voice format which i will convert to text for performing some tasks in my app.
alexa voice service
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Eric@Amazon avatar image
Eric@Amazon answered
I'm not entirely sure what it is you're planning on doing with AVS, but I'm concerned that AVS will not do what you want. Currently, AVS does not support any form of speech to text. The entire interaction with Alexa is: the user speaks a request to Alexa -> AVS responds with speech to play, potentially with some other directives such as play. You will never get what the user said as text, or what Alexa says as text. If you want to use voice actions to trigger certain behaviors, that is possible with the Alexa Skills Kit. With Skills, you provide a set of phrases which your skill can recognize, and Alexa will fill in certain gaps with what the user said. For instance, you tell Alexa that you can recognize "Set foo to X", and Alexa will give your skill "Set foo to 3." However, "Set foo to 3" will be sent to a web server you provide, not back to the iOS app.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.