cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
45
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: null on 15-06-2005 09:59:30 PM
Hi

Following is my class
public class MyClass implements VoiceElementInterface
{
public VoiceElementConfig getConfig( String name, ElementAPI elementAPI,
VoiceElementConfig defaults) throws AudiumException
{
defaults = new VoiceElementConfig();
VoiceElementConfig.AudioGroup initialAudioGroup = defaults.new AudioGroup("initial_audio_group", true);
VoiceElementConfig.StaticAudio beforeQuote = defaults.new StaticAudio("Hello your numbers are", null);
//get number from database
String q1="100";
String q2="200";

VoiceElementConfig.SayItSmart sayQOne = defaults.new
SayItSmart("com.audium.sayitsmart.plugins.AudiumSayItSmartNumber",
initialAudioGroup.addAudioItem(beforeQuote);
initialAudioGroup.addAudioItem(sayQOne);
defaults.setAudioGroup(initialAudioGroup);
return defaults;
}
}

And Following are the error message
MyClass .java:51: non-static variable STANDARD_OUTPUT_FORMAT cannot be referenced from a static context
AudiumSayItSmartNumber.STANDARD_OUTPUT_FORMAT,q1);
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links