-
- All Implemented Interfaces:
public interface ILocalContextHandler
This interface define methods for handling the local context. The local context will be used for context switching from touch to voice and vice versa
-
-
Method Summary
Modifier and Type Method Description abstract Unit
updateLocalContext(LocalContext localContext)
This method will update the local context based on the information received from client abstract BaseUpdateContext
getLocalContext()
This method is used for retrieving the current local context abstract Unit
updateLocalContextWithVoiceContext(BaseUpdateContext baseUpdateContext)
This method will update the local context based on the information received from voice abstract Unit
resetLocalContext()
This method will clear the local context -
-
Method Detail
-
updateLocalContext
abstract Unit updateLocalContext(LocalContext localContext)
This method will update the local context based on the information received from client
- Parameters:
localContext
- The context for the current flow step.
-
getLocalContext
abstract BaseUpdateContext getLocalContext()
This method is used for retrieving the current local context
-
updateLocalContextWithVoiceContext
abstract Unit updateLocalContextWithVoiceContext(BaseUpdateContext baseUpdateContext)
This method will update the local context based on the information received from voice
- Parameters:
baseUpdateContext
- The context for the current flow step.
-
resetLocalContext
abstract Unit resetLocalContext()
This method will clear the local context
-
-
-
-