User control interface.
More...
#include <ZMVideoSDKUserHelper.h>
Inherits NSObject.
User control interface.
Definition at line 606 of file ZMVideoSDKUserHelper.h.
◆ changeName:user:
Changes a specific user's name.
- Parameters
-
| name | The new user name. |
| user | User in the session. |
- Returns
- YES if that name change is success. Otherwise, this function returns NO.
◆ makeHost:
Assign a user as the session host.
- Parameters
-
- Returns
- YES if that the user is now the host. Otherwise, this function returns NO.
◆ makeManager:
Assign a user as the session manager.
- Parameters
-
- Returns
- YES if that the user is now the manager. Otherwise, this function returns NO.
◆ reclaimHost
Reclaim host permission. Allow the user whose role_type = 1 to reclaim the host role.
- Returns
- If the function succeeds, it returns YES. Otherwise, this function returns NO.
◆ removeUser:
Removes user from session.
- Parameters
-
- Returns
- If the function succeeds, it returns YES. Otherwise, this function returns NO.
◆ revokeManager:
Revoke manager rights from a user.
- Parameters
-
- Returns
- If the function succeeds, it returns ZMVideoSDKErrors_Success. Otherwise, this function returns an error.