PromptBoxEventBuilder

Methods

Blur(System.String)

Fires each time the PromptBox loses focus.

For more information see Blur event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the blur event.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

Blur(System.Func)

Fires each time the PromptBox loses focus.

For more information see Blur event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

Focus(System.String)

Fires each time the PromptBox receives focus.

For more information see Focus event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the focus event.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

Focus(System.Func)

Fires each time the PromptBox receives focus.

For more information see Focus event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

Input(System.String)

Fires each time the user types in the input field.

For more information see Input event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the input event.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

Input(System.Func)

Fires each time the user types in the input field.

For more information see Input event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

InputBlur(System.String)

Fires each time the internal input element loses focus.

For more information see InputBlur event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the inputBlur event.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

InputBlur(System.Func)

Fires each time the internal input element loses focus.

For more information see InputBlur event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

InputFocus(System.String)

Fires each time the internal input element receives focus.

For more information see InputFocus event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the inputFocus event.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

InputFocus(System.Func)

Fires each time the internal input element receives focus.

For more information see InputFocus event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

ValueChange(System.String)

Fires when the value changes through user input (not programmatic changes).

For more information see ValueChange event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the valueChange event.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

ValueChange(System.Func)

Fires when the value changes through user input (not programmatic changes).

For more information see ValueChange event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

MultilineStateChange(System.String)

Fires when the PromptBox transitions between single-line and multi-line states in auto mode.

For more information see MultilineStateChange event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the multilineStateChange event.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

MultilineStateChange(System.Func)

Fires when the PromptBox transitions between single-line and multi-line states in auto mode.

For more information see MultilineStateChange event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

FileRemove(System.String)

Fires each time the user removes a file attachment.

For more information see FileRemove event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the fileRemove event.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

FileRemove(System.Func)

Fires each time the user removes a file attachment.

For more information see FileRemove event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

FileSelect(System.String)

Fires each time the user selects files using the File Select button.

For more information see FileSelect event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the fileSelect event.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

FileSelect(System.Func)

Fires each time the user selects files using the File Select button.

For more information see FileSelect event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

PromptAction(System.String)

Fires when the action button is clicked (send or stop). Check e.actionType to determine the action.

For more information see PromptAction event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the promptAction event.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

PromptAction(System.Func)

Fires when the action button is clicked (send or stop). Check e.actionType to determine the action.

For more information see PromptAction event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

SpeechToTextClick(System.String)

Fires each time the user clicks the Speech to Text button.

For more information see SpeechToTextClick event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the speechToTextClick event.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

SpeechToTextClick(System.Func)

Fires each time the user clicks the Speech to Text button.

For more information see SpeechToTextClick event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

SpeechToTextEnd(System.String)

Fires when the speech recognition service disconnects.

For more information see SpeechToTextEnd event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the speechToTextEnd event.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

SpeechToTextEnd(System.Func)

Fires when the speech recognition service disconnects.

For more information see SpeechToTextEnd event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

SpeechToTextError(System.String)

Fires when a speech recognition error occurs.

For more information see SpeechToTextError event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the speechToTextError event.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

SpeechToTextError(System.Func)

Fires when a speech recognition error occurs.

For more information see SpeechToTextError event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

SpeechToTextResult(System.String)

Fires when the speech recognition service returns a result.

For more information see SpeechToTextResult event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the speechToTextResult event.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

SpeechToTextResult(System.Func)

Fires when the speech recognition service returns a result.

For more information see SpeechToTextResult event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

SpeechToTextStart(System.String)

Fires when the speech recognition service begins listening.

For more information see SpeechToTextStart event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the speechToTextStart event.

RETURNS

Returns the current instance of PromptBoxEventBuilder .

SpeechToTextStart(System.Func)

Fires when the speech recognition service begins listening.

For more information see SpeechToTextStart event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of PromptBoxEventBuilder .