User control interface.
More...
#include <ZoomVideoSDKUserHelper.h>
Inherits NSObject.
User control interface.
Definition at line 13 of file ZoomVideoSDKUserHelper.h.
◆ changeName:withUser:
| - (BOOL) changeName: |
|
(NSString *_Nullable) | inputName |
| withUser: |
|
(ZoomVideoSDKUser *_Nullable) | changeUser |
Changes a specific user's name.
- Parameters
-
| inputName | The user's new name. |
| changeUser | The user in the session. |
- Returns
- YES if the name change succeeds. Otherwise, NO.
◆ makeHost:
Assigns a user as the session host.
- Parameters
-
| user | The user in the session. |
- Returns
- YES if the user is now the host. Otherwise, NO.
- Warning
- Only session host can run this function, and user ID should not be myself.
◆ makeManager:
Assigns a user as the session manager.
- Parameters
-
| user | The user in the session. |
- Returns
- YES if the user is now the manager. Otherwise, NO.
- Warning
- Only session host can run this function, and user ID should not be myself.
◆ reclaimHost
Reclaims host permission.
- Returns
- YES if the function succeeds. Otherwise, NO.
◆ removeUser:
Removes user from session.
- Parameters
-
| user | The user in the session. |
- Returns
- YES if the function succeeds. Otherwise, NO.
- Warning
- The method is available only for the host, and the host cannot remove himself.
◆ revokeManager:
Revokes manager rights from a user.
- Parameters
-
| user | The user in the session. |
- Returns
- If the function succeeds, it returns Errors_Success. Otherwise, this function returns an error.
- Warning
- Only session host can run this function, and user ID should not be myself.