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.VoiceProfile = void 0;\n/**\n * Defines Voice Profile class for Speaker Recognition\n * @class VoiceProfile\n */\nclass VoiceProfile {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {string} profileId - profileId of this Voice Profile.\n * @param {VoiceProfileType} profileType - profileType of this Voice Profile.\n */\n constructor(profileId, profileType) {\n this.privId = profileId;\n this.privProfileType = profileType;\n }\n /**\n * profileId of this Voice Profile instance\n * @member VoiceProfile.prototype.profileId\n * @function\n * @public\n * @returns {string} profileId of this Voice Profile instance.\n */\n get profileId() {\n return this.privId;\n }\n /**\n * profileType of this Voice Profile instance\n * @member VoiceProfile.prototype.profileType\n * @function\n * @public\n * @returns {VoiceProfileType} profile type of this Voice Profile instance.\n */\n get profileType() {\n return this.privProfileType;\n }\n}\nexports.VoiceProfile = VoiceProfile;","map":{"version":3,"names":["Object","defineProperty","exports","value","VoiceProfile","constructor","profileId","profileType","privId","privProfileType"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/VoiceProfile.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.VoiceProfile = void 0;\n/**\n * Defines Voice Profile class for Speaker Recognition\n * @class VoiceProfile\n */\nclass VoiceProfile {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {string} profileId - profileId of this Voice Profile.\n * @param {VoiceProfileType} profileType - profileType of this Voice Profile.\n */\n constructor(profileId, profileType) {\n this.privId = profileId;\n this.privProfileType = profileType;\n }\n /**\n * profileId of this Voice Profile instance\n * @member VoiceProfile.prototype.profileId\n * @function\n * @public\n * @returns {string} profileId of this Voice Profile instance.\n */\n get profileId() {\n return this.privId;\n }\n /**\n * profileType of this Voice Profile instance\n * @member VoiceProfile.prototype.profileType\n * @function\n * @public\n * @returns {VoiceProfileType} profile type of this Voice Profile instance.\n */\n get profileType() {\n return this.privProfileType;\n }\n}\nexports.VoiceProfile = VoiceProfile;\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,YAAY,GAAG,KAAK,CAAC;AAC7B;AACA;AACA;AACA;AACA,MAAMA,YAAY,CAAC;EACf;AACJ;AACA;AACA;AACA;AACA;EACIC,WAAWA,CAACC,SAAS,EAAEC,WAAW,EAAE;IAChC,IAAI,CAACC,MAAM,GAAGF,SAAS;IACvB,IAAI,CAACG,eAAe,GAAGF,WAAW;EACtC;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;EACI,IAAID,SAASA,CAAA,EAAG;IACZ,OAAO,IAAI,CAACE,MAAM;EACtB;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;EACI,IAAID,WAAWA,CAAA,EAAG;IACd,OAAO,IAAI,CAACE,eAAe;EAC/B;AACJ;AACAP,OAAO,CAACE,YAAY,GAAGA,YAAY","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]}
|