UNPKG

@voice-ping/cognitive-services-speech

Version:

VoicePing Cognitive Services Speech SDK for JavaScript forked from Microsoft

1 lines 1.31 kB
{"version":3,"sources":["src/sdk/SpeechSynthesisEventArgs.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAElD;;;;GAIG;AACH,qBAAa,wBAAwB;IACjC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAwB;IAEnD;;;;OAIG;gBACgB,MAAM,EAAE,qBAAqB;IAIhD;;;;;;OAMG;IACH,IAAW,MAAM,IAAI,qBAAqB,CAEzC;CACJ","file":"SpeechSynthesisEventArgs.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n\nimport { SpeechSynthesisResult } from \"./Exports\";\n\n/**\n * Defines contents of speech synthesis events.\n * @class SpeechSynthesisEventArgs\n * Added in version 1.11.0\n */\nexport class SpeechSynthesisEventArgs {\n private readonly privResult: SpeechSynthesisResult;\n\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {SpeechSynthesisResult} result - The speech synthesis result.\n */\n public constructor(result: SpeechSynthesisResult) {\n this.privResult = result;\n }\n\n /**\n * Specifies the synthesis result.\n * @member SpeechSynthesisEventArgs.prototype.result\n * @function\n * @public\n * @returns {SpeechSynthesisResult} the synthesis result.\n */\n public get result(): SpeechSynthesisResult {\n return this.privResult;\n }\n}\n"]}