@euirim/microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
1 lines • 1.54 kB
Source Map (JSON)
{"version":3,"sources":["src/sdk/IntentRecognitionEventArgs.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAE1E;;;GAGG;AACH,qBAAa,0BAA2B,SAAQ,oBAAoB;IAChE,OAAO,CAAC,UAAU,CAA0B;IAE5C;;;;;;OAMG;gBACgB,MAAM,EAAE,uBAAuB,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM;IAMvF;;;;;;OAMG;aACQ,MAAM,EAAI,uBAAuB;CAG/C","file":"IntentRecognitionEventArgs.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n\nimport { IntentRecognitionResult, RecognitionEventArgs } from \"./Exports\";\n\n/**\n * Intent recognition result event arguments.\n * @class\n */\nexport class IntentRecognitionEventArgs extends RecognitionEventArgs {\n private privResult: IntentRecognitionResult;\n\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param result - The result of the intent recognition.\n * @param offset - The offset.\n * @param sessionId - The session id.\n */\n public constructor(result: IntentRecognitionResult, offset?: number, sessionId?: string) {\n super(offset, sessionId);\n\n this.privResult = result;\n }\n\n /**\n * Represents the intent recognition result.\n * @member IntentRecognitionEventArgs.prototype.result\n * @function\n * @public\n * @returns {IntentRecognitionResult} Represents the intent recognition result.\n */\n public get result(): IntentRecognitionResult {\n return this.privResult;\n }\n}\n"]}