Class ChannelAffinity

java.lang.Object
com.azure.communication.callautomation.models.ChannelAffinity

public final class ChannelAffinity extends Object
Channel affinity for a participant.
  • Constructor Details

    • ChannelAffinity

      public ChannelAffinity()
  • Method Details

    • getChannel

      public Integer getChannel()
      Get the channel property: Channel number to which bitstream from a particular participant will be written.
      Returns:
      the channel value.
    • setChannel

      public ChannelAffinity setChannel(Integer channel)
      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

      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:
      the participant value.
    • 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:
      participant - the participant value to set.
      Returns:
      the ChannelAffinityInternal object itself.