Class ChannelAffinity
java.lang.Object
com.azure.communication.callautomation.models.ChannelAffinity
Channel affinity for a participant.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the channel property: Channel number to which bitstream from a particular participant will be written.Get the participant property: The identifier for the participant whose bitstream will be written to the channel represented by the channel number.setChannel(Integer channel) Set the channel property: Channel number to which bitstream from a particular participant will be written.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.
-
Constructor Details
-
ChannelAffinity
public ChannelAffinity()
-
-
Method Details
-
getChannel
Get the channel property: Channel number to which bitstream from a particular participant will be written.- Returns:
- the channel value.
-
setChannel
Set the channel property: Channel number to which bitstream from a particular participant will be written.- Parameters:
channel- the channel value to set.- Returns:
- the ChannelAffinityInternal object itself.
-
getParticipant
Get the participant property: The identifier for the participant whose bitstream will be written to the channel represented by the channel number.- Returns:
- the participant value.
-
setParticipant
Set the participant property: The identifier for the participant whose bitstream will be written to the channel represented by the channel number.- Parameters:
participant- the participant value to set.- Returns:
- the ChannelAffinityInternal object itself.
-