*/
goog.provide('cvox.SpokenListBuilder');
-
+goog.require('cvox.QueueMode');
/**
* @return {cvox.SpokenListBuilder} this.
*/
cvox.SpokenListBuilder.prototype.flush = function(expectedText) {
- this.list_.push([expectedText, cvox.AbstractTts.QUEUE_MODE_FLUSH]);
+ this.list_.push([expectedText, cvox.QueueMode.FLUSH]);
return this; // for chaining
};
* @return {cvox.SpokenListBuilder} this.
*/
cvox.SpokenListBuilder.prototype.queue = function(expectedText) {
- this.list_.push([expectedText, cvox.AbstractTts.QUEUE_MODE_QUEUE]);
+ this.list_.push([expectedText, cvox.QueueMode.QUEUE]);
return this; // for chaining
};
* @return {cvox.SpokenListBuilder} this.
*/
cvox.SpokenListBuilder.prototype.categoryFlush = function(expectedText) {
- this.list_.push([expectedText, cvox.AbstractTts.QUEUE_MODE_CATEGORY_FLUSH]);
+ this.list_.push([expectedText, cvox.QueueMode.CATEGORY_FLUSH]);
return this; // for chaining
};