UNPKG

@hahnpro/ms-speech-sdk

Version:
1 lines 1.13 kB
{"version":3,"sources":["src/sdk/CancellationEventArgs.ts"],"names":[],"mappings":"AAGA,OAAO,EACH,qBAAqB,EACrB,kBAAkB,EACrB,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,qBAAqB;IAElC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CAAC;IACpC,QAAQ,CAAC,SAAS,EAAE,qBAAqB,CAAC;IAE1C;;;;;;OAMG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CACjC","file":"CancellationEventArgs.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n\nimport {\n CancellationErrorCode,\n CancellationReason,\n} from \"./Exports.js\";\n\nexport interface CancellationEventArgs {\n\n readonly sessionId: string;\n readonly offset: number;\n readonly reason: CancellationReason;\n readonly errorCode: CancellationErrorCode;\n\n /**\n * In case of an unsuccessful recognition, provides details of the occurred error.\n * @member CancellationEventArgs.prototype.errorDetails\n * @function\n * @public\n * @returns {string} A String that represents the error details.\n */\n readonly errorDetails: string;\n}\n"]}