TextAgentInterface

interface TextAgentInterface : TextInputRequester

Types

Link copied to clipboard
enum ErrorType : Enum<TextAgentInterface.ErrorType>
Link copied to clipboard

The listener about textSource directive's internal handling event. If text source handled by given TextSourceHandler, the listener is not called. The handler only called when handled at internally.

Link copied to clipboard
interface RequestListener
Link copied to clipboard
interface TextRedirectHandler

The handler for text redirect directive.

Link copied to clipboard
interface TextSourceHandler

The handler for text source directive.

Functions

Link copied to clipboard
abstract fun requestTextInput(    text: String,     playServiceId: String? = null,     token: String? = null,     source: String? = null,     referrerDialogRequestId: String? = null,     includeDialogAttribute: Boolean = true,     listener: TextAgentInterface.RequestListener? = null): String
Link copied to clipboard
abstract fun textInput(request: TextInputRequester.Request, listener: TextAgentInterface.RequestListener? = null): String

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

abstract fun textInput(requestBuilder: TextInputRequester.Request.Builder, listener: TextAgentInterface.RequestListener? = null): String

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

Inheritors

Link copied to clipboard