3ebd32e745fe8c4a3519b327d85dd972ea306c73a9859ff82897f652038f81bc.json 3.6 KB

1
  1. {"ast":null,"code":"\"use strict\";\n\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SpeechSynthesisBookmarkEventArgs = void 0;\n/**\n * Defines contents of speech synthesis bookmark event.\n * @class SpeechSynthesisBookmarkEventArgs\n * Added in version 1.16.0\n */\nclass SpeechSynthesisBookmarkEventArgs {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {number} audioOffset - The audio offset.\n * @param {string} text - The bookmark text.\n */\n constructor(audioOffset, text) {\n this.privAudioOffset = audioOffset;\n this.privText = text;\n }\n /**\n * Specifies the audio offset.\n * @member SpeechSynthesisBookmarkEventArgs.prototype.audioOffset\n * @function\n * @public\n * @returns {number} the audio offset.\n */\n get audioOffset() {\n return this.privAudioOffset;\n }\n /**\n * Specifies the bookmark.\n * @member SpeechSynthesisBookmarkEventArgs.prototype.text\n * @function\n * @public\n * @returns {string} the bookmark text.\n */\n get text() {\n return this.privText;\n }\n}\nexports.SpeechSynthesisBookmarkEventArgs = SpeechSynthesisBookmarkEventArgs;","map":{"version":3,"names":["Object","defineProperty","exports","value","SpeechSynthesisBookmarkEventArgs","constructor","audioOffset","text","privAudioOffset","privText"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/SpeechSynthesisBookmarkEventArgs.js"],"sourcesContent":["\"use strict\";\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SpeechSynthesisBookmarkEventArgs = void 0;\n/**\n * Defines contents of speech synthesis bookmark event.\n * @class SpeechSynthesisBookmarkEventArgs\n * Added in version 1.16.0\n */\nclass SpeechSynthesisBookmarkEventArgs {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {number} audioOffset - The audio offset.\n * @param {string} text - The bookmark text.\n */\n constructor(audioOffset, text) {\n this.privAudioOffset = audioOffset;\n this.privText = text;\n }\n /**\n * Specifies the audio offset.\n * @member SpeechSynthesisBookmarkEventArgs.prototype.audioOffset\n * @function\n * @public\n * @returns {number} the audio offset.\n */\n get audioOffset() {\n return this.privAudioOffset;\n }\n /**\n * Specifies the bookmark.\n * @member SpeechSynthesisBookmarkEventArgs.prototype.text\n * @function\n * @public\n * @returns {string} the bookmark text.\n */\n get text() {\n return this.privText;\n }\n}\nexports.SpeechSynthesisBookmarkEventArgs = SpeechSynthesisBookmarkEventArgs;\n\n"],"mappings":"AAAA,YAAY;;AACZ;AACA;AACAA,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7DD,OAAO,CAACE,gCAAgC,GAAG,KAAK,CAAC;AACjD;AACA;AACA;AACA;AACA;AACA,MAAMA,gCAAgC,CAAC;EACnC;AACJ;AACA;AACA;AACA;AACA;EACIC,WAAWA,CAACC,WAAW,EAAEC,IAAI,EAAE;IAC3B,IAAI,CAACC,eAAe,GAAGF,WAAW;IAClC,IAAI,CAACG,QAAQ,GAAGF,IAAI;EACxB;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;EACI,IAAID,WAAWA,CAAA,EAAG;IACd,OAAO,IAAI,CAACE,eAAe;EAC/B;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;EACI,IAAID,IAAIA,CAAA,EAAG;IACP,OAAO,IAAI,CAACE,QAAQ;EACxB;AACJ;AACAP,OAAO,CAACE,gCAAgC,GAAGA,gCAAgC","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]}