QA Client Object
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
class QA
{
public bool IsInShortTimeoutConfirmation();
public string ID { get; }
public bool HasPlayed { get; set; }
public array History { get; }
}
Methods
IsInShortTimeoutConfirmation
Determines whether the QA object is in short time-out confirmation (STC) mode.
When defining QA Speech Controls that can perform either STC or normal confirmation, the author might want to use different prompts for each confirmation mode. Client-side code routines, such as the PromptSelectFunction routine, can use the IsInShortTimeoutConfirmation method to determine when STC is performed.
IsInShortTimeoutConfirmation()
Parameters
None.
Return Value
true if the QA object is in STC mode; otherwise, false.
Properties
ID
A string that uniquely identifies the control on the page. It should be identical to the server-side value.
HasPlayed
The HasPlayed property indicates whether the prompt has been played when the server-side PlayOnce property was set to true. Using the HasPlayed property, the author determines whether the prompt has played and then optionally resets the state of the prompt, making it a candidate for activation during subsequent checks by RunSpeech.
History
The Command/Exception history of the QA. The History property is null unless the QA being accessed is the active QA. For more information, see RunSpeech - History Property.