UNPKG

microsoft-cognitiveservices-speech-sdk

Version:
27 lines (25 loc) 684 B
"use strict"; // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. Object.defineProperty(exports, "__esModule", { value: true }); exports.AgentConfig = void 0; /** * Represents the JSON used in the agent.config message sent to the speech service. */ class AgentConfig { toJsonString() { return JSON.stringify(this.iPrivConfig); } get() { return this.iPrivConfig; } /** * Setter for the agent.config object. * @param value a JSON serializable object. */ set(value) { this.iPrivConfig = value; } } exports.AgentConfig = AgentConfig; //# sourceMappingURL=AgentConfig.js.map