Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKMeetingActionController.h
Go to the documentation of this file.
1
2#import <ZoomSDK/ZoomSDKErrors.h>
3#import <ZoomSDK/ZoomSDKMeetingChatController.h>
4NS_ASSUME_NONNULL_BEGIN
16@end
17
21@interface ZoomSDKChatInfo : NSObject
22{
23 unsigned int _sendID;
24 unsigned int _receiverID;
25 NSString* _sendName;
26 NSString* _receiverName;
27 NSString* _content;
28 time_t _timestamp;
31}
36- (unsigned int)getSenderUserID;
41- (NSString*)getSenderDisplayName;
46- (unsigned int)getReceiverUserID;
51- (NSString*)getReceiverDisplayName;
56- (NSString*)getMsgContent;
61- (time_t)getTimeStamp;
66- (BOOL)isChatToWaitingRoom;
71- (ZoomSDKChatMessageType)getChatMessageType;
76- (NSString*)getMessageID;
77
82- (BOOL)isComment;
83
88- (BOOL)isThread;
89
94- (NSArray<ZoomSDKRichTextStyleItem *> *_Nullable)getTextStyleItemList DEPRECATED_MSG_ATTRIBUTE("No longer used");
95
96- (NSArray<ZoomSDKChatMsgSegmentDetails *> *_Nullable)getSegmentDetails;
101- (NSString*)getThreadID;
102@end
103
111@property (assign,nonatomic,readonly) BOOL canChat;
115@property (assign,nonatomic,readonly) BOOL canChatToAll;
119@property (assign,nonatomic,readonly) BOOL canChatToIndividual;
123@property (assign,nonatomic,readonly) BOOL isOnlyCanChatToHost;
124@end
125
133@property (assign,nonatomic,readonly) BOOL canChat;
137@property (assign,nonatomic,readonly) BOOL canChatToAllPanellistAndAttendee;
141@property (assign,nonatomic,readonly) BOOL canChatToAllPanellist;
142@end
143
151@property (assign,nonatomic,readonly) BOOL canChatToAllPanellist;
155@property (assign,nonatomic,readonly) BOOL canChatToAllPanellistAndAttendee;
159@property (assign,nonatomic,readonly) BOOL canChatToIndividual;
160@end
161
165@interface ZoomSDKChatStatus : NSObject
170- (ZoomSDKNormalMeetingChatPrivilege *)getNormalMeetingPrivilege;
175- (ZoomSDKWebinarAttendeeChatPrivilege *)getWebinarAttendeePrivilege;
180- (ZoomSDKWebinarPanelistChatPrivilege *)getWebinarPanelistPrivilege;
185- (BOOL)isSupportChat;
190- (BOOL)isWebinarAttendee;
195- (BOOL)isWebinarMeeting;
196@end
197
201@interface ZoomSDKUserAudioStatus : NSObject
202{
203 unsigned int _userID;
206}
211- (unsigned int)getUserID;
216- (ZoomSDKAudioStatus)getStatus;
221- (ZoomSDKAudioType)getType;
222@end
226@interface ZoomSDKWebinarAttendeeStatus : NSObject
227{
229}
230@property(nonatomic, assign)BOOL isAttendeeCanTalk;
231@end
232
233
234@interface ZoomSDKVirtualNameTag : NSObject
238@property (nonatomic, assign) int tagID;
239
243@property (nonatomic, copy, nullable) NSString *tagName;
244@end
245
246
250@interface ZoomSDKUserInfo :NSObject
251{
252 unsigned int _userID;
253}
258- (BOOL)isMySelf;
263- (NSString*_Nullable)getUserName;
268- (unsigned int)getUserID;
269
274- (NSString*_Nullable)getAvatarPath;
275
280- (BOOL)isHost;
285- (BOOL)isVideoOn;
286
291- (ZoomSDKAudioStatus)getAudioStatus;
296- (ZoomSDKAudioType)getAudioType;
301- (UserRole)getUserRole;
306- (BOOL)isPurePhoneUser;
311- (BOOL)isH323User;
316- (BOOL)canBeCoHost;
321- (ZoomSDKWebinarAttendeeStatus*_Nullable)GetWebinarAttendeeStatus;
322
327- (BOOL)isTalking;
328
333- (NSString *_Nullable)getCustomerKey;
334
339- (BOOL)isInterpreter;
340
345- (BOOL)isSignLanguageInterpreter;
346
351- (NSString *_Nullable)getInterpreterActiveLanguage;
352
357- (BOOL)isRaisingHand;
358
363- (ZoomSDKRecordingStatus)getLocalRecordingStatus;
364
369- (NSString *_Nullable)getPersistentId;
370
375- (BOOL)isRawLiveStreaming;
376
381- (BOOL)hasRawLiveStreamPrivilege;
382
386- (ZoomSDKEmojiFeedbackType)getEmojiFeedbackType;
387
392- (BOOL)hasCamera;
393
398- (BOOL)isInWaitingRoom;
399
404- (BOOL)isInWebinarBackstage;
405
410- (BOOL)isClosedCaptionSender;
411
416- (BOOL)isProductionStudioUser;
417
422- (unsigned int)getProductionStudioParent;
423
428- (BOOL)isBotUser;
429
434- (NSString * _Nullable)getBotAppName;
435
440- (BOOL)isVirtualNameTagEnabled;
441
446- (nullable NSArray<ZoomSDKVirtualNameTag*> *)getVirtualNameTagArray;
447
452- (BOOL)isCompanionModeUser;
453@end
454
455
456
460@interface ZoomSDKJoinMeetingHelper :NSObject
461{
463}
468- (JoinMeetingReqInfoType)getReqInfoType;
474- (ZoomSDKError)inputPassword:(NSString*)password;
475
481- (ZoomSDKError)inputMeetingScreenName:(NSString*)screenName;
482
487- (ZoomSDKError)cancel;
488@end
489
490
491@protocol ZoomSDKMeetingActionControllerDelegate <NSObject>
492
497- (void)onUserAudioStatusChange:(NSArray*)userAudioStatusArray;
498
504- (void)onUserJoin:(NSArray*)array;
505
510- (void)onUserLeft:(NSArray*)array;
511
517- (void)onUserInfoUpdate:(unsigned int)userID DEPRECATED_MSG_ATTRIBUTE("No longer used");
518
524- (void)onVirtualNameTagStatusChanged:(BOOL)bOn userID:(unsigned int)userID;
525
530- (void)onVirtualNameTagRosterInfoUpdated:(unsigned int)userID;
531
537- (void)onHostChange:(unsigned int)userID;
538
544- (void)onMeetingCoHostChanged:(unsigned int)userID isCoHost:(BOOL)isCoHost;
545
550- (void)onSpotlightVideoUserChange:(NSArray*_Nullable)spotlightedUserList;
551
558- (void)onVideoStatusChange:(ZoomSDKVideoStatus)videoStatus UserID:(unsigned int)userID;
564- (void)onLowOrRaiseHandStatusChange:(BOOL)raise UserID:(unsigned int)userID;
565
570- (void)onJoinMeetingResponse:(ZoomSDKJoinMeetingHelper*_Nullable)joinMeetingHelper;
571
576- (void)onMultiToSingleShareNeedConfirm:(ZoomSDKMultiToSingleShareConfirmHandler*_Nullable)confirmHandle;
581- (void)onActiveVideoUserChanged:(unsigned int)userID;
586- (void)onActiveSpeakerVideoUserChanged:(unsigned int)userID;
590- (void)onHostAskUnmute;
594- (void)onHostAskStartVideo;
599- (void)onUserActiveAudioChange:(NSArray *)useridArray;
600
606- (void)onUserNamesChanged:(NSArray<NSNumber*>*)userList;
607
611- (void)onInvalidReclaimHostKey;
612
617- (void)onHostVideoOrderUpdated:(NSArray*)orderList;
618
623- (void)onLocalVideoOrderUpdated:(NSArray*)localOrderList;
624
629- (void)onFollowHostVideoOrderChanged:(BOOL)follow;
630
634- (void)onAllHandsLowered;
635
641- (void)onUserVideoQualityChanged:(ZoomSDKVideoQuality)quality userID:(unsigned int)userID;
642
648- (void)onChatMsgDeleteNotification:(NSString*)msgID messageDeleteType:(ZoomSDKChatMessageDeleteType)deleteBy;
649
654- (void)onChatStatusChangedNotification:(ZoomSDKChatStatus *)chatStatus;
655
660- (void)onShareMeetingChatStatusChanged:(BOOL)isStart;
661
665- (void)onSuspendParticipantsActivities;
666
671- (void)onAllowParticipantsStartVideoNotification:(BOOL)allow;
672
677- (void)onAllowParticipantsRenameNotification:(BOOL)allow;
678
683- (void)onAllowParticipantsUnmuteSelfNotification:(BOOL)allow;
684
689- (void)onAllowParticipantsShareWhiteBoardNotification:(BOOL)allow;
690
695- (void)onMeetingLockStatus:(BOOL)isLock;
696
701- (void)onRequestLocalRecordingPrivilegeChanged:(ZoomSDKLocalRecordingRequestPrivilegeStatus)status;
702
707- (void)onAllowParticipantsRequestCloudRecording:(BOOL)allow;
712- (void)onInMeetingUserAvatarPathUpdated:(unsigned int)userID;
713
718- (void)onAICompanionActiveChangeNotice:(BOOL)active;
719
724- (void)onParticipantProfilePictureStatusChange:(BOOL)hidden;
725
730- (void)onVideoAlphaChannelStatusChanged:(BOOL)isAlphaModeOn;
731
736- (void)onFocusModeStateChanged:(BOOL)on;
737
742- (void)onFocusModeShareTypeChanged:(ZoomSDKFocusModeShareType)shareType;
743
748- (void)onMeetingQAStatusChanged:(BOOL)isMeetingQAFeatureOn;
749
754 - (void)notifyToJoin3rdPartyTelephonyAudio:(NSString*)audioInfo;
755
763- (void)onCameraControlRequestReceived:(unsigned int)userId requestType:(ZoomSDKCameraControlRequestType)requestType actionApprove:(nullable ZoomSDKError(^)(void))actionApprove actionDecline:(nullable ZoomSDKError(^)(void))actionDecline;
764
770- (void)onCameraControlRequestResult:(unsigned int)userId resultType:(ZoomSDKCameraControlRequestResult)resultType;
771
776- (void)onMuteOnEntryStatusChange:(BOOL)enable;
777
782- (void)onMeetingTopicChanged:(NSString *)topic;
783
788- (void)onBotAuthorizerRelationChanged:(unsigned int)authorizeUserID;
789
795- (void)onCreateCompanionRelation:(unsigned int)parentUserID childUserID:(unsigned int)childUserID;
796
801- (void)onRemoveCompanionRelation:(unsigned int)childUserID;
802@end
803
805{
806 id<ZoomSDKMeetingActionControllerDelegate> _delegate;
807// NSMutableArray* _participantsArray;
808}
809@property(nonatomic, assign, nullable) id<ZoomSDKMeetingActionControllerDelegate> delegate;
810
815- (NSArray*_Nullable)getParticipantsList;
823- (ZoomSDKError)actionMeetingWithCmd:(ActionMeetingCmd)cmd userID:(unsigned int)userID onScreen:(ScreenType)screen;
824
830- (ZoomSDKUserInfo*_Nullable)getUserByUserID:(unsigned int)userID;
831
836- (ZoomSDKUserInfo*_Nullable)getMyself;
837
844- (ZoomSDKError)changeUserName:(unsigned int)userID newName:(NSString*)name;
845
851- (ZoomSDKError)makeHost:(unsigned int)userID;
852
859- (ZoomSDKError)raiseHand:(BOOL)raise UserID:(unsigned int)userid;
860
866- (ZoomSDKError)expelUser:(unsigned int)userid;
867
874- (ZoomSDKError)allowLocalRecord:(BOOL)allow UserID:(unsigned int)userid;
875
880- (BOOL)isSelfOriginalHost;
881
886- (BOOL)canReclaimHost;
887
892- (ZoomSDKError)reclaimHost;
898- (ZoomSDKError)claimHostByKey:(NSString*)hostKey;
905- (ZoomSDKError)assignCoHost:(unsigned int)userid;
906
913- (ZoomSDKError)revokeCoHost:(unsigned int)userid;
914
920- (ZoomSDKError)setShareSettingType:(ZoomSDKShareSettingType)shareType;
921
927- (ZoomSDKError)getShareSettingType:(ZoomSDKShareSettingType*)type;
928
933- (BOOL)isUseOriginalSoundOn;
934
940- (ZoomSDKError)enableUseOriginalSound:(BOOL)enable;
941
946- (BOOL)isSupportUseOriginalSound;
947
954- (ZoomSDKError)swapToShowShareViewOrVideo:(BOOL)share;
955
960- (BOOL)canSwapBetweenShareViewOrVideo;
961
967- (ZoomSDKError)isDisplayingShareViewOrVideo:(BOOL*)isShowingShareView;
968
975- (ZoomSDKError)setMeetingTopicOnMeetingInfo:(NSString *)topic DEPRECATED_MSG_ATTRIBUTE("No longer used");
976
981- (BOOL)canSetMeetingTopic;
982
988- (ZoomSDKError)setMeetingTopic:(NSString *)topic;
989
994- (BOOL)canEnableMuteOnEntry;
995
1000- (BOOL)isMuteOnEntryEnabled;
1001
1006- (BOOL)isParticipantsShareAllowed;
1007
1013- (ZoomSDKError)allowParticipantsToShare:(BOOL)allow;
1014
1019- (BOOL)isParticipantsChatAllowed;
1020
1026- (ZoomSDKError)allowParticipantsToChat:(BOOL)allow;
1027
1032- (BOOL)isParticipantsRenameAllowed;
1033
1039- (ZoomSDKError)allowParticipantsToRename:(BOOL)allow;
1040
1047- (ZoomSDKError)canSpotlight:(unsigned int)userID result:(ZoomSDKSpotlightResult*)result;
1048
1055- (ZoomSDKError)canUnSpotlight:(unsigned int)userID result:(ZoomSDKSpotlightResult*)result;
1056
1062- (ZoomSDKError)spotlightVideo:(unsigned int)userID;
1063
1069- (ZoomSDKError)unSpotlightVideo:(unsigned int)userID;
1070
1075- (ZoomSDKError)unSpotlightAllVideos;
1076
1081- (NSArray*_Nullable)getSpotlightedUserList;
1082
1089- (ZoomSDKError)canPinToFirstView:(unsigned int)userID result:(ZoomSDKPinResult*)result;
1090
1096- (ZoomSDKError)pinVideoToFirstView:(unsigned int)userID;
1097
1103- (ZoomSDKError)unPinVideoFromFirstView:(unsigned int)userID;
1104
1109- (ZoomSDKError)unPinAllVideosFromFirstView;
1110
1115- (NSArray*_Nullable)getPinnedUserListFromFirstView;
1116
1123- (ZoomSDKError)canPinToSecondView:(unsigned int)userID result:(ZoomSDKPinResult*)result;
1124
1130- (ZoomSDKError)pinVideoToSecondView:(unsigned int)userID;
1131
1137- (ZoomSDKError)unPinVideoFromSecondView:(unsigned int)userID;
1138
1143- (NSArray*_Nullable)getPinnedUserListFromSecondView;
1144
1149- (BOOL)isParticipantsUnmuteSelfAllowed;
1150
1155- (BOOL)isMeetingChatLegalNoticeAvailable;
1156
1161- (NSString *)getChatLegalNoticesPrompt;
1162
1167- (NSString *)getChatLegalNoticesExplained;
1168
1173- (ZoomSDKError)enableFollowHostVideoOrder:(BOOL)enable;
1174
1180- (ZoomSDKError)setVideoOrder:(NSArray<NSNumber*>*)orderList;
1181
1186- (BOOL)isFollowHostVideoOrderOn;
1187
1192- (BOOL)isSupportFollowHostVideoOrder;
1193
1198- (NSArray<NSNumber*>*_Nullable)getVideoOrderList;
1199
1207- (ZoomSDKError)lowerAllHands:(BOOL)forWebinarAttendees;
1208
1214- (BOOL)isChatMessageCanBeDeleted:(NSString*)msgID;
1215
1221- (ZoomSDKError)deleteChatMessage:(NSString*)msgID;
1222
1227- (NSArray<NSString*>*_Nullable)getAllChatMessageID;
1228
1233- (ZoomSDKError)setParticipantsChatPrivilege:(ZoomSDKChatPrivilegeType)privilege;
1234
1239- (ZoomSDKChatStatus *_Nullable)getChatStatus;
1240
1245- (BOOL)isShareMeetingChatLegalNoticeAvailable;
1246
1251- (NSString*)getShareMeetingChatStartedLegalNoticeContent;
1252
1257- (NSString*)getShareMeetingChatStoppedLegalNoticeContent;
1258
1264- (ZoomSDKError)stopIncomingAudio:(BOOL)stop;
1265
1270- (BOOL)isIncomingAudioStopped;
1271
1277- (ZoomSDKError)stopIncomingVideo:(BOOL)stop;
1278
1283- (BOOL)isIncomingVideoStopped;
1284
1290- (ZoomSDKError)showAvatar:(BOOL)show;
1291
1296- (BOOL)isShowAvatar;
1297
1303- (ZoomSDKError)allowParticipantsToStartVideo:(BOOL)bAllow;
1304
1309- (BOOL)isParticipantsStartVideoAllowed;
1310
1316- (ZoomSDKError)allowParticipantsToShareWhiteBoard:(BOOL)bAllow;
1317
1322- (BOOL)isParticipantsShareWhiteBoardAllowed;
1323
1328- (BOOL)isParticipantRequestLocalRecordingAllowed;
1329
1335- (ZoomSDKError)allowParticipantsToRequestLocalRecording:(BOOL)bAllow;
1336
1341- (BOOL)isAutoAllowLocalRecordingRequest;
1342
1348- (ZoomSDKError)autoAllowLocalRecordingRequest:(BOOL)bAllow;
1349
1354- (BOOL)canSuspendParticipantsActivities;
1355
1360- (ZoomSDKError)suspendParticipantsActivities;
1361
1367- (ZoomSDKError)canHideParticipantProfilePictures;
1368
1373- (BOOL)isParticipantProfilePicturesHidden;
1374
1380- (ZoomSDKError)hideParticipantProfilePictures:(BOOL)hide;
1381
1386- (BOOL)canEnableAlphaChannelMode;
1387
1393- (ZoomSDKError)enableAlphaChannelMode:(BOOL)enabled;
1394
1399- (BOOL)isAlphaChannelModeEnabled;
1400
1405- (BOOL)isFocusModeEnabled;
1406
1412- (ZoomSDKError)turnFocusModeOn:(BOOL)on;
1413
1418- (BOOL)isFocusModeOn;
1419
1424- (ZoomSDKFocusModeShareType)getFocusModeShareType;
1425
1431- (ZoomSDKError)setFocusModeShareType:(ZoomSDKFocusModeShareType)shareType;
1432
1438- (ZoomSDKError)enableMeetingQAFeature:(BOOL)enable;
1439
1444- (BOOL)isMeetingQAFeatureOn;
1449- (BOOL)canEnableParticipantRequestCloudRecording;
1450
1455- (BOOL)isParticipantRequestCloudRecordingAllowed;
1456
1462- (ZoomSDKError)allowParticipantsToRequestCloudRecording:(BOOL)allow;
1463
1468- (BOOL)is3rdPartyTelephonyAudioOn;
1469
1475- (ZoomSDKUserInfo * _Nullable)getBotAuthorizedUserInfoByUserID:(unsigned int)userId;
1476
1482- (NSArray<NSNumber*>* _Nullable)getAuthorizedBotListByUserID:(unsigned int)userId;
1483
1488- (BOOL)isSupportVirtualNameTag;
1489
1495- (ZoomSDKError)enableVirtualNameTag:(BOOL)bEnabled;
1496
1503- (ZoomSDKError)updateVirtualNameTagRosterInfo:(NSArray<ZoomSDKVirtualNameTag*>*)userRoster;
1504
1509- (BOOL)isPlayMeetingAudioEnabled;
1510
1516- (ZoomSDKError)enablePlayMeetingAudio:(BOOL)bEnabled;
1517
1522- (BOOL)isSpeakerContrastEnhanceEnabled;
1523
1529- (ZoomSDKError)enableSpeakerContrastEnhance:(BOOL)bEnabled;
1530
1536- (ZoomSDKUserInfo* _Nullable)getCompanionParentUser:(unsigned int)userid;
1537
1543- (NSArray<NSNumber*>* _Nullable)getCompanionChildList:(unsigned int)userid;
1544@end
1545NS_ASSUME_NONNULL_END
UserRole
Enumeration of user roles.
ZoomSDKAudioStatus
Enumeration of Audio status.
ZoomSDKChatMessageDeleteType
Enumeration of the chat message delete type.
ZoomSDKVideoStatus
Enumeration of the status of a user's video.
ZoomSDKEmojiFeedbackType
Enumeration of emoji feedback types.
ZoomSDKRecordingStatus
Enumeration of Recording status.
ZoomSDKSpotlightResult
Enumeration of the spotlight operation result.
ZoomSDKCameraControlRequestResult
Enumeration of the results of a camera control request.
ZoomSDKChatPrivilegeType
Enumeration of the privilege for attendee chat.
ZoomSDKFocusModeShareType
Enumeration of the focus mode share type. For more information, please visit https://support....
ZoomSDKPinResult
Enumeration of the result of a pin operation.
JoinMeetingReqInfoType
Join meeting with required information.
ZoomSDKAudioType
Enumeration of the type of a user's audio connection.
ScreenType
Enumeration of screen types for multi-sharing.
ZoomSDKError
Enumeration of common errors of SDK.
ZoomSDKChatMessageType
Enumeration of the type for chat message.
ZoomSDKVideoQuality
Enumeration of video quality.
ZoomSDKShareSettingType
Enumeration of sharing types.
ActionMeetingCmd
An enumeration of all the commands in the meeting.
ZoomSDKLocalRecordingRequestPrivilegeStatus
Enumeration of local recording request privilege settings.
ZoomSDKCameraControlRequestType
Enumeration of camera control requests types.
ZOOM SDK chat information.
ZoomSDKChatMessageType _chatMessageType
ZOOM SDK chat privilege info.
id< ZoomSDKMeetingActionControllerDelegate > _delegate
ZoomSDKError confirmSwitch()
Confirm to switch to single share from multi-share. All the shares are stopped.
ZoomSDKError cancelSwitch()
Cancel to switch to single share from multi-share. All the shares are remained.
ZOOM SDK normal meeting chat privilege info.
ZOOM SDK user information.
ZOOM SDK webinar attendee chat privilege info.
ZOOM SDK Attendee's status in the webinar.
ZOOM SDK webinar panelist chat privilege info.