UNPKG

@voice-ping/cognitive-services-speech

Version:

VoicePing Cognitive Services Speech SDK for JavaScript forked from Microsoft

1 lines 1.79 kB
{"version":3,"sources":["src/sdk/VoiceProfile.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C;;;GAGG;AACH,qBAAa,YAAY;IACrB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,eAAe,CAAmB;IAE1C;;;;;OAKG;gBACS,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,gBAAgB;IAK5D;;;;;;OAMG;IACH,IAAW,SAAS,IAAI,MAAM,CAE7B;IAED;;;;;;OAMG;IACH,IAAW,WAAW,IAAI,gBAAgB,CAEzC;CAEJ","file":"VoiceProfile.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n\nimport { VoiceProfileType } from \"./Exports\";\n\n/**\n * Defines Voice Profile class for Speaker Recognition\n * @class VoiceProfile\n */\nexport class VoiceProfile {\n private privId: string;\n private privProfileType: VoiceProfileType;\n\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: string, profileType: VoiceProfileType) {\n this.privId = profileId;\n this.privProfileType = profileType;\n }\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 public get profileId(): string {\n return this.privId;\n }\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 public get profileType(): VoiceProfileType {\n return this.privProfileType;\n }\n\n}\n"]}