User control interface.
More...
#include <ZMVideoSDKUserHelper.h>
Inherits NSObject.
|
(BOOL) | - changeName:user: |
| Change a specific user's name.
|
|
(BOOL) | - makeHost: |
| Assign a user as the session host.
|
|
(BOOL) | - makeManager: |
| Assign a user as the session manager.
|
|
(BOOL) | - revokeManager: |
| Revoke manager rights from a user.
|
|
(BOOL) | - removeUser: |
| Remove user from session.
|
|
(BOOL) | - reclaimHost |
| Reclaim host permission. Allow the user whose role_type = 1 to reclaim the host role.
|
|
User control interface.
Definition at line 521 of file ZMVideoSDKUserHelper.h.
◆ changeName:user:
Change a specific user's name.
- Parameters
-
name | The new user name. |
user | User in the session. |
- Returns
- YES indicates that name change is success. Otherwise, this function returns NO.
◆ makeHost:
Assign a user as the session host.
- Parameters
-
- Returns
- YES indicates that the user is now the host. Otherwise, this function returns NO.
◆ makeManager:
Assign a user as the session manager.
- Parameters
-
- Returns
- YES indicates 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, the return value is YES. Otherwise, this function returns NO.
◆ removeUser:
Remove user from session.
- Parameters
-
- Returns
- If the function succeeds, the return value is YES. Otherwise, this function returns NO.
◆ revokeManager:
Revoke manager rights from a user.
- Parameters
-
- Returns
- YES indicates that the user no longer has manager rights. Otherwise, this function returns NO.