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

S

say(SlangPrompt.Type) - Method in class com.slanglabs.slang.prompt.SlangPrompt
 
say(String) - Method in class com.slanglabs.slang.prompt.SlangPrompt
 
say(SlangPrompt.Type, SlangPrompt.PromptProgressListener) - Method in class com.slanglabs.slang.prompt.SlangPrompt
 
say(String, SlangPrompt.PromptProgressListener) - Method in class com.slanglabs.slang.prompt.SlangPrompt
 
setBackgroundColor(int) - Method in class com.slanglabs.slang.ui.SlangSurface
Overrides the background color for the surface
setBackgroundResource(int) - Method in class com.slanglabs.slang.ui.SlangSurface
Overrides the background texture for the surface
setEntityValue(String, String) - Method in class com.slanglabs.slang.action.SlangIntent
Set the value of the given entity.
setFilledEntities(List<SlangIntent.Entity>) - Method in class com.slanglabs.slang.action.SlangIntent.Builder
 
setHelpMessage(String) - Static method in class com.slanglabs.slang.Slang
Set the message to be shown when the user clicks on "help" or asks for help
setImageResource(int) - Method in class com.slanglabs.slang.ui.SlangSurface
Overrides the icon shown on the surface
setImageResource(int) - Method in class com.slanglabs.slang.ui.SlangTrigger
Override the default icon for the trigger button
setIntentCompletionPrompt(String) - Method in class com.slanglabs.slang.action.SlangIntent.Builder
 
setIntentCompletionPrompt(String) - Method in class com.slanglabs.slang.action.SlangIntent
 
setIntentString(String) - Method in class com.slanglabs.slang.action.SlangIntent.Builder
 
setIsAbsolute(boolean) - Method in class com.slanglabs.slang.action.SlangIntent.Entity
 
setMissingEntity(SlangIntent.Entity) - Method in class com.slanglabs.slang.action.SlangIntent.Builder
 
setPrompt(String) - Method in class com.slanglabs.slang.action.SlangIntent.Entity
 
setPromptForMissingEntity(String) - Method in class com.slanglabs.slang.action.SlangIntent
Set/override the prompt to use for the missing entity
setQueryString(String) - Method in class com.slanglabs.slang.action.SlangIntent.Builder
 
setShortHelpMessage(String) - Static method in class com.slanglabs.slang.Slang
Set an help message to show on the surface when the surface is shown after being clicked.
setState(Activity, SlangSurfaceInterface.SurfaceState) - Method in interface com.slanglabs.slang.ui.SlangSurfaceInterface
The surface can go through a bunch of states, eg when the surface is waiting for user input, when its busy processing information, etc.
setStatus(SlangIntent.Status) - Method in class com.slanglabs.slang.action.SlangIntent.Builder
 
setTextColor(int) - Method in class com.slanglabs.slang.ui.SlangSurface
Overrides the text color for the surface content
setTypeface(Typeface) - Method in class com.slanglabs.slang.ui.SlangSurface
Overrides the typeface for the surface content
setValue(String) - Method in class com.slanglabs.slang.action.SlangIntent.Entity
 
show() - Method in class com.slanglabs.slang.ui.SlangTrigger
Show the default trigger on top of the current activity (and future activities) if enabled
Slang - Class in com.slanglabs.slang
Singleton class that is the primary entry point for users
Slang.SlangMode - Enum in com.slanglabs.slang
 
SlangAction - Class in com.slanglabs.slang.action
The class that encapsulates all the actions that the user can do to respond to intents
SlangAction.ActionCallback - Interface in com.slanglabs.slang.action
 
SlangAction.IntentProgressListener - Interface in com.slanglabs.slang.action
 
SlangContext - Class in com.slanglabs.slang
Opaque context object that is needed to maintain session when we call into developer implementations of surface
SlangContext(Object) - Constructor for class com.slanglabs.slang.SlangContext
 
SlangIntent - Class in com.slanglabs.slang.action
Represents an intent
SlangIntent.Builder - Class in com.slanglabs.slang.action
 
SlangIntent.Entity - Class in com.slanglabs.slang.action
 
SlangIntent.Status - Enum in com.slanglabs.slang.action
 
SlangPrompt - Class in com.slanglabs.slang.prompt
Handles all things related to Slang prompting the user, typically via spoken voice
SlangPrompt.PromptProgressListener - Interface in com.slanglabs.slang.prompt
 
SlangPrompt.Type - Enum in com.slanglabs.slang.prompt
 
SlangSurface - Class in com.slanglabs.slang.ui
Class that exposes external features related to the surface that users see when the trigger is enabled
SlangSurfaceInterface - Interface in com.slanglabs.slang.ui
Interface for surface that shows up when the user is speaking to Slang.
SlangSurfaceInterface.SurfaceMode - Enum in com.slanglabs.slang.ui
The mode the surface should be initialized in CONVERSATION_STARTED - When the conversation is explicitly started by an external trigger CONVERSATION_CONTINUE - When we are continuing a conversation based on what was spoken before HISTORY - The mode where the user is seeing the past conversations
SlangSurfaceInterface.SurfaceState - Enum in com.slanglabs.slang.ui
Represents the states the surface can go through
SlangSurfaceInterface.VisibilityListener - Interface in com.slanglabs.slang.ui
 
SlangTrigger - Class in com.slanglabs.slang.ui
The class that exposes external features related to the trigger (the visual/hotword element that starts slang)
SlangUI - Class in com.slanglabs.slang.ui
Class that provides the UI elements needed for Slang
start() - Method in class com.slanglabs.slang.ui.SlangSurface
Start the surface.
start(Activity, SlangContext, String, SlangSurfaceInterface.SurfaceMode, SlangSurfaceInterface.VisibilityListener) - Method in interface com.slanglabs.slang.ui.SlangSurfaceInterface
The framework will call this when the surface should show itself (eg when the user has triggered the trigger).
surface() - Method in class com.slanglabs.slang.ui.SlangUI
 
A B C D E F G H I O P R S T U V 
Skip navigation links