Class DataChannelSenderOptions
- Object
-
- DataChannelSenderOptions
-
public final class DataChannelSenderOptions extends ObjectDescribes the options used to create a data channel sender
-
-
Constructor Summary
Constructors Constructor Description DataChannelSenderOptions()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinalize()Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.IntegergetBitrateInKbps()Get Data channel bitrate in kbpsIntegergetChannelId()Get Data channel idList<CommunicationIdentifier>getParticipants()Get all the participants for the data channelDataChannelPrioritygetPriority()Data channel priorityDataChannelReliabilitygetReliability()Data channel reliabilityDataChannelSenderOptionssetBitrateInKbps(Integer value)Set Data channel bitrate in kbpsDataChannelSenderOptionssetChannelId(Integer value)Set Data channel idDataChannelSenderOptionssetParticipants(List<CommunicationIdentifier> participants)Set all the participants for the data channelDataChannelSenderOptionssetPriority(DataChannelPriority value)Data channel priorityDataChannelSenderOptionssetReliability(DataChannelReliability value)Data channel reliability
-
-
-
Method Detail
-
finalize
protected void finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.- Overrides:
finalizein classObject
-
getPriority
public DataChannelPriority getPriority()
Data channel priority
-
setPriority
public DataChannelSenderOptions setPriority(DataChannelPriority value)
Data channel priority- Parameters:
value- The new value.
-
getReliability
public DataChannelReliability getReliability()
Data channel reliability
-
setReliability
public DataChannelSenderOptions setReliability(DataChannelReliability value)
Data channel reliability- Parameters:
value- The new value.
-
getChannelId
public Integer getChannelId()
Get Data channel id
-
setChannelId
public DataChannelSenderOptions setChannelId(Integer value)
Set Data channel id
-
getBitrateInKbps
public Integer getBitrateInKbps()
Get Data channel bitrate in kbps
-
setBitrateInKbps
public DataChannelSenderOptions setBitrateInKbps(Integer value)
Set Data channel bitrate in kbps
-
getParticipants
public List<CommunicationIdentifier> getParticipants()
Get all the participants for the data channel
-
setParticipants
public DataChannelSenderOptions setParticipants(List<CommunicationIdentifier> participants)
Set all the participants for the data channel
-
-