Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

  • OnInit

Index

Constructors

constructor

Properties

Protected amplifyService

amplifyService: AmplifyService

audioControl

audioControl: any

audioInput

audioInput: any

botName

botName: string

chatTitle

chatTitle: string

clearComplete

clearComplete: boolean = false

complete

complete: EventEmitter<string> = new EventEmitter<string>()

completions

completions: any

continueConversation

continueConversation: boolean = false

conversationModeOn

conversationModeOn: boolean = false

currentVoiceState

currentVoiceState: string = STATES.INITIAL.MESSAGE

errorMessage

errorMessage: string

inputDisabled

inputDisabled: boolean = false

inputText

inputText: string = ""

lexResponse

lexResponse: any

Protected logger

logger: any

messages

messages: any = []

micButtonDisabled

micButtonDisabled: boolean = false

micText

micText: string = STATES.INITIAL.ICON

ref

ref: ChangeDetectorRef

textEnabled

textEnabled: boolean = true

voiceConfig

voiceConfig: any = defaultVoiceConfig

voiceEnabled

voiceEnabled: boolean = false

Accessors

bot

bot:

clearOnComplete

clearOnComplete:

data

data:

title

title:

Methods

doneSpeakingHandler

  • doneSpeakingHandler(): void

lexResponseHandler

  • lexResponseHandler(): Promise<void>

micButtonHandler

  • micButtonHandler(): Promise<void>

ngOnInit

  • ngOnInit(): void

onError

  • onError(error: any): void

onInputChange

  • onInputChange(value: string): void

onSilenceHandler

  • onSilenceHandler(): void

onSubmit

  • onSubmit(e: any): void

performOnComplete

  • performOnComplete(evt: any): void

reset

  • reset(): void