RoutineAgent
class RoutineAgent( messageSender: MessageSender, contextManager: ContextManagerInterface, directiveProcessor: DirectiveProcessorInterface, directiveSequencer: DirectiveSequencerInterface, directiveGroupProcessor: DirectiveGroupProcessorInterface, seamlessFocusManager: SeamlessFocusManagerInterface, startDirectiveHandleController: StartDirectiveHandler.HandleController? = null, continueDirectiveHandleController: ContinueDirectiveHandler.HandleController? = null) : CapabilityAgent, RoutineAgentInterface, SupportedInterfaceContextProvider, StartDirectiveHandler.Controller, StopDirectiveHandler.Controller, ContinueDirectiveHandler.Controller, DisplayAgentInterface.Listener
Content copied to clipboard
Constructors
Link copied to clipboard
fun RoutineAgent( messageSender: MessageSender, contextManager: ContextManagerInterface, directiveProcessor: DirectiveProcessorInterface, directiveSequencer: DirectiveSequencerInterface, directiveGroupProcessor: DirectiveGroupProcessorInterface, seamlessFocusManager: SeamlessFocusManagerInterface, startDirectiveHandleController: StartDirectiveHandler.HandleController? = null, continueDirectiveHandleController: ContinueDirectiveHandler.HandleController? = null)
Content copied to clipboard
Types
Functions
Link copied to clipboard
open override fun addListener(listener: RoutineAgentInterface.RoutineListener)
Content copied to clipboard
Add listener for routine
Link copied to clipboard
open override fun doContinue(directive: ContinueDirectiveHandler.ContinueDirective): Boolean
Content copied to clipboard
Link copied to clipboard
open override fun failed(directive: ContinueDirectiveHandler.ContinueDirective, errorMessage: String)
Content copied to clipboard
open override fun failed(directive: StartDirectiveHandler.StartDirective, errorMessage: String)
Content copied to clipboard
Link copied to clipboard
Returns a current context
Link copied to clipboard
Link copied to clipboard
open override fun onRendered(templateId: String, dialogRequestId: String)
Content copied to clipboard
Link copied to clipboard
open override fun pause(directive: StartDirectiveHandler.StartDirective): Boolean
Content copied to clipboard
Pause a routine started by directive
Link copied to clipboard
open override fun provideState( contextSetter: ContextSetterInterface, namespaceAndName: NamespaceAndName, contextType: ContextType, stateRequestToken: Int)
Content copied to clipboard
Link copied to clipboard
open override fun removeListener(listener: RoutineAgentInterface.RoutineListener)
Content copied to clipboard
Remove listener for routine
Link copied to clipboard
open override fun resume(directive: StartDirectiveHandler.StartDirective): Boolean
Content copied to clipboard
Resume a routine started by directive
Link copied to clipboard
open override fun start(directive: StartDirectiveHandler.StartDirective): Boolean
Content copied to clipboard
Start a routine
Link copied to clipboard
open override fun stop(directive: StartDirectiveHandler.StartDirective): Boolean
Content copied to clipboard
Stop a routine started by directive
open override fun stop(directive: StopDirectiveHandler.StopDirective): Boolean
Content copied to clipboard