-
- All Implemented Interfaces:
public final class UpdateSettingsResponse
Represents the configuration data that should be send to VoiceKit in order to run properly , or whenever the fields have updated (all fields except action are optional when delta update)
-
-
Field Summary
Fields Modifier and Type Field Description private final String
locale
private final UserContext
userContext
private final VoiceGeoLocation
currentLocation
private final GeneratorType
generatorType
private final String
unit
private final Plugin
activePlugin
private final List<String>
wakewordList
private final Integer
searchRadiusInMeter
private final LoggingLevel
logLevel
private final Boolean
enableMockData
private final String
hybridMode
-
Constructor Summary
Constructors Constructor Description UpdateSettingsResponse(Action action, String locale, UserContext userContext, VoiceGeoLocation currentLocation, GeneratorType generatorType, String unit, Plugin activePlugin, List<String> wakewordList, Integer searchRadiusInMeter, LoggingLevel logLevel, Boolean enableMockData, String hybridMode)
-
Method Summary
Modifier and Type Method Description final String
getLocale()
Locale E. final UserContext
getUserContext()
User's settings final VoiceGeoLocation
getCurrentLocation()
Current location final GeneratorType
getGeneratorType()
Generator type default: Text, if play by VoiceSDK, please select "Internal" final String
getUnit()
Unit final Plugin
getActivePlugin()
Active plugin final List<String>
getWakewordList()
List of wake words If not set will not support customized wake word final Integer
getSearchRadiusInMeter()
Search radius in meters If not set will use Orchestrator service defined one final LoggingLevel
getLogLevel()
Logging level in VoiceKit final Boolean
getEnableMockData()
Used to enable mock data. final String
getHybridMode()
Hybrid mode. -
-
Constructor Detail
-
UpdateSettingsResponse
UpdateSettingsResponse(Action action, String locale, UserContext userContext, VoiceGeoLocation currentLocation, GeneratorType generatorType, String unit, Plugin activePlugin, List<String> wakewordList, Integer searchRadiusInMeter, LoggingLevel logLevel, Boolean enableMockData, String hybridMode)
-
-
Method Detail
-
getUserContext
final UserContext getUserContext()
User's settings
-
getCurrentLocation
final VoiceGeoLocation getCurrentLocation()
Current location
-
getGeneratorType
final GeneratorType getGeneratorType()
Generator type default: Text, if play by VoiceSDK, please select "Internal"
-
getActivePlugin
final Plugin getActivePlugin()
Active plugin
-
getWakewordList
final List<String> getWakewordList()
List of wake words If not set will not support customized wake word
-
getSearchRadiusInMeter
final Integer getSearchRadiusInMeter()
Search radius in meters If not set will use Orchestrator service defined one
-
getLogLevel
final LoggingLevel getLogLevel()
Logging level in VoiceKit
-
getEnableMockData
final Boolean getEnableMockData()
Used to enable mock data. Default value is false
-
getHybridMode
final String getHybridMode()
Hybrid mode.
-
-
-
-