Class DataChannelCallFeature


  • public final class DataChannelCallFeature
    extends CallFeature
    A call feature to use data channel
    • 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.