Session
Nested classes
Classes |
SessionBuilder - Creates an instance of the Session |
Fields
Access and type | Field name |
---|---|
private final SessionListener |
|
private SessionReconnectListener |
|
private SessionConnectionListener |
|
private String |
|
private AudioManager |
|
Public Constructor Summary
Type | Methods | Parameters |
SessionBuilder | Session(final SessionListener listener) |
|
SessionBuilder | setReconnectListener(final SessionReconnectListener listener) |
|
SessionBuilder | setConnectionListener(final SessionConnectinListener listener) |
|
Session | build(final Context context) |
|
Public Method Summary
Type | Methods | Parameters |
void | startCameraPreview() - creates local Media stream, which can be added on UI before Session ic connected. | |
void | connect(String token ) - This method will allow connecting to the Session |
|
void | connect(String token, ParticipantType participantType) - This method will allow connecting to the Session with participant’s type |
|
void | disconnect() Disconnects from the Session | |
void | switchCamera() - The method switches camera capturer for local stream from front camera to back | |
void | sendMessage(String message) - The method sends messages to the Session all participants in the room |
|
Last updated