TextAgent

class TextAgent(    messageSender: MessageSender,     contextManager: ContextManagerInterface,     dialogAttributeStorage: DialogAttributeStorageInterface,     textSourceHandler: TextAgentInterface.TextSourceHandler?,     textRedirectHandler: TextAgentInterface.TextRedirectHandler?,     expectTypingController: ExpectTypingHandlerInterface.Controller,     interactionControlManager: InteractionControlManagerInterface,     directiveSequencer: DirectiveSequencerInterface,     interLayerDisplayPolicyManager: InterLayerDisplayPolicyManager) : AbstractCapabilityAgent, TextAgentInterface

Constructors

Link copied to clipboard
fun TextAgent(    messageSender: MessageSender,     contextManager: ContextManagerInterface,     dialogAttributeStorage: DialogAttributeStorageInterface,     textSourceHandler: TextAgentInterface.TextSourceHandler?,     textRedirectHandler: TextAgentInterface.TextRedirectHandler?,     expectTypingController: ExpectTypingHandlerInterface.Controller,     interactionControlManager: InteractionControlManagerInterface,     directiveSequencer: DirectiveSequencerInterface,     interLayerDisplayPolicyManager: InterLayerDisplayPolicyManager)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
open override fun cancelDirective(messageId: String)
Link copied to clipboard
open override fun handleDirective(messageId: String): Boolean
Link copied to clipboard
open override fun preHandleDirective(directive: Directive, result: DirectiveHandlerResult)
Link copied to clipboard
open override fun provideState(    contextSetter: ContextSetterInterface,     namespaceAndName: NamespaceAndName,     contextType: ContextType,     stateRequestToken: Int)
Link copied to clipboard
open override fun requestTextInput(    text: String,     playServiceId: String?,     token: String?,     source: String?,     referrerDialogRequestId: String?,     includeDialogAttribute: Boolean,     listener: TextAgentInterface.RequestListener?): String
Link copied to clipboard
open override fun textInput(request: TextInputRequester.Request, listener: TextAgentInterface.RequestListener?): String

Given a request, request "Text.Input" event.

open override fun textInput(requestBuilder: TextInputRequester.Request.Builder, listener: TextAgentInterface.RequestListener?): String

Given a builder for request, request "Text.Input" event.

Properties

Link copied to clipboard
open override val configurations: Map<NamespaceAndName, BlockingPolicy>
Link copied to clipboard
override val namespaceAndName: NamespaceAndName