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

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

#include <meeting_audio_interface.h>

Public Member Functions

virtual ~IRequestStartAudioHandler ()
 
virtual unsigned int GetReqFromUserId ()=0
 Gets the user ID who asks to turn on the audio.
 
virtual SDKError Ignore ()=0
 Ignores the requirement, returns nothing and finally self-destroys.
 
virtual SDKError Accept ()=0
 Accepts the requirement, turns on the audio and finally self-destroys.
 
virtual SDKError Cancel ()=0
 Ignores the request to enable the audio 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 audio.

Definition at line 50 of file meeting_audio_interface.h.

Constructor & Destructor Documentation

◆ ~IRequestStartAudioHandler()

virtual IRequestStartAudioHandler::~IRequestStartAudioHandler ( )
inlinevirtual

Definition at line 53 of file meeting_audio_interface.h.

53{};

Member Function Documentation

◆ Accept()

virtual SDKError IRequestStartAudioHandler::Accept ( )
pure virtual

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

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

◆ Cancel()

virtual SDKError IRequestStartAudioHandler::Cancel ( )
pure virtual

Ignores the request to enable the audio 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 IRequestStartAudioHandler::GetReqFromUserId ( )
pure virtual

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

Returns
If the function succeeds, it returns the user ID. Otherwise, this function returns ZERO(0).
Deprecated
This interface is marked as deprecated.

◆ Ignore()

virtual SDKError IRequestStartAudioHandler::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.