microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
28 lines (26 loc) • 892 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.
//
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConnectionMessageEventArgs = void 0;
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();
}
}
exports.ConnectionMessageEventArgs = ConnectionMessageEventArgs;
//# sourceMappingURL=ConnectionMessageEventArgs.js.map
;