Share via


ChannelAffinity Class

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

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.

CommunicationIdentifier getParticipant()

Get the participant property: The identifier for the participant whose bitstream will be written to the channel represented by the channel number.

ChannelAffinity setChannel(Integer channel)

Set the channel property: Channel number to which bitstream from a particular participant will be written.

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.

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:

the channel value.

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.

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.

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.

Applies to