UNPKG

@voice-ping/cognitive-services-speech

Version:

VoicePing Cognitive Services Speech SDK for JavaScript forked from Microsoft

52 lines (50 loc) 1.38 kB
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // Multi-device Conversation is a Preview feature. import { PropertyCollection } from "../Exports"; export class User { constructor(userId) { this.privUserId = userId; } get userId() { return this.privUserId; } } // tslint:disable-next-line: max-classes-per-file export class Participant { constructor(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 PropertyCollection(); } get avatar() { return this.privAvatar; } get displayName() { return this.privDisplayName; } get id() { return this.privId; } get preferredLanguage() { return this.privPreferredLanguage; } get isHost() { return this.privIsHost; } get isMuted() { return this.privIsMuted; } get isUsingTts() { return this.privIsUsingTts; } get properties() { return this.privPoperties; } } //# sourceMappingURL=IParticipant.js.map