@voice-ping/cognitive-services-speech
Version:
VoicePing Cognitive Services Speech SDK for JavaScript forked from Microsoft
94 lines (92 loc) • 2.86 kB
JavaScript
;
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
// Multi-device Conversation is a Preview feature.
Object.defineProperty(exports, "__esModule", { value: true });
var Exports_1 = require("../Exports");
var User = /** @class */ (function () {
function User(userId) {
this.privUserId = userId;
}
Object.defineProperty(User.prototype, "userId", {
get: function () {
return this.privUserId;
},
enumerable: true,
configurable: true
});
return User;
}());
exports.User = User;
// tslint:disable-next-line: max-classes-per-file
var Participant = /** @class */ (function () {
function Participant(id, avatar, displayName, isHost, isMuted, isUsingTts, preferredLanguage) {
this.privId = id;
this.privAvatar = avatar;
this.privDisplayName = displayName;
this.privIsHost = isHost;
this.privIsMuted = isMuted;
this.privIsUsingTts = isUsingTts;
this.privPreferredLanguage = preferredLanguage;
this.privPoperties = new Exports_1.PropertyCollection();
}
Object.defineProperty(Participant.prototype, "avatar", {
get: function () {
return this.privAvatar;
},
enumerable: true,
configurable: true
});
Object.defineProperty(Participant.prototype, "displayName", {
get: function () {
return this.privDisplayName;
},
enumerable: true,
configurable: true
});
Object.defineProperty(Participant.prototype, "id", {
get: function () {
return this.privId;
},
enumerable: true,
configurable: true
});
Object.defineProperty(Participant.prototype, "preferredLanguage", {
get: function () {
return this.privPreferredLanguage;
},
enumerable: true,
configurable: true
});
Object.defineProperty(Participant.prototype, "isHost", {
get: function () {
return this.privIsHost;
},
enumerable: true,
configurable: true
});
Object.defineProperty(Participant.prototype, "isMuted", {
get: function () {
return this.privIsMuted;
},
enumerable: true,
configurable: true
});
Object.defineProperty(Participant.prototype, "isUsingTts", {
get: function () {
return this.privIsUsingTts;
},
enumerable: true,
configurable: true
});
Object.defineProperty(Participant.prototype, "properties", {
get: function () {
return this.privPoperties;
},
enumerable: true,
configurable: true
});
return Participant;
}());
exports.Participant = Participant;
//# sourceMappingURL=IParticipant.js.map