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

A

addContext(AIContext) - Method in class ai.api.model.AIRequest
 
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.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
 
AIError - Class in ai.api.model
 
AIError(String) - Constructor for class ai.api.model.AIError
 
AIError(AIServiceException) - 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) 2014 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
 
AudioRequest - Class in ai.api
API.AI Android SDK - client-side libraries for API.AI ================================================= Copyright (C) 2014 by Speaktoit, Inc.
AudioRequest() - Constructor for class ai.api.AudioRequest
 
AudioRequestTask - Class in ai.api
API.AI Android SDK - client-side libraries for API.AI ================================================= Copyright (C) 2014 by Speaktoit, Inc.
AudioRequestTask() - Constructor for class ai.api.AudioRequestTask
 

C

cancel() - Method in class ai.api.AIService
Cancel listening process and don't request to AI service
cancel() - Method in class ai.api.GoogleRecognitionServiceImpl
 
cancel() - Method in class ai.api.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
 
clearRecognizer() - Method in class ai.api.GoogleRecognitionServiceImpl
 
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
 
CURRENT_PROTOCOL_VERSION - Static variable in class ai.api.AIConfiguration
 

D

doSoundRequest(InputStream, String) - Method in class ai.api.AIDataService
Method extracted for testing purposes
doTextRequest(String) - Method in class ai.api.AIDataService
Method extracted for testing purposes
draw(Canvas) - Method in class ai.api.ui.SoundLevelCircleDrawable
 
drawableStateChanged() - Method in class ai.api.ui.MaskedColorView
 

F

findGoogleRecognizer(Context) - Static method in class ai.api.util.RecognizerChecker
 
finishMultipart() - Method in class ai.api.http.HttpClient
 
fromAttrs(TypedArray) - Static method in enum ai.api.ui.AIButton.MicState
 
fromLanguageTag(String) - Static method in enum ai.api.AIConfiguration.SupportedLanguages
 

G

getAction() - Method in class ai.api.model.Result
 
getApiKey() - Method in class ai.api.AIConfiguration
 
getCode() - Method in class ai.api.model.Status
HTTP Status Code
getConfidence() - Method in class ai.api.model.AIRequest
 
getContexts() - 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
 
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
 
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
getLanguage() - Method in class ai.api.AIConfiguration
 
getLanguage() - Method in class ai.api.model.QuestionMetadata
 
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
 
getOpacity() - Method in class ai.api.ui.SoundLevelCircleDrawable
 
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
 
getResetContexts() - Method in class ai.api.model.AIRequest
 
getResolvedQuery() - Method in class ai.api.model.Result
The query that was used to produce this result
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.Result
 
getStatus() - Method in class ai.api.model.AIResponse
 
getSubscriptionKey() - Method in class ai.api.AIConfiguration
 
getTimestamp() - Method in class ai.api.model.AIResponse
 
getTimezone() - Method in class ai.api.model.QuestionMetadata
 
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
 
GoogleRecognitionServiceImpl(Context, AIConfiguration) - Constructor for class ai.api.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
 
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.GoogleRecognitionServiceImpl
 
isError() - Method in class ai.api.model.AIResponse
 
isExperimental() - Method in class ai.api.AIConfiguration
This flag is for testing purposes ONLY.
isGoogleRecognizerAvailable(Context) - Static method in class ai.api.util.RecognizerChecker
 
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

onAttachedToWindow() - Method in class ai.api.ui.AIButton
 
onAudioLevel(float) - Method in interface ai.api.AIListener
Event fires every time sound level changed.
onAudioLevel(float) - Method in class ai.api.ui.AIButton
 
onAudioLevelChanged(float) - Method in class ai.api.AIService
 
onAudioLevelChanged(double) - Method in interface ai.api.util.VoiceActivityDetector.SpeechEventsListener
 
onClick(View) - Method in class ai.api.ui.AIButton
 
onClick(View) - Method in class ai.api.ui.SoundLevelButton
 
onCreateDrawableState(int) - Method in class ai.api.ui.AIButton
 
onCreateDrawableState(int) - Method in class ai.api.ui.SoundLevelButton
 
onDetachedFromWindow() - Method in class ai.api.ui.AIButton
 
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(AIError) - Method in interface ai.api.ui.AIButton.AIButtonListener
 
onError(AIError) - Method in class ai.api.ui.AIButton
 
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.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.ui.AIButton
 
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
 
onSpeechBegin() - Method in interface ai.api.util.VoiceActivityDetector.SpeechEventsListener
 
onSpeechEnd() - Method in interface ai.api.util.VoiceActivityDetector.SpeechEventsListener
 

P

Params(float, float, float, float, int, int) - Constructor for class ai.api.ui.SoundLevelCircleDrawable.Params
 
pause() - Method in class ai.api.AIService
 
pause() - Method in class ai.api.GoogleRecognitionServiceImpl
This method must be called from UI thread
pause() - Method in class ai.api.SpeaktoitRecognitionServiceImpl
 
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

RecognitionEngine - Class in ai.api
API.AI Android SDK - client-side libraries for API.AI ================================================= Copyright (C) 2014 by Speaktoit, Inc.
RecognitionEngine() - Constructor for class ai.api.RecognitionEngine
 
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.
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.GoogleRecognitionServiceImpl
This method must be called from UI thread
resume() - Method in class ai.api.SpeaktoitRecognitionServiceImpl
 

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
 
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
 
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
 
setExperimental(boolean) - Method in class ai.api.AIConfiguration
This flag is for testing purposes ONLY.
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
 
setMinAudioBufferSize(int) - Method in class ai.api.util.VoiceActivityDetector
Used for optimization
setName(String) - Method in class ai.api.model.AIContext
 
setName(String) - Method in class ai.api.model.AIOutputContext
 
setParameters(HashMap<String, JsonElement>) - Method in class ai.api.model.AIOutputContext
 
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
 
setResetContexts(Boolean) - Method in class ai.api.model.AIRequest
 
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
 
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.Result
 
setSpeechListener(VoiceActivityDetector.SpeechEventsListener) - Method in class ai.api.util.VoiceActivityDetector
 
setStatus(Status) - Method in class ai.api.model.AIResponse
 
setTimestamp(Date) - Method in class ai.api.model.AIResponse
 
setTimezone(String) - Method in class ai.api.model.QuestionMetadata
 
setWriteSoundLog(boolean) - Method in class ai.api.AIConfiguration
This flag is for testing purposes ONLY.
setWriteSoundLog(boolean) - Method in class ai.api.http.HttpClient
 
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
 
SpeaktoitRecognitionServiceImpl(Context, AIConfiguration) - Constructor for class ai.api.SpeaktoitRecognitionServiceImpl
 
startListening() - Method in class ai.api.AIService
Starts listening process
startListening(List<AIContext>) - Method in class ai.api.AIService
Starts listening process.
startListening() - Method in class ai.api.GoogleRecognitionServiceImpl
 
startListening(List<AIContext>) - Method in class ai.api.GoogleRecognitionServiceImpl
 
startListening() - Method in class ai.api.SpeaktoitRecognitionServiceImpl
 
startListening(List<AIContext>) - Method in class ai.api.SpeaktoitRecognitionServiceImpl
 
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
 
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.GoogleRecognitionServiceImpl
 
stopListening() - Method in class ai.api.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.SpeaktoitRecognitionServiceImpl
 
TAG - Static variable in class ai.api.util.VoiceActivityDetector
 
textRequest(AIRequest) - Method in class ai.api.AIService
 
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
 

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, List<AIContext>) - Method in class ai.api.AIDataService
Make requests to the ai service with voiceData.
A C D F G H I L M O P Q R S T V 
Skip navigation links