Directive
request to the Alexa server to open a persistent connectionSpeechSendEvent
that sends a RequestBody to the AVS servers, this request body can either be a byte[]
straight write, or a threaded write loop based on incoming data (recorded audio).SpeechSendEvent
that allows an arbitrary text string to be sent to the AVS servers, translated through Google's text to speech engine
This speech is rendered using the VoiceHelper utility class, and is done on whatever thread this call is runningSpeechSendAudio
instead, either with a byte[] or using the streamed RequestBodyAlexaManager.stopRecording(AsyncCallback)
,
use AlexaManager.sendAudioRequest(byte[], AsyncCallback)
and manage state within your Application/Activity.SpeechSendAudio
AlexaManager.startRecording(AsyncCallback)
(AsyncCallback)},
use AlexaManager.sendAudioRequest(byte[], AsyncCallback)
and manage state within your Application/Activity.SpeechSendAudio