public Connection(string connectionId, long createdAt, OpenViduRole role, string token, string location, string platform, string serverData, string clientData, Dictionary <string, Publisher> publishers, List <string> subscribers) { this.ConnectionId = connectionId; this.CreatedAt = createdAt; this.Role = role; this.Token = token; this.Location = location; this.Platform = platform; this.ServerData = serverData; this.ClientData = clientData; this.Publishers = new List <Publisher>(publishers.Values); this.Subscribers = subscribers; }
/** * Call this method to set the role assigned to this token */ public TokenOptionsBuilder role(OpenViduRole role) { this._role = role; return(this); }
public TokenOptions(string data, OpenViduRole role, KurentoOptions kurentoOptions) { this._data = data; this._role = role; this._kurentoOptions = kurentoOptions; }