microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
1 lines • 838 B
Source Map (JSON)
{"version":3,"sources":["src/common.speech/ServiceMessages/PhraseDetection/OnSuccess.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,oBAAY,UAAU;IAClB,IAAI,SAAS;IACb,SAAS,cAAc;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;CACvB","file":"OnSuccess.d.ts","sourcesContent":["//\r\n// Copyright (c) Microsoft. All rights reserved.\r\n// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.\r\n//\r\n\r\n/**\r\n * The action enum when speech recognition return a final phrase result\r\n */\r\nexport enum NextAction {\r\n None = \"None\",\r\n Translate = \"Translate\"\r\n}\r\n\r\n/**\r\n * The on success configuration\r\n */\r\nexport interface OnSuccess {\r\n /**\r\n * The action to take on success\r\n */\r\n action?: NextAction;\r\n}\r\n"]}