Meeting SDK for iOS API Reference
Loading...
Searching...
No Matches
MobileRTCMeetingService+User.h
Go to the documentation of this file.
6#import <MobileRTC/MobileRTC.h>
7
11@interface MobileRTCMeetingService (User)
12
20- (BOOL)changeName:(nonnull NSString*)inputName withUserID:(NSUInteger)userId;
21
27- (nullable NSArray <NSNumber *> *)getInMeetingUserList;
28
34- (nullable NSArray <NSNumber *> *)getWebinarAttendeeList;
41- (nullable MobileRTCMeetingUserInfo*)userInfoByID:(NSUInteger)userId;
42
50- (nullable MobileRTCMeetingWebinarAttendeeInfo*)attendeeInfoByID:(NSUInteger)userId;
51
58- (BOOL)makeHost:(NSUInteger)userId;
59
66- (BOOL)removeUser:(NSUInteger)userId;
67
72- (NSUInteger)myselfUserID;
73
78- (NSUInteger)activeUserID;
79
85- (NSUInteger)activeShareUserID DEPRECATED_MSG_ATTRIBUTE("Use getViewableSharingUserList instead");
86
91- (NSArray<NSNumber *>* _Nullable)getViewableSharingUserList;
92
97- (NSArray<NSNumber *>* _Nullable)getViewableDocSharingUserList;
98
104- (NSArray *_Nullable)getCompanionChildList:(NSUInteger)userId;
105
111- (MobileRTCMeetingUserInfo *_Nullable)getCompanionParentUser:(NSUInteger)userId;
112
119- (BOOL)isSameUser:(NSUInteger)user1 compareTo:(NSUInteger)user2;
120
126- (BOOL)isHostUser:(NSUInteger)userID;
127
133- (BOOL)isMyself:(NSUInteger)userID;
134
140- (BOOL)isH323User:(NSUInteger)userID;
141
146- (BOOL)raiseMyHand;
153- (BOOL)lowerHand:(NSUInteger)userId;
154
161- (BOOL)lowerAllHand:(BOOL)isWebinarAttendee;
162
167- (BOOL)isSelfOriginalHost;
168
173- (BOOL)canClaimhost;
174
179- (BOOL)reclaimHost;
180
186- (BOOL)claimHostWithHostKey:(nonnull NSString*)hostKey;
187
194- (BOOL)assignCohost:(NSUInteger)userID;
195
202- (BOOL)revokeCoHost:(NSUInteger)userID;
203
209- (BOOL)canBeCoHost:(NSUInteger)userID;
210
216- (BOOL)isRawLiveStreaming:(NSUInteger)userID;
217
223- (BOOL)hasRawLiveStreamPrivilege:(NSUInteger)userID;
224
225#pragma mark - robot -
226
232- (nullable MobileRTCMeetingUserInfo*)getBotAuthorizedUserInfoByUserID:(NSUInteger)botUserId;
233
239- (nullable NSArray <NSNumber *> *)getAuthorizedBotListByUserID:(NSUInteger)userId;
240
248- (MobileRTCSDKError)assignCohost:(NSUInteger)userId withAssetsPrivilege:(NSArray <MobileRTCGrantCoOwnerAssetsInfo*> * _Nonnull)infoList;
249
257- (MobileRTCSDKError)makeHost:(NSUInteger)userId withAssetsPrivilege:(NSArray <MobileRTCGrantCoOwnerAssetsInfo*> * _Nonnull)infoList;
258
264- (BOOL)canBeCoOwner:(NSUInteger)userId;
265
266@end
MobileRTCSDKError
Enumeration of the SDK error.
BOOL canClaimhost()
Queries if the current user can claim to be a host.
NSUInteger myselfUserID()
Gets the ID of the current user in the meeting.
NSArray< NSNumber * > *_Nullable getViewableDocSharingUserList()
Gets the IDs of users who are sharing docs.
BOOL reclaimHost()
Reclaims the role of the host.
NSUInteger activeUserID()
Gets the ID of the active user in the meeting.
BOOL raiseMyHand()
Raises hand of the current user.
nullable NSArray< NSNumber * > * getWebinarAttendeeList()
Gets all the attendees in the webinar.
nullable NSArray< NSNumber * > * getInMeetingUserList()
Gets all the users in the meeting.
NSArray< NSNumber * > *_Nullable getViewableSharingUserList()
Gets the IDs of users who are sharing.
BOOL isSelfOriginalHost()
Queries whether the current user is the original host.
NSUInteger activeShareUserID()
Gets the ID of the user who is sharing in the meeting.
A class that provides properties to specify and manage the privileges associated with different types...
A class that contains information of the current user in the meeting.
A class that contains information of a user in the webinar.