UNPKG

microsoft-cognitiveservices-speech-sdk

Version:
31 lines (29 loc) 1.13 kB
"use strict"; // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // Multi-device Conversation is a Preview feature. Object.defineProperty(exports, "__esModule", { value: true }); exports.ConversationTranslationEventArgs = void 0; const Exports_js_1 = require("../Exports.js"); class ConversationTranslationEventArgs extends Exports_js_1.RecognitionEventArgs { /** * Creates and initializes an instance of this class. * @constructor * @param {ConversationTranslationResult} result - The translation recognition result. * @param {number} offset - The offset. * @param {string} sessionId - The session id. */ constructor(result, offset, sessionId) { super(offset, sessionId); this.privResult = result; } /** * Specifies the recognition result. * @returns {ConversationTranslationResult} the recognition result. */ get result() { return this.privResult; } } exports.ConversationTranslationEventArgs = ConversationTranslationEventArgs; //# sourceMappingURL=ConversationTranslationEventArgs.js.map