1 |
- {"ast":null,"code":"\"use strict\";\n\n//\n// Copyright (c) Microsoft. All rights reserved.\n// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.\n//\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ServiceEventArgs = void 0;\nconst Exports_js_1 = require(\"./Exports.js\");\n/**\n * Defines payload for any Service message event\n * Added in version 1.9.0\n */\nclass ServiceEventArgs extends Exports_js_1.SessionEventArgs {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {string} json - json payload of the USP message.\n */\n constructor(json, name, sessionId) {\n super(sessionId);\n this.privJsonResult = json;\n this.privEventName = name;\n }\n get jsonString() {\n return this.privJsonResult;\n }\n get eventName() {\n return this.privEventName;\n }\n}\nexports.ServiceEventArgs = ServiceEventArgs;","map":{"version":3,"names":["Object","defineProperty","exports","value","ServiceEventArgs","Exports_js_1","require","SessionEventArgs","constructor","json","name","sessionId","privJsonResult","privEventName","jsonString","eventName"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/ServiceEventArgs.js"],"sourcesContent":["\"use strict\";\n//\n// Copyright (c) Microsoft. All rights reserved.\n// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.\n//\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServiceEventArgs = void 0;\nconst Exports_js_1 = require(\"./Exports.js\");\n/**\n * Defines payload for any Service message event\n * Added in version 1.9.0\n */\nclass ServiceEventArgs extends Exports_js_1.SessionEventArgs {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {string} json - json payload of the USP message.\n */\n constructor(json, name, sessionId) {\n super(sessionId);\n this.privJsonResult = json;\n this.privEventName = name;\n }\n get jsonString() {\n return this.privJsonResult;\n }\n get eventName() {\n return this.privEventName;\n }\n}\nexports.ServiceEventArgs = ServiceEventArgs;\n\n"],"mappings":"AAAA,YAAY;;AACZ;AACA;AACA;AACA;AACAA,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7DD,OAAO,CAACE,gBAAgB,GAAG,KAAK,CAAC;AACjC,MAAMC,YAAY,GAAGC,OAAO,CAAC,cAAc,CAAC;AAC5C;AACA;AACA;AACA;AACA,MAAMF,gBAAgB,SAASC,YAAY,CAACE,gBAAgB,CAAC;EACzD;AACJ;AACA;AACA;AACA;EACIC,WAAWA,CAACC,IAAI,EAAEC,IAAI,EAAEC,SAAS,EAAE;IAC/B,KAAK,CAACA,SAAS,CAAC;IAChB,IAAI,CAACC,cAAc,GAAGH,IAAI;IAC1B,IAAI,CAACI,aAAa,GAAGH,IAAI;EAC7B;EACA,IAAII,UAAUA,CAAA,EAAG;IACb,OAAO,IAAI,CAACF,cAAc;EAC9B;EACA,IAAIG,SAASA,CAAA,EAAG;IACZ,OAAO,IAAI,CAACF,aAAa;EAC7B;AACJ;AACAX,OAAO,CAACE,gBAAgB,GAAGA,gBAAgB","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]}
|