UNPKG

microsoft-cognitiveservices-speech-sdk

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