openvidu backend clients OpenViduRole JavaDoc updated (MODERATOR)

pull/88/merge
pabloFuente 2018-07-09 17:21:11 +02:00
parent 7f41f0ccad
commit 844e7f2999
2 changed files with 8 additions and 8 deletions

View File

@ -20,19 +20,18 @@ package io.openvidu.java.client;
public enum OpenViduRole { public enum OpenViduRole {
/** /**
* Can subscribe to published streams of other users * Can subscribe to published Streams of other users
*/ */
SUBSCRIBER, SUBSCRIBER,
/** /**
* SUBSCRIBER permissions + can publish their own streams * SUBSCRIBER permissions + can publish their own Streams (call <code>Session.publish()</code>)
*/ */
PUBLISHER, PUBLISHER,
/** /**
* <i>(not available yet)</i> SUBSCRIBER and PUBLIHSER permissions + can force * SUBSCRIBER + PUBLISHER permissions + can force the unpublishing or disconnection over a third-party Stream or Connection
* <code>unpublish()</code> and <code>disconnect()</code> over a third-party * (call <code>Session.forceUnpublish()</code> and <code>Session.forceDisconnect()</code>)
* stream or user
*/ */
MODERATOR; MODERATOR;
} }

View File

@ -18,17 +18,18 @@
export enum OpenViduRole { export enum OpenViduRole {
/** /**
* Can subscribe to published streams of other users * Can subscribe to published Streams of other users
*/ */
SUBSCRIBER = 'SUBSCRIBER', SUBSCRIBER = 'SUBSCRIBER',
/** /**
* SUBSCRIBER permissions + can publish their own streams * SUBSCRIBER permissions + can publish their own Streams (call `Session.publish()`)
*/ */
PUBLISHER = 'PUBLISHER', PUBLISHER = 'PUBLISHER',
/** /**
* _(not available yet)_ SUBSCRIBER + PUBLIHSER permissions + can force `unpublish()` and `disconnect()` over a third-party stream or user * SUBSCRIBER + PUBLISHER permissions + can force the unpublishing or disconnection over a third-party Stream or Connection
* (call `Session.forceUnpublish()` and `Session.forceDisconnect()`)
*/ */
MODERATOR = 'MODERATOR' MODERATOR = 'MODERATOR'
} }