---
description: The Objective is to implement call moderation in application.
---

# Call Moderation

Call moderation refers to the management and control of the call to ensure a smooth and productive communication experience. Moderators have the following authorities.

·       Adding or Removing the participant from the call

·       Mute or Unmute participants

·       Lock or Unlock a room,

·       Set or Remove Moderator pin,

·       Adding or Removing moderator privileges

·       Recording the call

Let us look into the implementation of each of these in detail.

\-          Firstly, you need to register ModeratorResultEventListener to get notified about the results of moderator API and the received callbacks are:

\-         Register Listener:

public class MyClass : Connector. IRegisterModerationResultEventListener

{

public void OnModerationResult(Participant participant, Connector.ConnectorModerationResult result, Connector.ConnectorModerationActionType action, string requestId)

&#x20;               {

&#x20;                            /\*

&#x20;                                          Here you will capture the result of the action taken by moderator.

\*/

&#x20;       }

}

Note:   ConnectorModerationResult  = result of moderation request

ConnectorModerationActionType = Action of moderation request

&#x20;

Action of moderation request include

&#x20;

·       ConnectormoderationactiontypeMute,

·       ConnectormoderationactiontypeUnmute,

·       ConnectormoderationactiontypeStartLectureMode,

·       ConnectormoderationactiontypeStopLectureMode,

·       ConnectormoderationactiontypeSetPresenter,

·       ConnectormoderationactiontypeRemovePresenter,

·       ConnectormoderationactiontypeRaiseHand,

·       ConnectormoderationactiontypeUnraiseHand,

·       ConnectormoderationactiontypeDismissRaisedHand,

·       ConnectormoderationactiontypeDismissAllRaisedHands,

·       ConnectormoderationactiontypeSetModeratorPin,

·       ConnectormoderationactiontypeRemoveModeratorPin,

·       ConnectormoderationactiontypeDisconnectAll,

·       ConnectormoderationactiontypeDisconnectOne,

·       ConnectormoderationactiontypeInvalid

&#x20;
