FuncList | DESC |
Receive invitation callback | |
Invitation has been handled on another device callback | |
Invitation has been cancelled callback | |
Invitation has been accepted callback | |
Invitation has been rejected callback | |
Invitation timeout callback | |
Invitation revoked by admin callback | |
Invitation has been added callback | |
Invitation has been removed callback | |
Invitation status change callback |
FuncList | DESC |
Add event observer | |
Remove event observer | |
Invite users | |
Cancel invitation | |
Accept invitation | |
Reject invitation | |
Get invitation list |
FuncList | DESC |
Invitation information structure |
EnumType | DESC |
Invitation status | |
Invitation error code enumeration | |
Invitation rejected reason enumeration |
- (void)onReceiveInvitation: | |
invitation: | |
extensionInfo: | (NSString *)extensionInfo |
Param | DESC |
extensionInfo | Extension information. |
invitation | Invitation information. |
roomInfo | Room information. |
- (void)onInvitationHandledByOtherDevice: | |
accepted: | (BOOL)accepted |
Param | DESC |
accepted | Whether the invitation has been accepted. |
roomInfo | Room information. |
- (void)onInvitationCancelled: | |
invitation: |
Param | DESC |
invitation | Invitation information. |
roomInfo | Room information. |
- (void)onInvitationAccepted: | |
invitation: |
Param | DESC |
invitation | Invitation information. |
roomInfo | Room information. |
- (void)onInvitationRejected: | |
invitation: | |
reason: |
Param | DESC |
invitation | Invitation information. |
reason | Reason for rejection. |
roomInfo | Room information. |
- (void)onInvitationTimeout: | |
invitation: |
Param | DESC |
invitation | Invitation information. |
roomInfo | Room information. |
- (void)onInvitationRevokedByAdmin: | |
invitation: | |
admin: |
Param | DESC |
admin | Admin information. |
invitation | Invitation information. |
roomInfo | Room information. |
- (void)onInvitationAdded: | (NSString *)roomId |
invitation: |
Param | DESC |
invitation | Invitation information. |
roomId | Room ID. |
- (void)onInvitationRemoved: | (NSString *)roomId |
invitation: |
Param | DESC |
invitation | Invitation information. |
roomId | Room ID. |
- (void)onInvitationStatusChanged: | (NSString *)roomId |
invitation: |
Param | DESC |
invitation | Invitation information. |
roomId | Room ID. |
- (void)addObserver: |
Param | DESC |
observer | Instance being observed to. |
- (void)removeObserver: |
Param | DESC |
observer | Instance being observed to. |
- (void)inviteUsers: | (NSString *)roomId |
userIdList: | (NSArray<NSString *> *)userIdList |
timeout: | (NSTimeInterval)timeout |
extensionInfo: | (NSString*)extensionInfo |
onSuccess: | (TUIInviteUsersResponseBlock)onSuccess |
onError: | (TUIErrorBlock)onError |
Param | DESC |
extensionInfo | Extension information. |
roomId | Room ID. |
timeout | Timeout duration. |
userIdList | List of user IDs. |
- (void)cancelInvitation: | (NSString *)roomId |
userIdList: | (NSArray<NSString *> *)userIdList |
onSuccess: | (TUISuccessBlock)onSuccess |
onError: | (TUIErrorBlock)onError |
Param | DESC |
roomId | Room ID. |
userIdList | List of user IDs. |
- (void)accept: | (NSString *)roomId |
onSuccess: | (TUISuccessBlock)onSuccess |
onError: | (TUIErrorBlock)onError |
Param | DESC |
roomId | Room ID. |
- (void)reject: | (NSString *)roomId |
reason: | |
onSuccess: | (TUISuccessBlock)onSuccess |
onError: | (TUIErrorBlock)onError |
Param | DESC |
reason | Reason for rejection. |
roomId | Room ID. |
- (void)getInvitationList: | (NSString *)roomId |
cursor: | (NSString *)cursor |
count: | (NSInteger)count |
onSuccess: | (TUIInvitationListResponseBlock)onSuccess |
onError: | (TUIErrorBlock)onError |
Param | DESC |
count | The number of invitation to get this time. |
cursor | Pagination index retrieval. For the first fetch, use an empty string. If the callback returns data with a non-empty cursor, it indicates that pagination is needed. Please call the interface again using the returned cursor as the parameter until the cursor returned is empty, indicating that all data has been fetched. |
roomId | Room ID. |
Enum | Value | DESC |
TUIInvitationStatusNone | 0 | None status. |
TUIInvitationStatusPending | 1 | Pending status. |
TUIInvitationStatusTimeout | 2 | Timeout status. |
TUIInvitationStatusAccepted | 3 | Accepted status. |
TUIInvitationStatusRejected | 4 | Rejected status. |
Enum | Value | DESC |
TUIInvitationCodeSuccess | 0 | Invitation successful. |
TUIInvitationCodeAlreadyInInvitationList | 1 | The current user is already in the invitation list. |
TUIInvitationCodeAlreadyInConference | 2 | The current user is already in the conference. |
Enum | Value | DESC |
TUIInvitationRejectedReasonRejectToEnter | 0 | Reject to enter. |
TUIInvitationRejectedReasonInOtherConference | 1 | In other conference. |
EnumType | DESC |
invitee | Information of the invitee. |
inviter | Information of the inviter. |
status | Invitation status. |
Was this page helpful?