ChannelAffinity Class
- java.
lang. Object - com.
azure. communication. callautomation. models. ChannelAffinity
- com.
public final class ChannelAffinity
Channel affinity for a participant.
Constructor Summary
| Constructor | Description |
|---|---|
| ChannelAffinity() |
Creates an instance of ChannelAffinity. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
getChannel()
Get the channel property: Channel number to which bitstream from a particular participant will be written. |
|
Communication |
getParticipant()
Get the participant property: The identifier for the participant whose bitstream will be written to the channel represented by the channel number. |
|
Channel |
setChannel(Integer channel)
Set the channel property: Channel number to which bitstream from a particular participant will be written. |
|
Channel |
setParticipant(CommunicationIdentifier participant)
Set the participant property: The identifier for the participant whose bitstream will be written to the channel represented by the channel number. |
Methods inherited from java.lang.Object
Constructor Details
ChannelAffinity
public ChannelAffinity()
Creates an instance of ChannelAffinity.
Method Details
getChannel
public Integer getChannel()
Get the channel property: Channel number to which bitstream from a particular participant will be written.
Returns:
getParticipant
public CommunicationIdentifier getParticipant()
Get the participant property: The identifier for the participant whose bitstream will be written to the channel represented by the channel number.
Returns:
setChannel
public ChannelAffinity setChannel(Integer channel)
Set the channel property: Channel number to which bitstream from a particular participant will be written.
Parameters:
Returns:
setParticipant
public ChannelAffinity setParticipant(CommunicationIdentifier participant)
Set the participant property: The identifier for the participant whose bitstream will be written to the channel represented by the channel number.
Parameters:
Returns: