Session.Capabilities
Copy
public static class Capabilities
Enclosing class: Session
Defines the value returned by the Session#getCapabilities() method.
After you have connected to a session and the
Session.SessionListener#onConnected(Session session) method has been called,
this property identifies whether the client can publish streams, subscribe to streams,
and use the methods to
mute the audio of streams in a session, based on the role assigned to the token used to connect to
the session.
For example,
if you connect to a session using a token that is assigned a Subscriber role, the
canPublish property of this object is set to false (and the client
does not have privileges to publish to the session). For more information, see the OpenTok
token documentation.
Properties
Methods
| Name | Description |
|---|---|
Capabilities() |
|
toString() → {String} |
Capabilities()
toString() → {String}
Returns:
String