ACSRemoteParticipantDelegate Protocol

Declaration

@protocol ACSRemoteParticipantDelegate;

Description

A set of methods that are called by ACSRemoteParticipant in response to important events.

Methods

onStateChanged

PropertyChanged Event. Occurs when the remote participant state changes

-(void)onStateChanged:(ACSRemoteParticipant *)sender :(ACSPropertyChangedEventArgs *)args {

Parameters

  • sender - The call object which state had changed.
  • args - Information about the call state.

onIsMutedChanged

PropertyChanged Event. Occurs when the remote participant's IsMuted changes

-(void)onIsMutedChanged:(ACSRemoteParticipant *)sender :(ACSPropertyChangedEventArgs *)args {

Parameters

  • sender - The call object which state had changed.
  • args - Information about the call state.

onIsSpeakingChanged

PropertyChanged Event. Occurs when the remote participant is an active speaker in a multi-party calls

-(void)onIsSpeakingChanged:(ACSRemoteParticipant *)sender :(ACSPropertyChangedEventArgs *)args {

Parameters

  • sender - The call object which state had changed.
  • args - Information about the call state.

onDisplayNameChanged

PropertyChanged Event. Occurs when the remote participant's displayName changes

-(void)onDisplayNameChanged:(ACSRemoteParticipant *)sender :(ACSPropertyChangedEventArgs *)args {

Parameters

  • sender - The call object which state had changed.
  • args - Information about the call state.

onRoleChanged

PropertyChanged Event. Occurs when the remote participant's role changes

-(void)onRoleChanged:(ACSRemoteParticipant *)sender :(ACSPropertyChangedEventArgs *)args {

Parameters

  • sender - The call object which state had changed.
  • args - Information about the call state.

onVideoStreamsUpdated

RemoteVideoStreamsUpdated Event. Occurs when remote video streams are added or removed

-(void)onVideoStreamsUpdated:(ACSRemoteParticipant *)sender :(ACSRemoteVideoStreamsEventArgs *)args DEPRECATED_MSG_ATTRIBUTE("Use remoteParticipant(_:didChangeVideoStreamState:)) instead") {

Parameters

  • sender -
  • args -

onVideoStreamStateChanged

Listener used to know the video stream state

-(void)onVideoStreamStateChanged:(ACSRemoteParticipant *)sender :(ACSVideoStreamStateChangedEventArgs *)args {

Parameters

  • sender -
  • args -