22560e464afd81bd35e3a51ec907c0878c091acf1c75b864bc29724c66690367.json 3.3 KB

1
  1. {"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.TranslationSynthesisEventArgs = void 0;\nconst Exports_js_1 = require(\"./Exports.js\");\n/**\n * Translation Synthesis event arguments\n * @class TranslationSynthesisEventArgs\n */\nclass TranslationSynthesisEventArgs extends Exports_js_1.SessionEventArgs {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {TranslationSynthesisResult} result - The translation synthesis result.\n * @param {string} sessionId - The session id.\n */\n constructor(result, sessionId) {\n super(sessionId);\n this.privResult = result;\n }\n /**\n * Specifies the translation synthesis result.\n * @member TranslationSynthesisEventArgs.prototype.result\n * @function\n * @public\n * @returns {TranslationSynthesisResult} Specifies the translation synthesis result.\n */\n get result() {\n return this.privResult;\n }\n}\nexports.TranslationSynthesisEventArgs = TranslationSynthesisEventArgs;","map":{"version":3,"names":["Object","defineProperty","exports","value","TranslationSynthesisEventArgs","Exports_js_1","require","SessionEventArgs","constructor","result","sessionId","privResult"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/TranslationSynthesisEventArgs.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.TranslationSynthesisEventArgs = void 0;\nconst Exports_js_1 = require(\"./Exports.js\");\n/**\n * Translation Synthesis event arguments\n * @class TranslationSynthesisEventArgs\n */\nclass TranslationSynthesisEventArgs extends Exports_js_1.SessionEventArgs {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {TranslationSynthesisResult} result - The translation synthesis result.\n * @param {string} sessionId - The session id.\n */\n constructor(result, sessionId) {\n super(sessionId);\n this.privResult = result;\n }\n /**\n * Specifies the translation synthesis result.\n * @member TranslationSynthesisEventArgs.prototype.result\n * @function\n * @public\n * @returns {TranslationSynthesisResult} Specifies the translation synthesis result.\n */\n get result() {\n return this.privResult;\n }\n}\nexports.TranslationSynthesisEventArgs = TranslationSynthesisEventArgs;\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,6BAA6B,GAAG,KAAK,CAAC;AAC9C,MAAMC,YAAY,GAAGC,OAAO,CAAC,cAAc,CAAC;AAC5C;AACA;AACA;AACA;AACA,MAAMF,6BAA6B,SAASC,YAAY,CAACE,gBAAgB,CAAC;EACtE;AACJ;AACA;AACA;AACA;AACA;EACIC,WAAWA,CAACC,MAAM,EAAEC,SAAS,EAAE;IAC3B,KAAK,CAACA,SAAS,CAAC;IAChB,IAAI,CAACC,UAAU,GAAGF,MAAM;EAC5B;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;EACI,IAAIA,MAAMA,CAAA,EAAG;IACT,OAAO,IAAI,CAACE,UAAU;EAC1B;AACJ;AACAT,OAAO,CAACE,6BAA6B,GAAGA,6BAA6B","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]}