Meeting SDK for Windows API Reference
Loading...
Searching...
No Matches
ICCRequestHandler Class Referenceabstract

The helper to handle the requested of start captions. When IsRequestTranslationOn is true, use ICCRequestTranslationOnHandler::ApproveStartCaptionsRequest() to approve start captions request. When isRequestTranslationOn is false, use ICCRequestTranslationOffHandler::ApproveStartCaptionsRequest(int languageId) to approve start captions request. More...

#include <meeting_closedcaption_interface.h>

Inherited by ICCRequestTranslationOffHandler, and ICCRequestTranslationOnHandler.

Public Member Functions

virtual bool IsRequestTranslationOn ()=0
 Determines whether the request is to start captions with translation on.
 
virtual unsigned int GetSenderUserId ()=0
 Gets the user ID of the user who sent the request.
 
virtual SDKError Deny ()=0
 Declines the request to start captions.
 
virtual ~ICCRequestHandler ()
 

Detailed Description

The helper to handle the requested of start captions. When IsRequestTranslationOn is true, use ICCRequestTranslationOnHandler::ApproveStartCaptionsRequest() to approve start captions request. When isRequestTranslationOn is false, use ICCRequestTranslationOffHandler::ApproveStartCaptionsRequest(int languageId) to approve start captions request.

Definition at line 103 of file meeting_closedcaption_interface.h.

Constructor & Destructor Documentation

◆ ~ICCRequestHandler()

virtual ICCRequestHandler::~ICCRequestHandler ( )
inlinevirtual

Definition at line 124 of file meeting_closedcaption_interface.h.

124{};

Member Function Documentation

◆ Deny()

virtual SDKError ICCRequestHandler::Deny ( )
pure virtual

Declines the request to start captions.

Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.

◆ GetSenderUserId()

virtual unsigned int ICCRequestHandler::GetSenderUserId ( )
pure virtual

Gets the user ID of the user who sent the request.

Returns
If the function succeeds, it returns the user ID.

◆ IsRequestTranslationOn()

virtual bool ICCRequestHandler::IsRequestTranslationOn ( )
pure virtual

Determines whether the request is to start captions with translation on.

Returns
true if the request is to start captions with translation on. Otherwise, false.