UNPKG

microsoft-cognitiveservices-speech-sdk

Version:
25 lines (24 loc) 735 B
import { PullAudioOutputStream } from "./Audio/AudioOutputStream.js"; /** * Defines contents of received message/events. * @class ActivityReceivedEventArgs */ export declare class ActivityReceivedEventArgs { private privActivity; private privAudioStream; /** * Creates and initializes an instance of this class. * @constructor * @param {any} activity - The activity.. */ constructor(activity: any, audioStream?: PullAudioOutputStream); /** * Gets the received activity * @member ActivityReceivedEventArgs.prototype.activity * @function * @public * @returns {any} the received activity. */ get activity(): any; get audioStream(): PullAudioOutputStream; }