The RecoAttributes class determines the speech recognition settings for a prompt played using the Call.playAndGetInput() method. You must have speech recognition technology configured on the telephony server in order to use this class. If the application does not use speech recognition, use null in place of RecoAttributes.
public class myVoiceApp extends WVRApplication { . . . // Create the attributes object - use empty constructors so that attributes have // default values public RecoAttributes myRecoAtts = new RecoAttributes(); // Then change the attributes you need myRecoAtts.setContext("colors"); myRecoAtts.setNBest(3); . . . }