1 |
- {"ast":null,"code":"\"use strict\";\n\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ActivityReceivedEventArgs = void 0;\n/**\n * Defines contents of received message/events.\n * @class ActivityReceivedEventArgs\n */\nclass ActivityReceivedEventArgs {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {any} activity - The activity..\n */\n constructor(activity, audioStream) {\n this.privActivity = activity;\n this.privAudioStream = audioStream;\n }\n /**\n * Gets the received activity\n * @member ActivityReceivedEventArgs.prototype.activity\n * @function\n * @public\n * @returns {any} the received activity.\n */\n get activity() {\n return this.privActivity;\n }\n get audioStream() {\n return this.privAudioStream;\n }\n}\nexports.ActivityReceivedEventArgs = ActivityReceivedEventArgs;","map":{"version":3,"names":["Object","defineProperty","exports","value","ActivityReceivedEventArgs","constructor","activity","audioStream","privActivity","privAudioStream"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/ActivityReceivedEventArgs.js"],"sourcesContent":["\"use strict\";\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ActivityReceivedEventArgs = void 0;\n/**\n * Defines contents of received message/events.\n * @class ActivityReceivedEventArgs\n */\nclass ActivityReceivedEventArgs {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {any} activity - The activity..\n */\n constructor(activity, audioStream) {\n this.privActivity = activity;\n this.privAudioStream = audioStream;\n }\n /**\n * Gets the received activity\n * @member ActivityReceivedEventArgs.prototype.activity\n * @function\n * @public\n * @returns {any} the received activity.\n */\n get activity() {\n return this.privActivity;\n }\n get audioStream() {\n return this.privAudioStream;\n }\n}\nexports.ActivityReceivedEventArgs = ActivityReceivedEventArgs;\n\n"],"mappings":"AAAA,YAAY;;AACZ;AACA;AACAA,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7DD,OAAO,CAACE,yBAAyB,GAAG,KAAK,CAAC;AAC1C;AACA;AACA;AACA;AACA,MAAMA,yBAAyB,CAAC;EAC5B;AACJ;AACA;AACA;AACA;EACIC,WAAWA,CAACC,QAAQ,EAAEC,WAAW,EAAE;IAC/B,IAAI,CAACC,YAAY,GAAGF,QAAQ;IAC5B,IAAI,CAACG,eAAe,GAAGF,WAAW;EACtC;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;EACI,IAAID,QAAQA,CAAA,EAAG;IACX,OAAO,IAAI,CAACE,YAAY;EAC5B;EACA,IAAID,WAAWA,CAAA,EAAG;IACd,OAAO,IAAI,CAACE,eAAe;EAC/B;AACJ;AACAP,OAAO,CAACE,yBAAyB,GAAGA,yBAAyB","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]}
|