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

Meeting remote control interface. More...

#include <meeting_remote_ctrl_interface.h>

Public Member Functions

virtual ~IMeetingRemoteController ()
 
virtual SDKError SetEvent (IMeetingRemoteCtrlEvent *pEvent)=0
 Sets meeting remote control callback event handler.
 
virtual SDKError CanRequestControl (unsigned int shareSourceID)=0
 Determines if the current user is able to request to control others remotely.
 
virtual SDKError IsHaveRemoteControlRight (unsigned int shareSourceID)=0
 Determines if the user has privileges to control the specified user remotely..
 
virtual SDKError IsInRemoteControllingStatus (unsigned int shareSourceID)=0
 Determines if the current user is controlling the specified user remotely.
 
virtual SDKError EnterRemoteControllingStatus (unsigned int shareSourceID)=0
 Starts remotely controlling the specified user's computer.
 
virtual SDKError LeaveRemoteControllingStatus (unsigned int shareSourceID)=0
 Stops controlling remotely.
 
virtual SDKError RequestRemoteControl (unsigned int shareSourceID)=0
 Request to remotely control the specified user.
 
virtual SDKError GiveupRemoteControl (unsigned int shareSourceID)=0
 Give up remotely controlling the specified user.
 
virtual SDKError GiveRemoteControlTo (unsigned int userId)=0
 Give the authority of remote control to the specified user.
 
virtual SDKError DeclineRemoteControlRequest (unsigned int userId)=0
 Refuse the request to remote control from the specified user.
 
virtual SDKError RevokeRemoteControl ()=0
 Gets back all the authority of remote control.
 
virtual SDKError GetCurrentRemoteController (unsigned int &userId)=0
 Gets the controller ID who is currently controlling by long-distance.
 
virtual bool IsAutoAcceptRemoteControlFeatureEnabled ()=0
 Determines if the auto accept remote control requests feature is enabled in the meeting.
 
virtual SDKError CanEnableAutoAcceptRemoteControlFeature ()=0
 Whether the current user can enable the auto accept remote control requests feature.
 
virtual SDKError EnableAutoAcceptRemoteControlFeature (bool bEnable)=0
 Enables or disable auto accept remote control requests feature.
 

Detailed Description

Meeting remote control interface.

Definition at line 65 of file meeting_remote_ctrl_interface.h.

Constructor & Destructor Documentation

◆ ~IMeetingRemoteController()

virtual IMeetingRemoteController::~IMeetingRemoteController ( )
inlinevirtual

Definition at line 68 of file meeting_remote_ctrl_interface.h.

68{}

Member Function Documentation

◆ CanEnableAutoAcceptRemoteControlFeature()

virtual SDKError IMeetingRemoteController::CanEnableAutoAcceptRemoteControlFeature ( )
pure virtual

Whether the current user can enable the auto accept remote control requests feature.

Returns
true indicates the current user can enable the feature.

◆ CanRequestControl()

virtual SDKError IMeetingRemoteController::CanRequestControl ( unsigned int shareSourceID)
pure virtual

Determines if the current user is able to request to control others remotely.

Parameters
shareSourceIDSpecify the share scource ID to check.
Note
For custom style mode, this interface is only valid after subscribing the sharing content from the specified user by calling ICustomizedShareRender::SetUserID(unsigned int userid) successfully.
Returns
If it is able to request to control the specified user by long-distance, the return value is SDKERR_SUCCESS.

◆ DeclineRemoteControlRequest()

virtual SDKError IMeetingRemoteController::DeclineRemoteControlRequest ( unsigned int userId)
pure virtual

Refuse the request to remote control from the specified user.

Parameters
userIdSpecify the share scource ID to be disabled to remote control.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.

◆ EnableAutoAcceptRemoteControlFeature()

virtual SDKError IMeetingRemoteController::EnableAutoAcceptRemoteControlFeature ( bool bEnable)
pure virtual

Enables or disable auto accept remote control requests feature.

Parameters
bEnabletrue indicates that auto accept remote control requests are enabled; false means disabled.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.

◆ EnterRemoteControllingStatus()

virtual SDKError IMeetingRemoteController::EnterRemoteControllingStatus ( unsigned int shareSourceID)
pure virtual

Starts remotely controlling the specified user's computer.

Parameters
shareSourceIDSpecify the share scource ID to be controlled.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.

◆ GetCurrentRemoteController()

virtual SDKError IMeetingRemoteController::GetCurrentRemoteController ( unsigned int & userId)
pure virtual

Gets the controller ID who is currently controlling by long-distance.

Parameters
[out]userIdThe user ID who is currently controlling by long-distance. ZERO(0) indicates that there is no controller for the moment.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.

◆ GiveRemoteControlTo()

virtual SDKError IMeetingRemoteController::GiveRemoteControlTo ( unsigned int userId)
pure virtual

Give the authority of remote control to the specified user.

Parameters
userIdSpecify the user ID that you want to give the authority.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.

◆ GiveupRemoteControl()

virtual SDKError IMeetingRemoteController::GiveupRemoteControl ( unsigned int shareSourceID)
pure virtual

Give up remotely controlling the specified user.

Parameters
shareSourceIDSpecify the share scource ID.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.

◆ IsAutoAcceptRemoteControlFeatureEnabled()

virtual bool IMeetingRemoteController::IsAutoAcceptRemoteControlFeatureEnabled ( )
pure virtual

Determines if the auto accept remote control requests feature is enabled in the meeting.

Returns
true indicates that the feature enabled, false means that the feature isn't enabled.

◆ IsHaveRemoteControlRight()

virtual SDKError IMeetingRemoteController::IsHaveRemoteControlRight ( unsigned int shareSourceID)
pure virtual

Determines if the user has privileges to control the specified user remotely..

Parameters
shareSourceIDSpecify the share scource ID to check.
Returns
If it is able to control the specified user by long-distance, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.

◆ IsInRemoteControllingStatus()

virtual SDKError IMeetingRemoteController::IsInRemoteControllingStatus ( unsigned int shareSourceID)
pure virtual

Determines if the current user is controlling the specified user remotely.

Parameters
shareSourceIDSpecify the share scource ID to check.
Returns
If the specified user is in process of remote control, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.

◆ LeaveRemoteControllingStatus()

virtual SDKError IMeetingRemoteController::LeaveRemoteControllingStatus ( unsigned int shareSourceID)
pure virtual

Stops controlling remotely.

Parameters
shareSourceIDSpecify the share scource ID that you want to end the remote control.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.

◆ RequestRemoteControl()

virtual SDKError IMeetingRemoteController::RequestRemoteControl ( unsigned int shareSourceID)
pure virtual

Request to remotely control the specified user.

Parameters
shareSourceIDSpecify the share scource ID that you want to send the request.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.

◆ RevokeRemoteControl()

virtual SDKError IMeetingRemoteController::RevokeRemoteControl ( )
pure virtual

Gets back all the authority of remote control.

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

◆ SetEvent()

virtual SDKError IMeetingRemoteController::SetEvent ( IMeetingRemoteCtrlEvent * pEvent)
pure virtual

Sets meeting remote control callback event handler.

Parameters
pEventA pointer to the IMeetingRemoteCtrlEvent that receives the remote control event.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.
Note
When the remote control or the authority changes, the user will receive a callback event.