Code Integration - Basic Steps
Integrating the Slang Voice Assistant with your app
1. Configure the build system
Add the Slang dependency to your gradle files
# Add this to your top level gradle file
allprojects {
repositories {
…
maven { url "http://maven.slanglabs.in:8080/artifactory/gradle-release" }
}
}# Add this to your app's gradle file
dependencies {
…
implementation 'in.slanglabs.assistants:slang-travel-assistant:4.0.27'
}2. Code integration
2.1 Initialization
2.2 Show the Trigger (microphone icon)
2.3 Implement Actions
2.4 Return the AppState and Condition
AppState and Condition2.4.2 Assistant Prompts
Last updated
Was this helpful?
