UNPKG

microsoft-cognitiveservices-speech-sdk

Version:
1 lines 1.17 kB
{"version":3,"sources":["src/sdk/SessionEventArgs.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,qBAAa,gBAAgB;IACzB,OAAO,CAAC,aAAa,CAAS;IAE9B;;;;OAIG;gBACgB,SAAS,EAAE,MAAM;IAIpC;;;;;;OAMG;IACH,IAAW,SAAS,IAAI,MAAM,CAE7B;CACJ","file":"SessionEventArgs.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT license.\r\n\r\n/**\r\n * Defines content for session events like SessionStarted/Stopped, SoundStarted/Stopped.\r\n * @class SessionEventArgs\r\n */\r\nexport class SessionEventArgs {\r\n private privSessionId: string;\r\n\r\n /**\r\n * Creates and initializes an instance of this class.\r\n * @constructor\r\n * @param {string} sessionId - The session id.\r\n */\r\n public constructor(sessionId: string) {\r\n this.privSessionId = sessionId;\r\n }\r\n\r\n /**\r\n * Represents the session identifier.\r\n * @member SessionEventArgs.prototype.sessionId\r\n * @function\r\n * @public\r\n * @returns {string} Represents the session identifier.\r\n */\r\n public get sessionId(): string {\r\n return this.privSessionId;\r\n }\r\n}\r\n"]}