Video SDK for Linux API Reference
Loading...
Searching...
No Matches
IZoomVideoSDKOnHoldHelper Class Referenceabstract

OnHold helper interface. More...

#include <zoom_video_sdk_on_hold_helper_interface.h>

Public Member Functions

virtual ~IZoomVideoSDKOnHoldHelper ()
virtual bool isSupportHold ()=0
 Determines whether the current session supports the OnHold feature.
virtual bool isOnHoldEnabled ()=0
 Determines whether OnHold is enabled for the current session.
virtual ZoomVideoSDKErrors enableHold (bool enable)=0
 Enables or disables OnHold for the current session.
virtual IVideoSDKVector< IZoomVideoSDKOnHoldUser * > * getOnHoldUserList ()=0
 Gets the list of users currently on hold.
virtual ZoomVideoSDKErrors admit (IZoomVideoSDKOnHoldUser *pUser)=0
 Admits the specified on-hold user to the current session.
virtual ZoomVideoSDKErrors admitAll ()=0
 Admits all on-hold users to the current session.

Detailed Description

OnHold helper interface.

Definition at line 39 of file zoom_video_sdk_on_hold_helper_interface.h.

Constructor & Destructor Documentation

◆ ~IZoomVideoSDKOnHoldHelper()

virtual IZoomVideoSDKOnHoldHelper::~IZoomVideoSDKOnHoldHelper ( )
inlinevirtual

Definition at line 42 of file zoom_video_sdk_on_hold_helper_interface.h.

42{}

Member Function Documentation

◆ admit()

virtual ZoomVideoSDKErrors IZoomVideoSDKOnHoldHelper::admit ( IZoomVideoSDKOnHoldUser * pUser)
pure virtual

Admits the specified on-hold user to the current session.

Parameters
pUserThe on-hold user.
Returns
If the function succeeds, it returns ZoomVideoSDKErrors_Success. Otherwise, this function returns an error.

◆ admitAll()

virtual ZoomVideoSDKErrors IZoomVideoSDKOnHoldHelper::admitAll ( )
pure virtual

Admits all on-hold users to the current session.

Returns
If the function succeeds, it returns ZoomVideoSDKErrors_Success. Otherwise, this function returns an error.

◆ enableHold()

virtual ZoomVideoSDKErrors IZoomVideoSDKOnHoldHelper::enableHold ( bool enable)
pure virtual

Enables or disables OnHold for the current session.

Parameters
enabletrue to enable OnHold, false to disable.
Returns
If the function succeeds, it returns ZoomVideoSDKErrors_Success. Otherwise, this function returns an error.
Note
Only the host or manager can call this method.
This change only affects future join attempts.

◆ getOnHoldUserList()

virtual IVideoSDKVector< IZoomVideoSDKOnHoldUser * > * IZoomVideoSDKOnHoldHelper::getOnHoldUserList ( )
pure virtual

Gets the list of users currently on hold.

Returns
If the function succeeds, it returns the list of users currently on hold. Otherwise, this function fails and returns nullptr.
Warning
Do not cache the returned list or user pointers outside the current callback or sync point.

◆ isOnHoldEnabled()

virtual bool IZoomVideoSDKOnHoldHelper::isOnHoldEnabled ( )
pure virtual

Determines whether OnHold is enabled for the current session.

Returns
true if OnHold is enabled. Otherwise, false.

◆ isSupportHold()

virtual bool IZoomVideoSDKOnHoldHelper::isSupportHold ( )
pure virtual

Determines whether the current session supports the OnHold feature.

Returns
true if OnHold is supported. Otherwise, false.
Note
When the session supports OnHold, older clients that do not support this feature cannot join the session.
Whether a session supports OnHold is controlled by JWT parameters.