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

Process after the user receives the requirement from the host to turn on the video. More...

#include <meeting_video_interface.h>

Public Member Functions

virtual ~IRequestStartVideoHandler ()
 
virtual unsigned int GetReqFromUserId ()=0
 Gets the user ID who asks to turn on the video.
 
virtual SDKError Ignore ()=0
 Ignores the requirement, returns nothing and finally self-destroys.
 
virtual SDKError Accept ()=0
 Accepts the requirement, turns on the video and finally self-destroys.
 
virtual SDKError Cancel ()=0
 Ignores the request to enable the video in the meeting and finally the instance self-destroys.
 

Detailed Description

Process after the user receives the requirement from the host to turn on the video.

Definition at line 131 of file meeting_video_interface.h.

Constructor & Destructor Documentation

◆ ~IRequestStartVideoHandler()

virtual IRequestStartVideoHandler::~IRequestStartVideoHandler ( )
inlinevirtual

Definition at line 134 of file meeting_video_interface.h.

134{};

Member Function Documentation

◆ Accept()

virtual SDKError IRequestStartVideoHandler::Accept ( )
pure virtual

Accepts the requirement, turns on the video and finally self-destroys.

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

◆ Cancel()

virtual SDKError IRequestStartVideoHandler::Cancel ( )
pure virtual

Ignores the request to enable the video in the meeting and finally the instance self-destroys.

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

◆ GetReqFromUserId()

virtual unsigned int IRequestStartVideoHandler::GetReqFromUserId ( )
pure virtual

Gets the user ID who asks to turn on the video.

Returns
If the function succeeds, it returns the user ID. Otherwise, this function returns ZERO(0).

◆ Ignore()

virtual SDKError IRequestStartVideoHandler::Ignore ( )
pure virtual

Ignores the requirement, returns nothing and finally self-destroys.

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