public class RespokeDirectConnection
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
RespokeDirectConnection.Listener
A listener interface to notify the receiver of events occurring with the direct connection
|
Constructor and Description |
---|
RespokeDirectConnection(RespokeCall call) |
Modifier and Type | Method and Description |
---|---|
void |
accept() |
void |
createDataChannel() |
RespokeCall |
getCall() |
boolean |
isActive() |
void |
onMessage(org.webrtc.DataChannel.Buffer buffer) |
void |
onStateChange() |
void |
peerConnectionDidOpenDataChannel(DataChannel newDataChannel) |
void |
sendMessage(java.lang.String message,
Respoke.TaskCompletionListener completionListener) |
void |
setListener(RespokeDirectConnection.Listener listener) |
public RespokeDirectConnection(RespokeCall call)
public void setListener(RespokeDirectConnection.Listener listener)
public void accept()
public boolean isActive()
public RespokeCall getCall()
public void sendMessage(java.lang.String message, Respoke.TaskCompletionListener completionListener)
public void createDataChannel()
public void peerConnectionDidOpenDataChannel(DataChannel newDataChannel)
public void onStateChange()
public void onMessage(org.webrtc.DataChannel.Buffer buffer)