Skip navigation links
A B C D E F G H I L M O P R S T U V 

S

sendAudio(String, String, DataRequestBody, AsyncCallback<AvsResponse, Exception>) - Method in class com.willblaschko.android.alexa.interfaces.speechrecognizer.SpeechSendAudio
Post an audio byte[] to the Alexa Speech Recognizer API
sendAudioRequest(int, byte[], AsyncCallback<AvsResponse, Exception>) - Method in class com.willblaschko.android.alexa.AlexaManager
Deprecated.
sendAudioRequest(byte[], AsyncCallback<AvsResponse, Exception>) - Method in class com.willblaschko.android.alexa.AlexaManager
Send raw audio data to the Alexa servers, this is a more advanced option to bypass other issues (like only one item being able to use the mic at a time).
sendAudioRequest(DataRequestBody, AsyncCallback<AvsResponse, Exception>) - Method in class com.willblaschko.android.alexa.AlexaManager
Send streamed raw audio data to the Alexa servers, this is a more advanced option to bypass other issues (like only one item being able to use the mic at a time).
SendEvent - Class in com.willblaschko.android.alexa.interfaces
An abstract class that supplies a DataOutputStream which is used to send a POST request to the AVS server with a voice data intent, it handles the response with completePost() (called by extending classes)
SendEvent() - Constructor for class com.willblaschko.android.alexa.interfaces.SendEvent
 
sendExpectSpeechTimeoutEvent(AsyncCallback<AvsResponse, Exception>) - Method in class com.willblaschko.android.alexa.AlexaManager
Send confirmation that the device has timed out without receiving a speech request when expected
sendMutedEvent(boolean, AsyncCallback<AvsResponse, Exception>) - Method in class com.willblaschko.android.alexa.AlexaManager
Send a confirmation to the Alexa server that the mute state has been changed in response to a directive
sendOpenDownchannelDirective(AsyncCallback<AvsResponse, Exception>) - Method in class com.willblaschko.android.alexa.AlexaManager
Send a get Directive request to the Alexa server to open a persistent connection
sendSynchronizeStateEvent(AsyncCallback<AvsResponse, Exception>) - Method in class com.willblaschko.android.alexa.AlexaManager
Send a synchronize state Event request to Alexa Servers to retrieve pending Directive
sendText(Context, String, String, String, AsyncCallback<AvsResponse, Exception>) - Method in class com.willblaschko.android.alexa.interfaces.speechrecognizer.SpeechSendText
Use VoiceHelper utility to create an audio file from arbitrary text using Text-To-Speech to be passed to the AVS servers
sendTextRequest(int, String, AsyncCallback<AvsResponse, Exception>) - Method in class com.willblaschko.android.alexa.AlexaManager
Deprecated.
sendTextRequest(String, AsyncCallback<AvsResponse, Exception>) - Method in class com.willblaschko.android.alexa.AlexaManager
Send a text string request to the AVS server, this is run through Text-To-Speech to create the raw audio file needed by the AVS server.
sendVolumeChangedEvent(long, boolean, AsyncCallback<AvsResponse, Exception>) - Method in class com.willblaschko.android.alexa.AlexaManager
Send a confirmation to the Alexa server that the device volume has been changed in response to a directive
setDialogRequestId(String) - Method in class com.willblaschko.android.alexa.data.Event.Header
 
setHeader(Event.Header) - Method in class com.willblaschko.android.alexa.data.Event
 
setHeaderDialogRequestId(String) - Method in class com.willblaschko.android.alexa.data.Event.Builder
 
setHeaderMessageId(String) - Method in class com.willblaschko.android.alexa.data.Event.Builder
 
setHeaderName(String) - Method in class com.willblaschko.android.alexa.data.Event.Builder
 
setHeaderNamespace(String) - Method in class com.willblaschko.android.alexa.data.Event.Builder
 
setName(String) - Method in class com.willblaschko.android.alexa.data.Event.Header
 
setPayload(Event.Payload) - Method in class com.willblaschko.android.alexa.data.Event
 
setPayloadFormat(String) - Method in class com.willblaschko.android.alexa.data.Event.Builder
 
setPayloadMuted(boolean) - Method in class com.willblaschko.android.alexa.data.Event.Builder
 
setPayloadProfile(String) - Method in class com.willblaschko.android.alexa.data.Event.Builder
 
setPayloadVolume(long) - Method in class com.willblaschko.android.alexa.data.Event.Builder
 
showAuthToast(Context, String) - Static method in class com.willblaschko.android.alexa.Util
Show an authorization toast on the main thread to make sure the user sees it
SpeechSendAudio - Class in com.willblaschko.android.alexa.interfaces.speechrecognizer
A subclass of SpeechSendEvent 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).
SpeechSendAudio() - Constructor for class com.willblaschko.android.alexa.interfaces.speechrecognizer.SpeechSendAudio
 
SpeechSendEvent - Class in com.willblaschko.android.alexa.interfaces.speechrecognizer
Abstract class to extend SendEvent to automatically add the RequestBody with the correct type and name, as well as the SpeechRecognizer Event
SpeechSendEvent() - Constructor for class com.willblaschko.android.alexa.interfaces.speechrecognizer.SpeechSendEvent
 
SpeechSendText - Class in com.willblaschko.android.alexa.interfaces.speechrecognizer
A subclass of 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 running
SpeechSendText() - Constructor for class com.willblaschko.android.alexa.interfaces.speechrecognizer.SpeechSendText
 
SpeechSendVoice - Class in com.willblaschko.android.alexa.interfaces.speechrecognizer
Deprecated.
Use SpeechSendAudio instead, either with a byte[] or using the streamed RequestBody
SpeechSendVoice() - Constructor for class com.willblaschko.android.alexa.interfaces.speechrecognizer.SpeechSendVoice
Deprecated.
 
start() - Method in interface com.willblaschko.android.alexa.callbacks.AsyncCallback
 
start() - Method in class com.willblaschko.android.alexa.callbacks.ImplAsyncCallback
 
startRecording(int, AsyncCallback<Void, Exception>) - Method in class com.willblaschko.android.alexa.AlexaManager
Deprecated.
startRecording(AsyncCallback<Void, Exception>) - Method in class com.willblaschko.android.alexa.AlexaManager
Deprecated.
startRecording(int, String, AsyncCallback<Void, Exception>) - Method in class com.willblaschko.android.alexa.AlexaManager
Deprecated.
startRecording(String, AsyncCallback<Void, Exception>) - Method in class com.willblaschko.android.alexa.AlexaManager
Deprecated.
startRecording(int, byte[], AsyncCallback<Void, Exception>) - Method in class com.willblaschko.android.alexa.AlexaManager
Deprecated.
startRecording(byte[], AsyncCallback<Void, Exception>) - Method in class com.willblaschko.android.alexa.AlexaManager
Deprecated.
- Deprecated because of the difficulty of managing Application state in an external library. Avoid using this and AlexaManager.stopRecording(AsyncCallback), use AlexaManager.sendAudioRequest(byte[], AsyncCallback) and manage state within your Application/Activity.
startRecording(String, String, byte[], AsyncCallback<Void, Exception>) - Method in class com.willblaschko.android.alexa.interfaces.speechrecognizer.SpeechSendVoice
Deprecated.
Manage this state on the application side, instead, and send the audio using SpeechSendAudio
stop() - Method in class com.willblaschko.android.alexa.audioplayer.AlexaAudioPlayer
A helper function to stop the MediaPlayer
stopRecording(AsyncCallback<AvsResponse, Exception>) - Method in class com.willblaschko.android.alexa.AlexaManager
Deprecated.
- Deprecated because of the difficulty of managing Application state in an external library. Avoid using this and AlexaManager.startRecording(AsyncCallback) (AsyncCallback)}, use AlexaManager.sendAudioRequest(byte[], AsyncCallback) and manage state within your Application/Activity.
stopRecording() - Method in class com.willblaschko.android.alexa.interfaces.speechrecognizer.SpeechSendVoice
Deprecated.
Manage this state on the application side, instead, and send the audio using SpeechSendAudio
Stream() - Constructor for class com.willblaschko.android.alexa.data.Directive.Stream
 
string() - Constructor for class com.willblaschko.android.alexa.R.string
 
success(D) - Method in interface com.willblaschko.android.alexa.callbacks.AsyncCallback
 
success(D) - Method in class com.willblaschko.android.alexa.callbacks.ImplAsyncCallback
 
SynchronizeStateEvent - Class in com.willblaschko.android.alexa.interfaces.system
Synchronize state Event to open a synchonize the state with the server and get pending Directive Event
SynchronizeStateEvent() - Constructor for class com.willblaschko.android.alexa.interfaces.system.SynchronizeStateEvent
 
A B C D E F G H I L M O P R S T U V 
Skip navigation links