@euirim/microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
1 lines • 1.53 kB
Source Map (JSON)
{"version":3,"sources":["src/sdk/TranslationSynthesisEventArgs.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAEzE;;;GAGG;AACH,qBAAa,6BAA8B,SAAQ,gBAAgB;IAC/D,OAAO,CAAC,UAAU,CAA6B;IAE/C;;;;;OAKG;gBACgB,MAAM,EAAE,0BAA0B,EAAE,SAAS,CAAC,EAAE,MAAM;IAMzE;;;;;;OAMG;aACQ,MAAM,EAAI,0BAA0B;CAGlD","file":"TranslationSynthesisEventArgs.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n\nimport { SessionEventArgs, TranslationSynthesisResult } from \"./Exports\";\n\n/**\n * Translation Synthesis event arguments\n * @class TranslationSynthesisEventArgs\n */\nexport class TranslationSynthesisEventArgs extends SessionEventArgs {\n private privResult: TranslationSynthesisResult;\n\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 public constructor(result: TranslationSynthesisResult, sessionId?: string) {\n super(sessionId);\n\n this.privResult = result;\n }\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 public get result(): TranslationSynthesisResult {\n return this.privResult;\n }\n}\n"]}