microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
25 lines (23 loc) • 908 B
JavaScript
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
exports.CancellationReason = void 0;
/**
* Defines the possible reasons a recognition result might be canceled.
* @class CancellationReason
*/
var CancellationReason;
(function (CancellationReason) {
/**
* Indicates that an error occurred during speech recognition.
* @member CancellationReason.Error
*/
CancellationReason[CancellationReason["Error"] = 0] = "Error";
/**
* Indicates that the end of the audio stream was reached.
* @member CancellationReason.EndOfStream
*/
CancellationReason[CancellationReason["EndOfStream"] = 1] = "EndOfStream";
})(CancellationReason = exports.CancellationReason || (exports.CancellationReason = {}));
//# sourceMappingURL=CancellationReason.js.map
;