File: /home/padewitte/projets/webcomponents/myscript-js/src/output/text/textResponseWSMessage.js
'use strict';
(function (scope) {
/**
* WebSocket recognition text result message
*
* @class TextResponseWSMessage
* @extends AbstractRecoResponseWSMessage
* @param {Object} [obj] Recognition WebSocket message
* @constructor
*/
function TextResponseWSMessage(obj) {
scope.AbstractRecoResponseWSMessage.call(this, obj);
if (obj) {
this.result = new scope.TextDocument(obj.result);
}
}
/**
* Inheritance property
*/
TextResponseWSMessage.prototype = new scope.AbstractRecoResponseWSMessage();
/**
* Constructor property
*/
TextResponseWSMessage.prototype.constructor = TextResponseWSMessage;
// Export
scope.TextResponseWSMessage = TextResponseWSMessage;
})(MyScript);