Class DataChannelCallFeature
- Object
-
- CallFeature
-
- DataChannelCallFeature
-
public final class DataChannelCallFeature extends CallFeature
A call feature to use data channel
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOnReceiverCreatedListener(DataChannelReceiverCreatedListener listener)
Adds the specified listener to receive OnReceiverCreated events.DataChannelSender
getDataChannelSender(DataChannelSenderOptions options)
Creates a new data channel sender with user-specified optionsvoid
removeOnReceiverCreatedListener(DataChannelReceiverCreatedListener listener)
Removes the specified listener to receive OnReceiverCreated events.-
Methods inherited from class CallFeature
finalize, getName
-
-
-
-
Method Detail
-
addOnReceiverCreatedListener
public void addOnReceiverCreatedListener(DataChannelReceiverCreatedListener listener)
Adds the specified listener to receive OnReceiverCreated events. Occurs when a data channel is opened
-
removeOnReceiverCreatedListener
public void removeOnReceiverCreatedListener(DataChannelReceiverCreatedListener listener)
Removes the specified listener to receive OnReceiverCreated events. Occurs when a data channel is opened
-
getDataChannelSender
public DataChannelSender getDataChannelSender(DataChannelSenderOptions options)
Creates a new data channel sender with user-specified options- Parameters:
options
- The object that specifies the options used to create a data channel.
-
-