UNPKG

microsoft-cognitiveservices-speech-sdk

Version:
1 lines 804 B
{"version":3,"sources":["src/sdk/CancellationReason.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,oBAAY,kBAAkB;IAC1B;;;OAGG;IACH,KAAK,IAAA;IAEL;;;OAGG;IACH,WAAW,IAAA;CACd","file":"CancellationReason.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT license.\r\n\r\n/**\r\n * Defines the possible reasons a recognition result might be canceled.\r\n * @class CancellationReason\r\n */\r\nexport enum CancellationReason {\r\n /**\r\n * Indicates that an error occurred during speech recognition.\r\n * @member CancellationReason.Error\r\n */\r\n Error,\r\n\r\n /**\r\n * Indicates that the end of the audio stream was reached.\r\n * @member CancellationReason.EndOfStream\r\n */\r\n EndOfStream,\r\n}\r\n"]}