public class AdmRecoOnlyPreferences
extends java.lang.Object
Constructor and Description |
---|
AdmRecoOnlyPreferences() |
Modifier and Type | Method and Description |
---|---|
void |
setClientId(java.lang.String clientId) |
void |
setClientSecret(java.lang.String secret) |
void |
setLocale(java.lang.String locale) |
void |
setLuisAppId(java.lang.String luisAppID) |
void |
setLuisSubscriptionId(java.lang.String luisSubscriptionID) |
void |
setMicrophoneTimeout(int timeout) |
void |
setServiceUri(java.lang.String serviceUri) |
public void setLocale(java.lang.String locale)
locale
- The locale (or location) string.public void setServiceUri(java.lang.String serviceUri)
serviceUri
- The Speech Recognition Service endpoint.public void setClientId(java.lang.String clientId)
clientId
- The client id for the Azure account that is associated with the Speech
Recognition Service.public void setLuisAppId(java.lang.String luisAppID)
luisAppID
- Once you have configured the LUIS service to create and publish
an intent model (see https://LUIS.ai) you will be given an Application ID guid.
Use that GUID here.public void setLuisSubscriptionId(java.lang.String luisSubscriptionID)
luisSubscriptionID
- Once you create a LUIS account (see https://LUIS.ai)
you will be given an Subscription ID. Use that secret here.public void setClientSecret(java.lang.String secret)
secret
- The client secret provided when signing up for Speech Recognition Service
in the Azure marketplace.public void setMicrophoneTimeout(int timeout)
timeout
- The default microphone timeout in milliseconds. A negative value disables
automatic microphone shutoff.