microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
37 lines (35 loc) • 1.18 kB
JavaScript
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
exports.IntentRecognitionEventArgs = void 0;
const Exports_js_1 = require("./Exports.js");
/**
* Intent recognition result event arguments.
* @class
*/
class IntentRecognitionEventArgs extends Exports_js_1.RecognitionEventArgs {
/**
* Creates and initializes an instance of this class.
* @constructor
* @param result - The result of the intent recognition.
* @param offset - The offset.
* @param sessionId - The session id.
*/
constructor(result, offset, sessionId) {
super(offset, sessionId);
this.privResult = result;
}
/**
* Represents the intent recognition result.
* @member IntentRecognitionEventArgs.prototype.result
* @function
* @public
* @returns {IntentRecognitionResult} Represents the intent recognition result.
*/
get result() {
return this.privResult;
}
}
exports.IntentRecognitionEventArgs = IntentRecognitionEventArgs;
//# sourceMappingURL=IntentRecognitionEventArgs.js.map
;