Video SDK for iOS API Reference
Loading...
Searching...
No Matches
ZoomVideoSDKOnHoldHelper Class Reference

OnHold helper. More...

#include <ZoomVideoSDKOnHoldHelper.h>

Inherits NSObject.

Instance Methods

(BOOL) - isSupportHold
 Determines whether the current session supports OnHold.
(BOOL) - isOnHoldEnabled
 Determines whether OnHold is enabled for the current session.
(ZoomVideoSDKError) - enableHold:
 Enables or disables OnHold for the current session.
(NSArray< ZoomVideoSDKOnHoldUser * > *_Nullable) - getOnHoldUserList
 Gets the current OnHold user list.
(ZoomVideoSDKError) - admit:
 Admits the specified OnHold user into the session.
(ZoomVideoSDKError) - admitAll
 Admits all OnHold users into the session.

Detailed Description

OnHold helper.

Definition at line 37 of file ZoomVideoSDKOnHoldHelper.h.

Method Documentation

◆ admit:

- (ZoomVideoSDKError) admit: (ZoomVideoSDKOnHoldUser *_Nullable) user

Admits the specified OnHold user into the session.

Parameters
userThe OnHold user.
Returns
If the function succeeds, it returns Errors_Success. Otherwise, this function returns an error.

◆ admitAll

- (ZoomVideoSDKError) admitAll

Admits all OnHold users into the session.

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

References admitAll.

Referenced by admitAll.

◆ enableHold:

- (ZoomVideoSDKError) enableHold: (BOOL) enable

Enables or disables OnHold for the current session.

Parameters
enableYES to enable OnHold, NO to disable.
Returns
If the function succeeds, it returns Errors_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

- (NSArray< ZoomVideoSDKOnHoldUser * > *_Nullable) getOnHoldUserList

Gets the current OnHold user list.

Returns
The OnHold user list.

References getOnHoldUserList.

Referenced by getOnHoldUserList.

◆ isOnHoldEnabled

- (BOOL) isOnHoldEnabled

Determines whether OnHold is enabled for the current session.

Returns
YES if OnHold is enabled. Otherwise, NO.

References isOnHoldEnabled.

Referenced by isOnHoldEnabled.

◆ isSupportHold

- (BOOL) isSupportHold

Determines whether the current session supports OnHold.

Returns
YES if OnHold is supported. Otherwise, NO.
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.

References isSupportHold.

Referenced by isSupportHold.