Uses of Record Class
org.openhab.core.voice.DialogContext
Packages that use DialogContext
-
Uses of DialogContext in org.openhab.core.voice
Methods in org.openhab.core.voice that return DialogContextModifier and TypeMethodDescriptionDialogContext.Builder.build()
Creates a newDialogContext
@Nullable DialogContext
VoiceManager.getLastDialogContext()
Returns an object with the services and configurations last used for dialog processing if any.Methods in org.openhab.core.voice that return types with arguments of type DialogContextModifier and TypeMethodDescriptionVoiceManager.getDialogsContexts()
Returns a list with the contexts of all running dialogs.Methods in org.openhab.core.voice with parameters of type DialogContextModifier and TypeMethodDescriptionvoid
VoiceManager.listenAndAnswer
(DialogContext context) Executes a simple dialog sequence without keyword spotting: audio source listening to retrieve a question or a command (Speech to Text service), interpretation and handling of the command, and finally playback of the answer on the audio sink (Text to Speech service).void
VoiceManager.startDialog
(DialogContext context) Starts an infinite dialog sequence: keyword spotting on the audio source, audio source listening to retrieve a question or a command (Speech to Text service), interpretation and handling of the command, and finally playback of the answer on the audio sink (Text to Speech service).void
VoiceManager.stopDialog
(DialogContext context) Stop the dialog associated to the audio source -
Uses of DialogContext in org.openhab.core.voice.text
Methods in org.openhab.core.voice.text with parameters of type DialogContextModifier and TypeMethodDescriptionAbstractRuleBasedInterpreter.interpret
(Locale locale, String text, @Nullable DialogContext dialogContext) default String
HumanLanguageInterpreter.interpret
(Locale locale, String text, @Nullable DialogContext dialogContext) Interprets a human language text fragment of a givenLocale
with optional access to the context of a dialog execution.