UNPKG

@euirim/microsoft-cognitiveservices-speech-sdk

Version:
37 lines (35 loc) 1.15 kB
"use strict"; // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. Object.defineProperty(exports, "__esModule", { value: true }); /** * Defines content for session events like SessionStarted/Stopped, SoundStarted/Stopped. * @class SessionEventArgs */ var SessionEventArgs = /** @class */ (function () { /** * Creates and initializes an instance of this class. * @constructor * @param {string} sessionId - The session id. */ function SessionEventArgs(sessionId) { this.privSessionId = sessionId; } Object.defineProperty(SessionEventArgs.prototype, "sessionId", { /** * Represents the session identifier. * @member SessionEventArgs.prototype.sessionId * @function * @public * @returns {string} Represents the session identifier. */ get: function () { return this.privSessionId; }, enumerable: true, configurable: true }); return SessionEventArgs; }()); exports.SessionEventArgs = SessionEventArgs; //# sourceMappingURL=SessionEventArgs.js.map