|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.speakright.core.render.Prompt.PromptCondition
org.speakright.core.render.PlayOnceCondition
org.speakright.core.render.PlayOnceEverCondition
public class PlayOnceEverCondition
A prompt condition that ensures a prompt is only played once ever during a call. Often in a VUI we want to play a prompt the first time the user reaches some point, but not every time. The scope of this condition is the entire call.
| Field Summary |
|---|
| Fields inherited from class org.speakright.core.render.Prompt.PromptCondition |
|---|
m_value |
| Constructor Summary | |
|---|---|
PlayOnceEverCondition()
|
|
| Method Summary | |
|---|---|
void |
calculate(Prompt prompt,
RenderContext rcontext)
Calculate the current value of the condition. |
| Methods inherited from class org.speakright.core.render.Prompt.PromptCondition |
|---|
value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlayOnceEverCondition()
| Method Detail |
|---|
public void calculate(Prompt prompt,
RenderContext rcontext)
Prompt.PromptCondition
calculate in class PlayOnceConditionprompt - prompt that has the conditionrcontext - rendering context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||