@voice-ping/cognitive-services-speech
Version:
VoicePing Cognitive Services Speech SDK for JavaScript forked from Microsoft
24 lines (22 loc) • 712 B
JavaScript
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//
export class ConnectionMessageEventArgs {
constructor(message) {
this.privConnectionMessage = message;
}
/**
* Gets the <see cref="ConnectionMessage"/> associated with this <see cref="ConnectionMessageEventArgs"/>.
*/
get message() {
return this.privConnectionMessage;
}
/**
* Returns a string that represents the connection message event.
*/
toString() {
return "Message: " + this.privConnectionMessage.toString();
}
}
//# sourceMappingURL=ConnectionMessageEventArgs.js.map