UNPKG

microsoft-cognitiveservices-speech-sdk

Version:
37 lines (35 loc) 1.05 kB
"use strict"; // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. Object.defineProperty(exports, "__esModule", { value: true }); exports.ActivityReceivedEventArgs = void 0; /** * Defines contents of received message/events. * @class ActivityReceivedEventArgs */ class ActivityReceivedEventArgs { /** * Creates and initializes an instance of this class. * @constructor * @param {any} activity - The activity.. */ constructor(activity, audioStream) { this.privActivity = activity; this.privAudioStream = audioStream; } /** * Gets the received activity * @member ActivityReceivedEventArgs.prototype.activity * @function * @public * @returns {any} the received activity. */ get activity() { return this.privActivity; } get audioStream() { return this.privAudioStream; } } exports.ActivityReceivedEventArgs = ActivityReceivedEventArgs; //# sourceMappingURL=ActivityReceivedEventArgs.js.map