{"ast":null,"code":"\"use strict\";\n\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TranslationRecognitionEventArgs = void 0;\nconst Exports_js_1 = require(\"./Exports.js\");\n/**\n * Translation text result event arguments.\n * @class TranslationRecognitionEventArgs\n */\nclass TranslationRecognitionEventArgs extends Exports_js_1.RecognitionEventArgs {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {TranslationRecognitionResult} result - The translation recognition result.\n * @param {number} offset - The offset.\n * @param {string} sessionId - The session id.\n */\n constructor(result, offset, sessionId) {\n super(offset, sessionId);\n this.privResult = result;\n }\n /**\n * Specifies the recognition result.\n * @member TranslationRecognitionEventArgs.prototype.result\n * @function\n * @public\n * @returns {TranslationRecognitionResult} the recognition result.\n */\n get result() {\n return this.privResult;\n }\n}\nexports.TranslationRecognitionEventArgs = TranslationRecognitionEventArgs;","map":{"version":3,"names":["Object","defineProperty","exports","value","TranslationRecognitionEventArgs","Exports_js_1","require","RecognitionEventArgs","constructor","result","offset","sessionId","privResult"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/TranslationRecognitionEventArgs.js"],"sourcesContent":["\"use strict\";\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TranslationRecognitionEventArgs = void 0;\nconst Exports_js_1 = require(\"./Exports.js\");\n/**\n * Translation text result event arguments.\n * @class TranslationRecognitionEventArgs\n */\nclass TranslationRecognitionEventArgs extends Exports_js_1.RecognitionEventArgs {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {TranslationRecognitionResult} result - The translation recognition result.\n * @param {number} offset - The offset.\n * @param {string} sessionId - The session id.\n */\n constructor(result, offset, sessionId) {\n super(offset, sessionId);\n this.privResult = result;\n }\n /**\n * Specifies the recognition result.\n * @member TranslationRecognitionEventArgs.prototype.result\n * @function\n * @public\n * @returns {TranslationRecognitionResult} the recognition result.\n */\n get result() {\n return this.privResult;\n }\n}\nexports.TranslationRecognitionEventArgs = TranslationRecognitionEventArgs;\n\n"],"mappings":"AAAA,YAAY;;AACZ;AACA;AACAA,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7DD,OAAO,CAACE,+BAA+B,GAAG,KAAK,CAAC;AAChD,MAAMC,YAAY,GAAGC,OAAO,CAAC,cAAc,CAAC;AAC5C;AACA;AACA;AACA;AACA,MAAMF,+BAA+B,SAASC,YAAY,CAACE,oBAAoB,CAAC;EAC5E;AACJ;AACA;AACA;AACA;AACA;AACA;EACIC,WAAWA,CAACC,MAAM,EAAEC,MAAM,EAAEC,SAAS,EAAE;IACnC,KAAK,CAACD,MAAM,EAAEC,SAAS,CAAC;IACxB,IAAI,CAACC,UAAU,GAAGH,MAAM;EAC5B;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;EACI,IAAIA,MAAMA,CAAA,EAAG;IACT,OAAO,IAAI,CAACG,UAAU;EAC1B;AACJ;AACAV,OAAO,CAACE,+BAA+B,GAAGA,+BAA+B","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]}