« Back to General Discussion

say it smart class

Combination View Flat View Tree View
Threads [ Previous | Next ]
when writing my own Say it Smart, is there any way within the convertToFiles
runtime method to access any session data variables? I know that you don't pass the Session API to the convertToFiles, but it sure would be NICE if there were some undocumented Java Class that allows me to access session data or things like current language, it would also be really, really nice to be able to set some flag if there's a problem in the say it smart, rather than just throwing a Java exception.

So, is there any way to communicate back to the app or get the value of any data within Say it Smart, if the data isn't being passed in as part of the 'data'?

Are there any plans to pass the Session API to the Say it Smart convertToFiles method? It would make programming a lot easier!

Thanks, Janine

Hi Janine,

Say-It-Smart (SIS) plug-ins are considered utility classes. They take some raw data as input, and produce structured audio TTS or files as output. They are not like Action or Decision elements which are expected to make real-time decisions based on application state; instead, they simply perform a conversion.

If more advanced processing is required, please encapsulate it in an Action or Decision element prior to the SIS plug-in. Then you can pass in the resultant data to the plug-in, using Substitution.

Regards,
Vance