ACSCallDelegate Protocol

Declaration

@protocol ACSCallDelegate;

Description

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

Methods

onIdChanged

CallIdChanged Event. Occurs when the call id changes

-(void)onIdChanged:(ACSCall *)sender :(ACSPropertyChangedEventArgs *)args {

Parameters

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

onStateChanged

StateChanged Event. Occurs when the call state changes

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

Parameters

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

onRoleChanged

CallRoleChanged Event. Occurs when the call role changes

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

Parameters

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

onRemoteParticipantsUpdated

ParticipantsUpdated Event. Occurs when participants are added to or removed from a call

-(void)onRemoteParticipantsUpdated:(ACSCall *)sender :(ACSParticipantsUpdatedEventArgs *)args {

Parameters

  • sender - The call object whose participants has been updated.
  • args - Information about the participants updated.

onLocalVideoStreamsUpdated

LocalVideoStreamsUpdated Event. Occurs when Local video streams are added to or removed from a call

-(void)onLocalVideoStreamsUpdated:(ACSCall *)sender :(ACSLocalVideoStreamsUpdatedEventArgs *)args DEPRECATED_MSG_ATTRIBUTE("Use didChangeState on VideoStream types instead") {

Parameters

  • sender - The call object whose local video streams has been updated.
  • args - Information about the participants updated.

onIsMutedChanged

isMutedChanged Event. Occurs when the call is muted

-(void)onIsMutedChanged:(ACSCall *)sender :(ACSPropertyChangedEventArgs *)args DEPRECATED_MSG_ATTRIBUTE("Use call(_:didUpdateOutgoingAudioState:) instead") {

Parameters

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

onOutgoingAudioStateChanged

This event is raised when Call is muted.

-(void)onOutgoingAudioStateChanged:(ACSCall *)sender :(ACSPropertyChangedEventArgs *)args {

Parameters

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

onIncomingAudioStateChanged

This event is raised when Speaker is muted.

-(void)onIncomingAudioStateChanged:(ACSCall *)sender :(ACSPropertyChangedEventArgs *)args {

Parameters

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

onTotalParticipantCountChanged

TotalParticipantCountChanged Event. Occurs when the participant count changes

-(void)onTotalParticipantCountChanged:(ACSCall *)sender :(ACSPropertyChangedEventArgs *)args {

Parameters

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