cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
413
Views
6
Helpful
1
Replies

The constructor VoiceElementConfig.SayItSmart(String, String, String) is deprecated

fanrong9905
Level 1
Level 1

how to setup SayItSmart in a voice custom element if SayItSmart constructor is deprecated?

1 Reply 1

janinegraves
Spotlight
Spotlight

This one is the only one NOT deprecates:

SayItSmart(SayItSmartClassName, InputFormat, OutputFormat, dataAsObject);

Example (assume that acctnum was retrieved using the Session API method getElementData()):

VoiceElementConfig.SayItSmart acctNumAsDigits = defaults.new

SayItSmart( “com.audium.sayitsmart.plugins.AudiumSayItSmartDigit”,

”number”, ”digits”, (Object) acctNum);