| Package | Description |
|---|---|
| com.amazonaws.mobileconnectors.lex.interactionkit |
Contains the public API which handles Dialog between client and service
|
| com.amazonaws.mobileconnectors.lex.interactionkit.config |
Contains the public API which handles client config
|
| com.amazonaws.mobileconnectors.lex.interactionkit.ui | |
| com.amazonaws.mobileconnectors.lex.interactionkit.utils |
| Constructor and Description |
|---|
InteractionClient(android.content.Context context,
AWSCredentialsProvider credentialsProvider,
Regions region,
InteractionConfig interactionConfig) |
InteractionClient(android.content.Context context,
AWSCredentialsProvider credentialsProvider,
Regions region,
InteractionConfig interactionConfig,
ClientConfiguration clientConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
InteractionConfig |
InteractionConfig.withAudioEncoding(AudioEncoding audioEncoding)
Set audio encoding.
|
InteractionConfig |
InteractionConfig.WithEnableAudioPlayback(boolean enableAudioPlayback)
Set this to true if the audio response from Amazon Lex service should be
played back by the SDK.
|
InteractionConfig |
InteractionConfig.withEndPointingThreshold(int endPointingThreshold)
Set endpoint threshold.
|
InteractionConfig |
InteractionConfig.withGlobalSessionAttributes(Map<String,String> globalSessionAttributes)
Set the global SessionAtributes
|
InteractionConfig |
InteractionConfig.withLrtThreshold(float lrtThreshold)
Sets the Likely hood ration threshold for the VAD
|
InteractionConfig |
InteractionConfig.withMaxSpeechTimeoutInterval(int maxSpeechTimeoutInterval)
Set maximum interval for speech.
|
InteractionConfig |
InteractionConfig.withNoSpeechTimeoutInterval(int noSpeechTimeoutInterval)
Set no speech time out interval.
|
InteractionConfig |
InteractionConfig.withStartPointingThreshold(int startPointingThreshold)
Set start point threshold.
|
InteractionConfig |
InteractionConfig.withUserId(String userId)
Sets the user id
|
| Modifier and Type | Method and Description |
|---|---|
void |
InteractiveVoiceViewAdapter.setInteractionConfig(InteractionConfig interactionConfig)
Set interaction config.
|
| Modifier and Type | Method and Description |
|---|---|
static PostContentRequest |
CreateLexServiceRequest.generatePostContentRequest(Map<String,String> sessionAttributes,
InteractionConfig interactionConfig,
AWSCredentialsProvider credentialsProvider,
ResponseType mode,
InputStream audioStream,
String contentType)
Creates a request post speech input request for Amazon Lex service.
|
static PostContentRequest |
CreateLexServiceRequest.generatePostContentRequest(Map<String,String> sessionAttributes,
InteractionConfig interactionConfig,
AWSCredentialsProvider credentialsProvider,
ResponseType mode,
String text)
Creates a request to post text input request for Amazon Lex service.
|
Copyright © 2018. All rights reserved.