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

A

action(SlangResolvedIntent, SlangSession) - Method in interface ISlangResolvedIntentAction
This is the action associated with the resolved intent.

C

compareTo(SlangEntityDescriptor) - Method in class SlangEntityDescriptor
 

D

DefaultResolvedIntentAction - Class in in.slanglabs.platform.application.actions
A default implementation of ISlangResolvedIntentAction.
DefaultResolvedIntentAction() - Constructor for class DefaultResolvedIntentAction
 
disableTrigger() - Static method in class SlangUI
Disables the Slang trigger

E

enableTrigger() - Static method in class SlangUI
Enables the Slang trigger

F

failure() - Method in class SlangSession
Callback to be invoked by the application's ISlangResolvedIntentActions to indicate that a given stage has completed unsuccessfully.

G

get(String) - Method in class SlangApplicationContext
Returns the value associated with the given key in the context
getAffirmative() - Method in class SlangTextPrompt
Returns an affirmative response configured for this prompt.
getAffirmative() - Method in class SlangTextStatement
Returns an affirmative response configured for this prompt.
getClarificationPrompt() - Method in class SlangApplicationDescriptor
Returns the clarification prompt configured for this application
getCompletionStatement() - Method in class SlangIntentDescriptor
Returns the completion statement associated with this intent
getCompletionStatement() - Method in class SlangResolvedIntent
Returns the completion statement configured for this intent Note that the values for the start statement can be overridden, but will not persist for other intent objects with the same name.
getCurrentActivity() - Method in class SlangScreenContext
Returns the current activity
getCurrentIntent() - Method in class SlangSession
Returns the currently active intent being resolved, if any
getDefaultValue() - Method in class SlangEntityDescriptor
Returns the default value associated with this entity
getDescription() - Method in class SlangEntityDescriptor
Returns the description associated with this entity.
getDescription() - Method in class SlangIntentDescriptor
Returns the description associated with this intent
getDescriptor() - Method in class SlangEntity
Returns the descriptor associated with this entity.
getDescriptor() - Method in class SlangEntityType
 
getDescriptor() - Method in class SlangResolvedIntent
Returns the descriptor associated with this intent.
getEntities() - Method in class SlangResolvedIntent
Returns the collection of entities configured for this intent.
getEntity(String) - Method in class SlangResolvedIntent
Returns an entity configured for this intent with the given name.
getEntityDescriptor(String) - Method in class SlangIntentDescriptor
Returns an entity descriptor with the given name for this intent
getEntityDescriptors() - Method in class SlangIntentDescriptor
Returns descriptors for the various entities configured for this intent
getEntityTypeDescriptors() - Method in class SlangApplicationDescriptor
Returns a collection of descriptors for entity types registered with the application
getGreetingStatement() - Method in class SlangApplicationDescriptor
Returns the greeting statement configured for this application
getHangupStatement() - Method in class SlangApplicationDescriptor
Returns the hangup statement configured for this application
getHelpMessages() - Method in class SlangIntentDescriptor
Returns the help messages configured for this intent
getInstance() - Static method in class SlangSession
 
getInstance() - Static method in class SlangScreenContext
 
getIntentDescriptor(String) - Static method in class SlangApplication
Returns a SlangIntentDescriptor with the given name belonging to this application.
getIntentDescriptors() - Static method in class SlangApplication
Returns a collection of SlangIntentDescriptor objects that corresponds to the intents configured in the Slang console.
getIntentDescriptors() - Method in class SlangApplicationDescriptor
Returns a collection of descriptor for intents registered with the application
getName() - Method in class SlangApplicationDescriptor
Returns the name of the application as configured in the Slang console
getName() - Method in class SlangEntityDescriptor
Returns the name of the descriptor
getName() - Method in class SlangEntityTypeDescriptor
Returns the name of the entity type
getName() - Method in class SlangIntentDescriptor
Returns the name of the intent
getName() - Method in class SlangEntity
Returns the name of this entity
getName() - Method in class SlangEntityType
 
getName() - Method in class SlangResolvedIntent
Returns the name of the resolved intent
getNegative() - Method in class SlangTextPrompt
Returns a negative response configured for this prompt.
getNegative() - Method in class SlangTextStatement
Returns a negative response configured for this prompt.
getParent() - Method in class SlangEntity
Returns the instance of SlangIntent that this entity is a part of.
getPriority() - Method in class SlangEntityDescriptor
Returns the priority associated with this entity.
getPrompt() - Method in class SlangEntityDescriptor
Returns the resolution prompt associated with this entity.
getPrompt() - Method in class SlangEntity
Returns the prompt to be used by Slang framework when this entity needs to be resolved by prompting the user.
getQuestion() - Method in class SlangTextPrompt
Returns a question configured for this prompt.
getResolutionAction() - Method in class SlangIntentDescriptor
Returns the action to be executed when an intent of this type is resolved by the Slang framework.
getResolutionStatus() - Method in class SlangIntent
Returns the resolution status of the current intent
getScreenContext() - Static method in class SlangApplication
Returns the SlangScreenContext object associated with this application
getSession() - Method in class SlangEntity
Returns the current session that this entity is part of.
getSession() - Method in class SlangIntent
Returns the current session associated with this intent.
getSlangApplicationContext() - Static method in class SlangApplication
Returns the SlangApplicationContext associated with this object
getStartStatement() - Method in class SlangIntentDescriptor
Returns the start statement associated with this intent
getStartStatement() - Method in class SlangResolvedIntent
Returns the start statement configured for this intent.
getType() - Method in class SlangEntity
Returns the type of this entity
getTypeDescriptor() - Method in class SlangEntityDescriptor
Returns a descriptor that describes the type of this entity
getUnresolvedEntity() - Method in class SlangResolvedIntent
Returns the current unresolved entity for this intent.
getUnresolvedIntentAction() - Static method in class SlangApplication
Returns the action to be invoked when a user-utterance cannot be resolved into an intent
getUserUtterance() - Method in class SlangIntent
Returns the utterance spoken by the user that resulted in this intent.
getValue() - Method in class SlangEntity
Returns the current value of this entity.

H

hasAffirmative() - Method in class SlangTextPrompt
Returns whether this prompt has a configured affirmative response or not
hasAffirmative() - Method in class SlangTextStatement
Returns whether this prompt has a configured affirmative response or not
hasKey(String) - Method in class SlangApplicationContext
Returns whether a given key is present in the context or not
hasNegative() - Method in class SlangTextPrompt
Returns whether this prompt has a configured negative response or not
hasNegative() - Method in class SlangTextStatement
Returns whether this prompt has a configured negative response or not
hasQuestion() - Method in class SlangTextPrompt
Returns whether this prompt has a configured question or not
hideTrigger() - Static method in class SlangUI
Disables display of the Slang trigger

I

in.slanglabs.platform.application - package in.slanglabs.platform.application
 
in.slanglabs.platform.application.actions - package in.slanglabs.platform.application.actions
 
in.slanglabs.platform.session - package in.slanglabs.platform.session
 
in.slanglabs.platform.ui - package in.slanglabs.platform.ui
 
initialize(Context, String, String, ISlangApplicationStateListener) - Static method in class SlangApplication
Initializes the SlangApplication.
initialize(Context, int, int, ISlangApplicationStateListener) - Static method in class SlangApplication
Initializes the SlangApplication.
isBuiltin() - Method in class SlangIntentDescriptor
Returns if this intent is a Slang built-in or a user-defined intent
isInitialized() - Static method in class SlangApplication
Returns whether the SlangApplication instance has been initialized
ISlangAction - Interface in in.slanglabs.platform.application.actions
This interface represents actions that can be associated with intents and entities that are resolved by Slang from user utterances.
ISlangApplicationStateListener - Interface in in.slanglabs.platform.application
A listener interface that must be implemented by classes that are interested in receiving updates about the state transitions of the SlangApplication
ISlangApplicationStateListener.FailureReason - Enum in in.slanglabs.platform.application
 
ISlangResolvedIntentAction - Interface in in.slanglabs.platform.application.actions
This interface represents an action that can be associated with an intent resolved by Slang from an input user utterance.
ISlangUnresolvedIntentAction - Interface in in.slanglabs.platform.application.actions
This interface represents an action that the application can associate with an unresolved intent, i.e.
isList() - Method in class SlangEntityDescriptor
Returns if this entity is of list type
isRequired() - Method in class SlangEntityDescriptor
Returns if this entity is required in the containing intent or not
isResolved() - Method in class SlangEntity
Returns whether this entity has been resolved (either by the Slang framework or by the application)

M

mStatus - Variable in class SlangIntent
 

O

onEntityResolved(SlangEntity, SlangSession) - Method in class DefaultResolvedIntentAction
 
onEntityResolved(SlangEntity, SlangSession) - Method in interface ISlangResolvedIntentAction
Indicates that a resolved entity was found during intent resolution.
onEntityUnresolved(SlangEntity, SlangSession) - Method in class DefaultResolvedIntentAction
 
onEntityUnresolved(SlangEntity, SlangSession) - Method in interface ISlangResolvedIntentAction
Indicates that an unresolved entity was found in the user utterance.
onInitializationFailed(ISlangApplicationStateListener.FailureReason) - Method in interface ISlangApplicationStateListener
Indidates that the SlangApplication failed to initialize
onInitialized() - Method in interface ISlangApplicationStateListener
Indicates that the SlangApplication instance has been successfully initialized
onIntentResolutionBegin(SlangResolvedIntent, SlangSession) - Method in class DefaultResolvedIntentAction
 
onIntentResolutionBegin(SlangResolvedIntent, SlangSession) - Method in interface ISlangResolvedIntentAction
Indicates that an intent has been resolved successfully, but prior to entity resolution
onIntentResolutionEnd(SlangResolvedIntent, SlangSession) - Method in class DefaultResolvedIntentAction
 
onIntentResolutionEnd(SlangResolvedIntent, SlangSession) - Method in interface ISlangResolvedIntentAction
Indicates that intent resolution is complete, in order to give the application a chance to clean-up after the intent action.
onIntentUnresolved(SlangUnresolvedIntent, SlangSession) - Method in interface ISlangUnresolvedIntentAction
Indicates that a spoke user utterance could not be resolved into a SlangResolvedIntent If this method returns SlangSession.success(), then the session will transition to the mode specified by SlangSession#getContinuationMode()
overrideAffirmative(String) - Method in class SlangTextPrompt
Overrides the affirmative response for this prompt
overrideAffirmative(String) - Method in class SlangTextStatement
Overrides the affirmative response for this prompt
overrideNegative(String) - Method in class SlangTextPrompt
Overrides the negative response for this prompt
overrideNegative(String) - Method in class SlangTextStatement
Overrides the negative response for this prompt
overrideQuestion(String) - Method in class SlangTextPrompt
Overrides the question for this prompt

R

registerApplicationStateListener(ISlangApplicationStateListener) - Static method in class SlangApplication
Registers a listener for application state change events
resolve(String) - Method in class SlangEntity
Sets the entity's value and marks it resolved

S

setContinuationMode(SlangSession.ContinuationMode) - Method in class SlangSession
Sets the continuation mode for the session
setDefaultContinuationMode(SlangSession.ContinuationMode) - Static method in class SlangApplication
Sets the default continuation mode for the application.
setResolutionAction(ISlangResolvedIntentAction) - Method in class SlangIntentDescriptor
Sets the action to be executed when an intent of this type is resolved by the Slang framework.
setSurfaceBackgroundColor(int) - Static method in class SlangUI
Sets the background color of the Slang surface
setSurfaceBackgroundResource(int) - Static method in class SlangUI
Sets the background of the Slang surface
setSurfaceImageResource(int) - Static method in class SlangUI
Sets the image to be used as the icon for the Slang surface
setSurfaceTextColor(int) - Static method in class SlangUI
Sets the color of the text shown on the Slang surface
setSurfaceTypeface(Typeface) - Static method in class SlangUI
Sets the font to be used by the text shown on the Slang surface
setTriggerImageResource(int) - Static method in class SlangUI
Sets the image to be used by the Slang trigger
setTriggerPosition(float, float) - Static method in class SlangUI
Sets the position of the Slang trigger on the screen
setTriggerPosition(Context, SlangUI.SlangTriggerPosition) - Static method in class SlangUI
Sets the position of the Slang trigger on the screen
setUnresolvedIntentAction(ISlangUnresolvedIntentAction) - Static method in class SlangApplication
Sets the action to be invoked when a user utterance cannot be resolved into an intent
showTrigger() - Static method in class SlangUI
Enables display of the Slang trigger
SlangApplication - Class in in.slanglabs.platform.application
A class that represents an dynamic instance of an application configured via the Slang console.
SlangApplicationContext - Class in in.slanglabs.platform.application
A utility class to allow the application to store context information associated with Slang
SlangApplicationDescriptor - Class in in.slanglabs.platform.application
A class that describes the metadata associated with a SlangApplication.
SlangApplicationUninitializedException - Exception in in.slanglabs.platform.application
An exception that is thrown when the SlangApplication is accessed before initialization.
SlangApplicationUninitializedException() - Constructor for exception SlangApplicationUninitializedException
 
SlangEntity - Class in in.slanglabs.platform.session
A class that represents a dynamic instance of a Slang entity.
SlangEntityDescriptor - Class in in.slanglabs.platform.application
A class that describes the metadata associated with a SlangEntity.
SlangEntityType - Class in in.slanglabs.platform.session
 
SlangEntityTypeDescriptor - Class in in.slanglabs.platform.application
A class that describes the metadata associated with a SlangEntityType.
SlangIntent - Class in in.slanglabs.platform.session
This class represents a dynamic instance of an intent that Slang has attempted to resolve from a spoken user utterance.
SlangIntent.ResolutionStatus - Enum in in.slanglabs.platform.session
 
SlangIntentDescriptor - Class in in.slanglabs.platform.application
A class that represents metadata associated with a SlangIntent.
SlangResolvedIntent - Class in in.slanglabs.platform.session
This class represents a Slang intent that has been fully or partially resolved from a spoken user utterance.
SlangScreenContext - Class in in.slanglabs.platform.ui
A class for representing the current state of the application's screen.
SlangSession - Class in in.slanglabs.platform.session
This class represents an active session during intent resolution.
SlangSession.ContinuationMode - Enum in in.slanglabs.platform.session
The various modes in which a session can continue after the current intent resolution session is complete - CONTINUE: Once the current session is complete, the Slang framework will continue to listen for a new intent - PAUSE: Once the current session is complete, the Slang framework will pause listening and wait for the user to restart the session - DISMISS: Once the current session is complete, the Slang framework will stop listening and the Slang UI surface is dismissed from view
SlangSession.Status - Enum in in.slanglabs.platform.session
The status returned by each stage of the application's intent resolution actions (see ISlangResolvedIntentAction - SUCCESS: The stage complete successfully.
SlangTextPrompt - Class in in.slanglabs.platform.application
A class that represents a prompting system to used by the Slang framework to prompt for information from the user at relevant points in the intent resolution flow (such as unresolved entities).
SlangTextStatement - Class in in.slanglabs.platform.application
A class that represents a statement system to be used by the Slang framework to show/speak out information to the user at appropriate points in the intent resolution lifecycle (such as intent completion, unexpected errors, etc).
SlangUI - Class in in.slanglabs.platform.ui
A class that allows fine grained control of the Slang framework's user interface
SlangUI.SlangTriggerPosition - Enum in in.slanglabs.platform.ui
 
SlangUnresolvedIntent - Class in in.slanglabs.platform.session
This class represents an unresolved intent, i.e.
success() - Method in class SlangSession
Callback to be invoked by the application's ISlangResolvedIntentActions to indicate that a given stage has completed successfully.
suspend() - Method in class SlangSession
Callback to be invoked by the application's ISlangResolvedIntentActions to indicate that the current session needs to be suspended pending further notification from the application

U

unregisterApplicationStateListener(ISlangApplicationStateListener) - Static method in class SlangApplication
Removes a previously registered listener for application state change events
update(String, Object) - Method in class SlangApplicationContext
Updates the context with a new key-value pair

V

valueOf(String) - Static method in enum ISlangApplicationStateListener.FailureReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum SlangIntent.ResolutionStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum SlangSession.ContinuationMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum SlangSession.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum SlangUI.SlangTriggerPosition
Returns the enum constant of this type with the specified name.
values() - Static method in enum ISlangApplicationStateListener.FailureReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum SlangIntent.ResolutionStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum SlangSession.ContinuationMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum SlangSession.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum SlangUI.SlangTriggerPosition
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E F G H I M O R S U V 
Skip navigation links