DialogServiceConfigImpl class

Dialog Service configuration.

Extends

Constructors

DialogServiceConfigImpl()

Creates an instance of dialogService config.

Properties

applicationId

Not used in DialogServiceConfig

properties

Provides access to custom properties.

speechRecognitionLanguage

Sets the speech recognition language.

Methods

close()

Dispose of associated resources.

getProperty(string | PropertyId, string)

Sets a named property as value

setProperty(string | PropertyId, string)

Sets a named property as value

setProxy(string, number, string, string)

Sets the proxy configuration. Only relevant in Node.js environments. Added in version 1.4.0.

setServiceProperty(string, string, UriQueryParameter)

Constructor Details

DialogServiceConfigImpl()

Creates an instance of dialogService config.

new DialogServiceConfigImpl()

Property Details

applicationId

Not used in DialogServiceConfig

applicationId: string

Property Value

string

properties

Provides access to custom properties.

public properties: PropertyCollection

Property Value

speechRecognitionLanguage

Sets the speech recognition language.

public speechRecognitionLanguage: string

Property Value

string

Method Details

close()

Dispose of associated resources.

function close()

getProperty(string | PropertyId, string)

Sets a named property as value

function getProperty(name: string | PropertyId, def?: string)

Parameters

name
string | PropertyId

The property to get.

def
string

The default value to return in case the property is not known.

Returns

string

setProperty(string | PropertyId, string)

Sets a named property as value

function setProperty(name: string | PropertyId, value: string)

Parameters

name
string | PropertyId

The property to set.

value
string

The value.

setProxy(string, number, string, string)

Sets the proxy configuration. Only relevant in Node.js environments. Added in version 1.4.0.

function setProxy(proxyHostName: string, proxyPort: number, proxyUserName?: string, proxyPassword?: string)

Parameters

proxyHostName
string

The host name of the proxy server, without the protocol scheme (http://)

proxyPort
number

The port number of the proxy server.

proxyUserName
string

The user name of the proxy server.

proxyPassword
string

The password of the proxy server.

setServiceProperty(string, string, UriQueryParameter)

function setServiceProperty(name: string, value: string, channel: UriQueryParameter)

Parameters

name
string
value
string