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

A

addContext(AIContext) - Method in class ai.api.model.AIRequest
 
addEntity(Entity) - Method in class ai.api.model.QuestionMetadata
 
addEntry(EntityEntry) - Method in class ai.api.model.Entity
 
addFilePart(String, String, InputStream) - Method in class ai.api.http.HttpClient
 
addFormPart(String, String) - Method in class ai.api.http.HttpClient
 
AGENT_EN - Static variable in class ai.api.model.Constants
 
AGENT_RU - Static variable in class ai.api.model.Constants
 
ai.api - package ai.api
 
ai.api.http - package ai.api.http
 
ai.api.model - package ai.api.model
 
ai.api.services - package ai.api.services
 
ai.api.ui - package ai.api.ui
 
ai.api.util - package ai.api.util
 
AIButton - Class in ai.api.ui
 
AIButton(Context) - Constructor for class ai.api.ui.AIButton
 
AIButton(Context, AttributeSet) - Constructor for class ai.api.ui.AIButton
 
AIButton(Context, AttributeSet, int) - Constructor for class ai.api.ui.AIButton
 
AIButton.AIButtonListener - Interface in ai.api.ui
 
AIButton.MicState - Enum in ai.api.ui
 
AIConfiguration - Class in ai.api
 
AIConfiguration(String, String, AIConfiguration.SupportedLanguages, AIConfiguration.RecognitionEngine) - Constructor for class ai.api.AIConfiguration
 
AIConfiguration.RecognitionEngine - Enum in ai.api
 
AIConfiguration.SupportedLanguages - Enum in ai.api
Currently supported languages
AIContext - Class in ai.api.model
 
AIContext() - Constructor for class ai.api.model.AIContext
 
AIContext(String) - Constructor for class ai.api.model.AIContext
 
AIDataService - Class in ai.api
Do simple requests to the AI Service
AIDataService(Context, AIConfiguration) - Constructor for class ai.api.AIDataService
 
aiDataService - Variable in class ai.api.AIService
 
AIDialog - Class in ai.api.ui
 
AIDialog(Context, AIConfiguration) - Constructor for class ai.api.ui.AIDialog
 
AIDialog(Context, AIConfiguration, int) - Constructor for class ai.api.ui.AIDialog
 
AIDialog.AIDialogListener - Interface in ai.api.ui
 
AIError - Class in ai.api.model
 
AIError(String) - Constructor for class ai.api.model.AIError
 
AIError(AIServiceException) - Constructor for class ai.api.model.AIError
 
AIError(AIResponse) - Constructor for class ai.api.model.AIError
 
AIListener - Interface in ai.api
Listener interface for working with API.AI service.
AIOutputContext - Class in ai.api.model
 
AIOutputContext() - Constructor for class ai.api.model.AIOutputContext
 
AIRequest - Class in ai.api.model
 
AIRequest() - Constructor for class ai.api.model.AIRequest
 
AIRequest(String) - Constructor for class ai.api.model.AIRequest
 
AIResponse - Class in ai.api.model
 
AIResponse() - Constructor for class ai.api.model.AIResponse
 
AIService - Class in ai.api
Main SDK class fro working with API.AI service.
AIService(AIConfiguration, Context) - Constructor for class ai.api.AIService
 
AIServiceException - Exception in ai.api
API.AI Android SDK - client-side libraries for API.AI ================================================= Copyright (C) 2015 by Speaktoit, Inc.
AIServiceException() - Constructor for exception ai.api.AIServiceException
 
AIServiceException(String, Throwable) - Constructor for exception ai.api.AIServiceException
 
AIServiceException(String) - Constructor for exception ai.api.AIServiceException
 
AIServiceException(AIResponse) - Constructor for exception ai.api.AIServiceException
 

B

BluetoothController - Class in ai.api.util
 
BluetoothController(Context) - Constructor for class ai.api.util.BluetoothController
Constructor

C

cancel() - Method in class ai.api.AIService
Cancel listening process and don't request to AI service
cancel() - Method in class ai.api.services.GoogleRecognitionServiceImpl
 
cancel() - Method in class ai.api.services.SpeaktoitRecognitionServiceImpl
 
CENTER_COLOR_DEF - Static variable in class ai.api.ui.SoundLevelCircleDrawable
 
circleCenterX - Variable in class ai.api.ui.SoundLevelCircleDrawable.Params
 
circleCenterY - Variable in class ai.api.ui.SoundLevelCircleDrawable.Params
 
cleanup() - Method in class ai.api.model.AIResponse
 
clearRecognizer() - Method in class ai.api.services.GoogleRecognitionServiceImpl
 
close() - Method in class ai.api.ui.AIDialog
 
config - Variable in class ai.api.AIService
 
connectForMultipart() - Method in class ai.api.http.HttpClient
 
Constants - Class in ai.api.model
API.AI Android SDK - client-side libraries for API.AI ================================================= Copyright (C) 2014 by Speaktoit, Inc.
Constants() - Constructor for class ai.api.model.Constants
 
context - Variable in class ai.api.AIService
 
copyTo(AIRequest) - Method in class ai.api.RequestExtras
 
CURRENT_PROTOCOL_VERSION - Static variable in class ai.api.AIConfiguration
 

D

DefaultAIListener - Class in ai.api
Use this class instead of AIListener if you don't want to process all recognition events.
DefaultAIListener() - Constructor for class ai.api.DefaultAIListener
 
doSoundRequest(InputStream, String) - Method in class ai.api.AIDataService
Method extracted for testing purposes
doTextRequest(String) - Method in class ai.api.AIDataService
 
doTextRequest(String, String) - Method in class ai.api.AIDataService
 
draw(Canvas) - Method in class ai.api.ui.SoundLevelCircleDrawable
 
drawableStateChanged() - Method in class ai.api.ui.MaskedColorView
 

E

Entity - Class in ai.api.model
User Entity what can be uploaded to the API.AI service and override (or extend) entities, described in agent.
Entity() - Constructor for class ai.api.model.Entity
 
Entity(String) - Constructor for class ai.api.model.Entity
 
EntityEntry - Class in ai.api.model
 
EntityEntry() - Constructor for class ai.api.model.EntityEntry
 
EntityEntry(String) - Constructor for class ai.api.model.EntityEntry
 
EntityEntry(String, List<String>) - Constructor for class ai.api.model.EntityEntry
 
EntityEntry(String, String[]) - Constructor for class ai.api.model.EntityEntry
 

F

findGoogleRecognizer(Context) - Static method in class ai.api.util.RecognizerChecker
 
finishMultipart() - Method in class ai.api.http.HttpClient
 
FRAME_SIZE_IN_BYTES - Static variable in class ai.api.util.VoiceActivityDetector
 
fromAttrs(TypedArray) - Static method in enum ai.api.ui.AIButton.MicState
 
fromLanguageTag(String) - Static method in enum ai.api.AIConfiguration.SupportedLanguages
 
fromResponseCode(int) - Static method in class ai.api.model.Status
 
Fulfillment - Class in ai.api.model
 
Fulfillment() - Constructor for class ai.api.model.Fulfillment
 

G

getAction() - Method in class ai.api.model.Result
 
getAIService() - Method in class ai.api.ui.AIButton
Get AIService object for making different data requests
getAIService() - Method in class ai.api.ui.AIDialog
Get AIService object for making different data requests
getApiKey() - Method in class ai.api.AIConfiguration
 
getCode() - Method in class ai.api.model.Status
Response Status Code.
getComplexParameter(String, JsonObject) - Method in class ai.api.model.Result
 
getComplexParameter(String) - Method in class ai.api.model.Result
 
getConfidence() - Method in class ai.api.model.AIRequest
 
getContexts() - Method in class ai.api.model.Result
 
getContexts() - Method in class ai.api.RequestExtras
 
getDateParameter(String) - Method in class ai.api.model.Result
 
getDateParameter(String, Date) - Method in class ai.api.model.Result
 
getDateTimeParameter(String) - Method in class ai.api.model.Result
 
getDateTimeParameter(String, Date) - Method in class ai.api.model.Result
 
getDebugState() - Method in class ai.api.ui.AIButton
 
getDebugState() - Method in class ai.api.ui.MaskedColorView
 
getDebugState() - Method in class ai.api.ui.SoundLevelButton
 
getDialog() - Method in class ai.api.ui.AIDialog
 
getEntities() - Method in class ai.api.model.QuestionMetadata
 
getEntities() - Method in class ai.api.RequestExtras
 
getEntries() - Method in class ai.api.model.Entity
 
getErrorDetails() - Method in class ai.api.model.Status
 
getErrorID() - Method in class ai.api.model.Status
 
getErrorString() - Method in class ai.api.http.HttpClient
 
getErrorType() - Method in class ai.api.model.Status
 
getExtend() - Method in class ai.api.model.Entity
 
getFloatParameter(String) - Method in class ai.api.model.Result
 
getFloatParameter(String, float) - Method in class ai.api.model.Result
 
getFulfillment() - Method in class ai.api.model.Result
 
getGoogleRecognizerVersion(Context) - Static method in class ai.api.util.RecognizerChecker
 
getGson() - Static method in class ai.api.GsonFactory
 
getId() - Method in class ai.api.model.AIResponse
Unique identifier of the result.
getIntentId() - Method in class ai.api.model.Metadata
Id of the intent that produced this result
getIntentName() - Method in class ai.api.model.Metadata
Name of the intent that produced this result
getIntParameter(String) - Method in class ai.api.model.Result
 
getIntParameter(String, int) - Method in class ai.api.model.Result
 
getLanguage() - Method in class ai.api.AIConfiguration
 
getLanguage() - Method in class ai.api.model.QuestionMetadata
 
getMessage() - Method in exception ai.api.AIServiceException
 
getMessage() - Method in class ai.api.model.AIError
 
getMetadata() - Method in class ai.api.model.Result
 
getMinRadius() - Method in class ai.api.ui.SoundLevelButton
 
getMinRadius() - Method in class ai.api.ui.SoundLevelCircleDrawable
 
getName() - Method in class ai.api.model.AIContext
 
getName() - Method in class ai.api.model.AIOutputContext
 
getName() - Method in class ai.api.model.Entity
 
getOpacity() - Method in class ai.api.ui.SoundLevelCircleDrawable
 
getParameters() - Method in class ai.api.model.AIContext
 
getParameters() - Method in class ai.api.model.AIOutputContext
 
getParameters() - Method in class ai.api.model.Result
 
getProtocolVersion() - Method in class ai.api.AIConfiguration
Check list of supported protocol versions on the api.ai website.
getQuestionUrl() - Method in class ai.api.AIConfiguration
 
getRecognitionEngine() - Method in class ai.api.AIConfiguration
 
getRecognizerCancelSound() - Method in class ai.api.AIConfiguration
 
getRecognizerStartSound() - Method in class ai.api.AIConfiguration
 
getRecognizerStopSound() - Method in class ai.api.AIConfiguration
 
getResetContexts() - Method in class ai.api.model.AIRequest
 
getResetContexts() - Method in class ai.api.RequestExtras
 
getResolvedQuery() - Method in class ai.api.model.Result
The query that was used to produce this result
getResponse() - Method in exception ai.api.AIServiceException
 
getResponse() - Method in class ai.api.http.HttpClient
 
getResult() - Method in class ai.api.model.AIResponse
Result object
getService(Context, AIConfiguration) - Static method in class ai.api.AIService
Use this method to get ready to work instance
getSessionId() - Method in class ai.api.model.QuestionMetadata
 
getSpeech() - Method in class ai.api.model.Fulfillment
 
getStatus() - Method in class ai.api.model.AIResponse
 
getStringParameter(String) - Method in class ai.api.model.Result
 
getStringParameter(String, String) - Method in class ai.api.model.Result
 
getSubscriptionKey() - Method in class ai.api.AIConfiguration
 
getSynonyms() - Method in class ai.api.model.EntityEntry
 
getTimeParameter(String) - Method in class ai.api.model.Result
 
getTimeParameter(String, Date) - Method in class ai.api.model.Result
 
getTimestamp() - Method in class ai.api.model.AIResponse
 
getTimezone() - Method in class ai.api.model.QuestionMetadata
 
getValue() - Method in class ai.api.model.EntityEntry
 
GOOGLE_RECOGNIZER_PACKAGE_NAME - Static variable in class ai.api.util.RecognizerChecker
 
GOOGLE_VOICE_SEARCH_PACKAGE_NAME - Static variable in class ai.api.util.RecognizerChecker
 
GoogleRecognitionServiceImpl - Class in ai.api.services
 
GoogleRecognitionServiceImpl(Context, AIConfiguration) - Constructor for class ai.api.services.GoogleRecognitionServiceImpl
 
GsonFactory - Class in ai.api
 
GsonFactory() - Constructor for class ai.api.GsonFactory
 

H

HALO_COLOR_DEF - Static variable in class ai.api.ui.SoundLevelCircleDrawable
 
hasContexts() - Method in class ai.api.RequestExtras
 
hasEntities() - Method in class ai.api.RequestExtras
 
HttpClient - Class in ai.api.http
 
HttpClient(HttpURLConnection) - Constructor for class ai.api.http.HttpClient
 

I

initialize(AIConfiguration) - Method in class ai.api.ui.AIButton
 
initializeRecognizer() - Method in class ai.api.services.GoogleRecognitionServiceImpl
 
isError() - Method in class ai.api.model.AIResponse
 
isGoogleRecognizerAvailable(Context) - Static method in class ai.api.util.RecognizerChecker
 
isOnHeadsetSco() - Method in class ai.api.util.BluetoothController
 
isVoiceActivityDetectionEnabled() - Method in class ai.api.AIConfiguration
 
isWriteSoundLog() - Method in class ai.api.AIConfiguration
This flag is for testing purposes ONLY.

L

listening - Variable in class ai.api.ui.SoundLevelButton
 

M

MaskedColorView - Class in ai.api.ui
ImageView src used as a mask, and MaskedColorView_mainColor as a color or state color list
MaskedColorView(Context) - Constructor for class ai.api.ui.MaskedColorView
 
MaskedColorView(Context, AttributeSet) - Constructor for class ai.api.ui.MaskedColorView
 
MaskedColorView(Context, AttributeSet, int) - Constructor for class ai.api.ui.MaskedColorView
 
maxRadius - Variable in class ai.api.ui.SoundLevelCircleDrawable.Params
 
Metadata - Class in ai.api.model
 
Metadata() - Constructor for class ai.api.model.Metadata
 
minRadius - Variable in class ai.api.ui.SoundLevelCircleDrawable.Params
 

O

onAudioLevel(float) - Method in interface ai.api.AIListener
Event fires every time sound level changed.
onAudioLevel(float) - Method in class ai.api.DefaultAIListener
 
onAudioLevel(float) - Method in class ai.api.ui.AIButton
 
onAudioLevelChanged(float) - Method in class ai.api.AIService
 
onCancelled() - Method in interface ai.api.ui.AIButton.AIButtonListener
 
onCancelled() - Method in interface ai.api.ui.AIDialog.AIDialogListener
 
onClick(View) - Method in class ai.api.ui.AIButton
 
onClick(View) - Method in class ai.api.ui.SoundLevelButton
 
onCompletion(MediaPlayer) - Method in class ai.api.services.SpeaktoitRecognitionServiceImpl
 
onCreateDrawableState(int) - Method in class ai.api.ui.AIButton
 
onCreateDrawableState(int) - Method in class ai.api.ui.SoundLevelButton
 
onDraw(Canvas) - Method in class ai.api.ui.AIButton
 
onError(AIError) - Method in interface ai.api.AIListener
Event fires if something going wrong while recognition or access to the AI server
onError(AIError) - Method in class ai.api.AIService
 
onError(MediaPlayer, int, int) - Method in class ai.api.services.SpeaktoitRecognitionServiceImpl
 
onError(AIError) - Method in interface ai.api.ui.AIButton.AIButtonListener
 
onError(AIError) - Method in class ai.api.ui.AIButton
 
onError(AIError) - Method in interface ai.api.ui.AIDialog.AIDialogListener
 
onHeadsetConnected() - Method in class ai.api.util.BluetoothController
 
onHeadsetDisconnected() - Method in class ai.api.util.BluetoothController
 
onListeningCanceled() - Method in interface ai.api.AIListener
Event fires when recognition engine cancel listening
onListeningCanceled() - Method in class ai.api.ui.AIButton
 
onListeningCancelled() - Method in class ai.api.AIService
 
onListeningFinished() - Method in interface ai.api.AIListener
Event fires when recognition engine finish listening
onListeningFinished() - Method in class ai.api.AIService
 
onListeningFinished() - Method in class ai.api.DefaultAIListener
 
onListeningFinished() - Method in class ai.api.ui.AIButton
 
onListeningStarted() - Method in interface ai.api.AIListener
Event fires when recognition engine start listening
onListeningStarted() - Method in class ai.api.AIService
 
onListeningStarted() - Method in class ai.api.DefaultAIListener
 
onListeningStarted() - Method in class ai.api.ui.AIButton
 
onPartialResults(List<String>) - Method in interface ai.api.PartialResultsListener
 
onPartialResults(List<String>) - Method in class ai.api.services.GoogleRecognitionServiceImpl
 
onResult(AIResponse) - Method in interface ai.api.AIListener
Event fires when entire process finished successfully, and returns result object
onResult(AIResponse) - Method in class ai.api.AIService
 
onResult(AIResponse) - Method in interface ai.api.ui.AIButton.AIButtonListener
 
onResult(AIResponse) - Method in class ai.api.ui.AIButton
 
onResult(AIResponse) - Method in interface ai.api.ui.AIDialog.AIDialogListener
 
onRmsChanged(double) - Method in class ai.api.services.SpeaktoitRecognitionServiceImpl
 
onRmsChanged(double) - Method in interface ai.api.util.VoiceActivityDetector.SpeechEventsListener
 
onScoAudioConnected() - Method in class ai.api.util.BluetoothController
 
onScoAudioDisconnected() - Method in class ai.api.util.BluetoothController
 
onSpeechBegin() - Method in class ai.api.services.SpeaktoitRecognitionServiceImpl
 
onSpeechBegin() - Method in interface ai.api.util.VoiceActivityDetector.SpeechEventsListener
 
onSpeechCancel() - Method in class ai.api.services.SpeaktoitRecognitionServiceImpl
 
onSpeechCancel() - Method in interface ai.api.util.VoiceActivityDetector.SpeechEventsListener
 
onSpeechEnd() - Method in class ai.api.services.SpeaktoitRecognitionServiceImpl
 
onSpeechEnd() - Method in interface ai.api.util.VoiceActivityDetector.SpeechEventsListener
 

P

ParametersConverter - Class in ai.api.util
 
ParametersConverter() - Constructor for class ai.api.util.ParametersConverter
 
Params(float, float, float, float, int, int) - Constructor for class ai.api.ui.SoundLevelCircleDrawable.Params
 
parseDate(String) - Static method in class ai.api.util.ParametersConverter
 
parseDateTime(String) - Static method in class ai.api.util.ParametersConverter
 
parseFloat(String) - Static method in class ai.api.util.ParametersConverter
 
parseInteger(String) - Static method in class ai.api.util.ParametersConverter
 
parseTime(String) - Static method in class ai.api.util.ParametersConverter
 
PartialResultsListener - Interface in ai.api
 
pause() - Method in class ai.api.AIService
 
pause() - Method in class ai.api.services.GoogleRecognitionServiceImpl
This method must be called from UI thread
pause() - Method in class ai.api.services.SpeaktoitRecognitionServiceImpl
 
pause() - Method in class ai.api.ui.AIButton
 
pause() - Method in class ai.api.ui.AIDialog
Disconnect aiDialog from the recognition service.
processBuffer(byte[], int) - Method in class ai.api.util.VoiceActivityDetector
 

Q

QUESTION_ENDPOINT - Static variable in class ai.api.AIConfiguration
 
QuestionMetadata - Class in ai.api.model
 
QuestionMetadata() - Constructor for class ai.api.model.QuestionMetadata
 

R

RecognizerChecker - Class in ai.api.util
 
RecognizerChecker() - Constructor for class ai.api.util.RecognizerChecker
 
request(AIRequest) - Method in class ai.api.AIDataService
Make request to the ai service.
RequestExtras - Class in ai.api
Extra data for request
RequestExtras() - Constructor for class ai.api.RequestExtras
 
RequestExtras(List<AIContext>, List<Entity>) - Constructor for class ai.api.RequestExtras
 
reset() - Method in class ai.api.util.VoiceActivityDetector
 
resetContexts() - Method in class ai.api.AIDataService
Forget all old contexts
resetContexts() - Method in class ai.api.AIService
Forget all old contexts
Result - Class in ai.api.model
 
Result() - Constructor for class ai.api.model.Result
 
resume() - Method in class ai.api.AIService
 
resume() - Method in class ai.api.services.GoogleRecognitionServiceImpl
This method must be called from UI thread
resume() - Method in class ai.api.services.SpeaktoitRecognitionServiceImpl
 
resume() - Method in class ai.api.ui.AIButton
 
resume() - Method in class ai.api.ui.AIDialog
Reconnect aiDialog to the recognition service.

S

setAction(String) - Method in class ai.api.model.Result
 
setAlpha(int) - Method in class ai.api.ui.SoundLevelCircleDrawable
 
setCode(Integer) - Method in class ai.api.model.Status
 
setColorFilter(ColorFilter) - Method in class ai.api.ui.SoundLevelCircleDrawable
 
setColorStateList(ColorStateList) - Method in class ai.api.ui.MaskedColorView
 
setConfidence(float[]) - Method in class ai.api.model.AIRequest
 
setContexts(List<AIContext>) - Method in class ai.api.model.AIRequest
 
setContexts(List<AIContext>) - Method in class ai.api.RequestExtras
 
setDrawCenter(boolean) - Method in class ai.api.ui.SoundLevelButton
 
setDrawCenter(boolean) - Method in class ai.api.ui.SoundLevelCircleDrawable
 
setDrawSoundLevel(boolean) - Method in class ai.api.ui.SoundLevelButton
 
setDrawSoundLevel(boolean) - Method in class ai.api.ui.SoundLevelCircleDrawable
 
setEnabled(boolean) - Method in class ai.api.util.VoiceActivityDetector
If enabled, voice activity detector fires onSpeechEnd events.
setEntities(List<Entity>) - Method in class ai.api.model.QuestionMetadata
 
setEntities(List<Entity>) - Method in class ai.api.RequestExtras
 
setEntries(List<EntityEntry>) - Method in class ai.api.model.Entity
 
setErrorDetails(String) - Method in class ai.api.model.Status
 
setErrorID(String) - Method in class ai.api.model.Status
 
setErrorType(String) - Method in class ai.api.model.Status
 
setExtend(boolean) - Method in class ai.api.model.Entity
 
setFulfillment(Fulfillment) - Method in class ai.api.model.Result
 
setId(String) - Method in class ai.api.model.AIResponse
 
setIntentId(String) - Method in class ai.api.model.Metadata
 
setIntentName(String) - Method in class ai.api.model.Metadata
 
setLanguage(String) - Method in class ai.api.model.QuestionMetadata
 
setListener(AIListener) - Method in class ai.api.AIService
Sets listener, which used to notify about process steps
setMetadata(Metadata) - Method in class ai.api.model.Result
 
setName(String) - Method in class ai.api.model.AIContext
 
setName(String) - Method in class ai.api.model.AIOutputContext
 
setName(String) - Method in class ai.api.model.Entity
 
setParameters(Map<String, String>) - Method in class ai.api.model.AIContext
 
setParameters(Map<String, JsonElement>) - Method in class ai.api.model.AIOutputContext
 
setPartialResultsListener(PartialResultsListener) - Method in class ai.api.services.GoogleRecognitionServiceImpl
 
setPartialResultsListener(PartialResultsListener) - Method in class ai.api.ui.AIButton
 
setProtocolVersion(String) - Method in class ai.api.AIConfiguration
Set protocol version for API queries.
setQuery(String) - Method in class ai.api.model.AIRequest
 
setQuery(String[], float[]) - Method in class ai.api.model.AIRequest
 
setRecognizerCancelSound(AssetFileDescriptor) - Method in class ai.api.AIConfiguration
 
setRecognizerStartSound(AssetFileDescriptor) - Method in class ai.api.AIConfiguration
 
setRecognizerStopSound(AssetFileDescriptor) - Method in class ai.api.AIConfiguration
 
setResetContexts(Boolean) - Method in class ai.api.model.AIRequest
 
setResetContexts(boolean) - Method in class ai.api.RequestExtras
 
setResolvedQuery(String) - Method in class ai.api.model.Result
 
setResult(Result) - Method in class ai.api.model.AIResponse
 
setResultsListener(AIButton.AIButtonListener) - Method in class ai.api.ui.AIButton
 
setResultsListener(AIDialog.AIDialogListener) - Method in class ai.api.ui.AIDialog
 
setServiceUrl(String) - Method in class ai.api.AIConfiguration
Set API service url.
setSessionId(String) - Method in class ai.api.model.QuestionMetadata
 
setSoundLevel(float) - Method in class ai.api.ui.SoundLevelButton
 
setSoundLevel(float) - Method in class ai.api.ui.SoundLevelCircleDrawable
 
setSpeech(String) - Method in class ai.api.model.Fulfillment
 
setSpeechListener(VoiceActivityDetector.SpeechEventsListener) - Method in class ai.api.util.VoiceActivityDetector
 
setStatus(Status) - Method in class ai.api.model.AIResponse
 
setSynonyms(List<String>) - Method in class ai.api.model.EntityEntry
 
setTimestamp(Date) - Method in class ai.api.model.AIResponse
 
setTimezone(String) - Method in class ai.api.model.QuestionMetadata
 
setValue(String) - Method in class ai.api.model.EntityEntry
 
setVoiceActivityDetectionEnabled(boolean) - Method in class ai.api.AIConfiguration
With setting this field to false you can disable voice activity detection for Speaktoit recognition.
setWriteSoundLog(boolean) - Method in class ai.api.AIConfiguration
This flag is for testing purposes ONLY.
setWriteSoundLog(boolean) - Method in class ai.api.http.HttpClient
 
showAndListen() - Method in class ai.api.ui.AIDialog
 
SoundLevelButton - Class in ai.api.ui
 
SoundLevelButton(Context) - Constructor for class ai.api.ui.SoundLevelButton
 
SoundLevelButton(Context, AttributeSet) - Constructor for class ai.api.ui.SoundLevelButton
 
SoundLevelButton(Context, AttributeSet, int) - Constructor for class ai.api.ui.SoundLevelButton
 
SoundLevelCircleDrawable - Class in ai.api.ui
 
SoundLevelCircleDrawable() - Constructor for class ai.api.ui.SoundLevelCircleDrawable
 
SoundLevelCircleDrawable(SoundLevelCircleDrawable.Params) - Constructor for class ai.api.ui.SoundLevelCircleDrawable
 
SoundLevelCircleDrawable.Params - Class in ai.api.ui
 
SpeaktoitRecognitionServiceImpl - Class in ai.api.services
 
SpeaktoitRecognitionServiceImpl(Context, AIConfiguration) - Constructor for class ai.api.services.SpeaktoitRecognitionServiceImpl
 
start() - Method in class ai.api.util.BluetoothController
Call this to start BluetoothController functionalities.
startListening() - Method in class ai.api.AIService
Starts listening process
startListening(List<AIContext>) - Method in class ai.api.AIService
Starts listening process.
startListening(RequestExtras) - Method in class ai.api.AIService
Starts listening process.
startListening() - Method in class ai.api.services.GoogleRecognitionServiceImpl
 
startListening(List<AIContext>) - Method in class ai.api.services.GoogleRecognitionServiceImpl
 
startListening(RequestExtras) - Method in class ai.api.services.GoogleRecognitionServiceImpl
 
startListening() - Method in class ai.api.services.SpeaktoitRecognitionServiceImpl
 
startListening(List<AIContext>) - Method in class ai.api.services.SpeaktoitRecognitionServiceImpl
 
startListening(RequestExtras) - Method in class ai.api.services.SpeaktoitRecognitionServiceImpl
 
startListening() - Method in class ai.api.ui.AIButton
 
STATE_LISTENING - Static variable in class ai.api.ui.SoundLevelButton
 
STATE_SPEAKING - Static variable in class ai.api.ui.AIButton
 
STATE_WAITING - Static variable in class ai.api.ui.AIButton
 
Status - Class in ai.api.model
 
Status() - Constructor for class ai.api.model.Status
 
stop() - Method in class ai.api.util.BluetoothController
Should call this on onResume or onDestroy.
stopListening() - Method in class ai.api.AIService
Stop listening and start request to the AI service with current recognition results
stopListening() - Method in class ai.api.services.GoogleRecognitionServiceImpl
 
stopListening() - Method in class ai.api.services.SpeaktoitRecognitionServiceImpl
 

T

TAG - Static variable in class ai.api.AIDataService
 
TAG - Static variable in class ai.api.http.HttpClient
 
TAG - Static variable in class ai.api.services.SpeaktoitRecognitionServiceImpl
 
TAG - Static variable in class ai.api.util.VoiceActivityDetector
 
textRequest(AIRequest) - Method in class ai.api.AIService
 
textRequest(String, RequestExtras) - Method in class ai.api.AIService
 
textRequest(AIRequest) - Method in class ai.api.ui.AIButton
 
textRequest(String) - Method in class ai.api.ui.AIButton
 
textRequest(AIRequest) - Method in class ai.api.ui.AIDialog
 
textRequest(String) - Method in class ai.api.ui.AIDialog
 
toString() - Method in class ai.api.model.AIError
 
toString() - Method in class ai.api.model.AIRequest
 
toString() - Method in class ai.api.model.AIResponse
 
toString() - Method in class ai.api.model.QuestionMetadata
 
toString() - Method in class ai.api.model.Result
 
toString() - Method in class ai.api.model.Status
 

U

uploadUserEntities(Collection<Entity>) - Method in class ai.api.AIDataService
 
uploadUserEntities(Collection<Entity>) - Method in class ai.api.AIService
Upload user entities for using while session
uploadUserEntity(Entity) - Method in class ai.api.AIDataService
 
uploadUserEntity(Entity) - Method in class ai.api.AIService
Upload user entity for using while session
USER_ENTITIES_ENDPOINT - Static variable in class ai.api.AIConfiguration
 

V

valueOf(String) - Static method in enum ai.api.AIConfiguration.RecognitionEngine
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ai.api.AIConfiguration.SupportedLanguages
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ai.api.ui.AIButton.MicState
Returns the enum constant of this type with the specified name.
values() - Static method in enum ai.api.AIConfiguration.RecognitionEngine
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ai.api.AIConfiguration.SupportedLanguages
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ai.api.ui.AIButton.MicState
Returns an array containing the constants of this enum type, in the order they are declared.
VoiceActivityDetector - Class in ai.api.util
 
VoiceActivityDetector(int) - Constructor for class ai.api.util.VoiceActivityDetector
 
VoiceActivityDetector.SpeechEventsListener - Interface in ai.api.util
Used to notify about speech begin/end events
voiceRequest(InputStream) - Method in class ai.api.AIDataService
Make requests to the ai service with voice data.
voiceRequest(InputStream, List<AIContext>) - Method in class ai.api.AIDataService
Make requests to the ai service with voice data.
voiceRequest(InputStream, RequestExtras) - Method in class ai.api.AIDataService
Make requests to the ai service with voice data.
A B C D E F G H I L M O P Q R S T U V 
Skip navigation links