UNPKG

microsoft-cognitiveservices-speech-sdk

Version:
34 lines (32 loc) 983 B
"use strict"; // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. Object.defineProperty(exports, "__esModule", { value: true }); exports.SpeechSynthesisEventArgs = void 0; /** * Defines contents of speech synthesis events. * @class SpeechSynthesisEventArgs * Added in version 1.11.0 */ class SpeechSynthesisEventArgs { /** * Creates and initializes an instance of this class. * @constructor * @param {SpeechSynthesisResult} result - The speech synthesis result. */ constructor(result) { this.privResult = result; } /** * Specifies the synthesis result. * @member SpeechSynthesisEventArgs.prototype.result * @function * @public * @returns {SpeechSynthesisResult} the synthesis result. */ get result() { return this.privResult; } } exports.SpeechSynthesisEventArgs = SpeechSynthesisEventArgs; //# sourceMappingURL=SpeechSynthesisEventArgs.js.map