Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKMeetingActionController.h
Go to the documentation of this file.
1
7#import <ZoomSDK/ZoomSDKErrors.h>
8#import <ZoomSDK/ZoomSDKMeetingChatController.h>
9NS_ASSUME_NONNULL_BEGIN
10
16@interface ZoomSDKGrantCoOwnerAssetsInfo : NSObject
20@property (assign, nonatomic) BOOL isGranted;
24@property (assign,nonatomic, readonly) ZoomSDKGrantCoOwnerAssetsType assetType;
28@property (assign,nonatomic, readonly) BOOL isAssetsLocked;
29@end
30
40- (ZoomSDKError)cancelSwitch;
45- (ZoomSDKError)confirmSwitch;
46@end
47
52@interface ZoomSDKChatInfo : NSObject
53{
54 unsigned int _sendID;
55 unsigned int _receiverID;
56 NSString* _sendName;
57 NSString* _receiverName;
58 NSString* _content;
59 time_t _timestamp;
62}
67- (unsigned int)getSenderUserID;
72- (NSString*)getSenderDisplayName;
77- (unsigned int)getReceiverUserID;
82- (NSString*)getReceiverDisplayName;
87- (NSString*)getMsgContent;
92- (time_t)getTimeStamp;
97- (BOOL)isChatToWaitingRoom;
102- (ZoomSDKChatMessageType)getChatMessageType;
107- (NSString*)getMessageID;
108
113- (BOOL)isComment;
114
119- (BOOL)isThread;
120
125- (NSArray<ZoomSDKRichTextStyleItem *> *_Nullable)getTextStyleItemList DEPRECATED_MSG_ATTRIBUTE("No longer used");
126
131- (NSArray<ZoomSDKChatMsgSegmentDetails *> *_Nullable)getSegmentDetails;
132
137- (NSString*)getThreadID;
138@end
139
148@property (assign,nonatomic,readonly) BOOL canChat;
152@property (assign,nonatomic,readonly) BOOL canChatToAll;
156@property (assign,nonatomic,readonly) BOOL canChatToIndividual;
160@property (assign,nonatomic,readonly) BOOL isOnlyCanChatToHost;
161@end
162
171@property (assign,nonatomic,readonly) BOOL canChat;
175@property (assign,nonatomic,readonly) BOOL canChatToAllPanellistAndAttendee;
179@property (assign,nonatomic,readonly) BOOL canChatToAllPanellist;
180@end
181
190@property (assign,nonatomic,readonly) BOOL canChatToAllPanellist;
194@property (assign,nonatomic,readonly) BOOL canChatToAllPanellistAndAttendee;
198@property (assign,nonatomic,readonly) BOOL canChatToIndividual;
199@end
200
205@interface ZoomSDKChatStatus : NSObject
210- (ZoomSDKNormalMeetingChatPrivilege *)getNormalMeetingPrivilege;
215- (ZoomSDKWebinarAttendeeChatPrivilege *)getWebinarAttendeePrivilege;
220- (ZoomSDKWebinarPanelistChatPrivilege *)getWebinarPanelistPrivilege;
225- (BOOL)isSupportChat;
230- (BOOL)isWebinarAttendee;
235- (BOOL)isWebinarMeeting;
236@end
237
242@interface ZoomSDKUserAudioStatus : NSObject
243{
244 unsigned int _userID;
247}
252- (unsigned int)getUserID;
257- (ZoomSDKAudioStatus)getStatus;
262- (ZoomSDKAudioType)getType;
263@end
264
265
270@interface ZoomSDKWebinarAttendeeStatus : NSObject
271{
273}
277@property(nonatomic, assign)BOOL isAttendeeCanTalk;
278@end
279
280
285@interface ZoomSDKVirtualNameTag : NSObject
289@property (nonatomic, assign) int tagID;
290
294@property (nonatomic, copy, nullable) NSString *tagName;
295@end
296
297
302@interface ZoomSDKUserInfo :NSObject
303{
304 unsigned int _userID;
305}
310- (BOOL)isMySelf;
315- (NSString*_Nullable)getUserName;
320- (unsigned int)getUserID;
321
326- (NSString*_Nullable)getAvatarPath;
327
332- (BOOL)isHost;
337- (BOOL)isVideoOn;
338
343- (ZoomSDKAudioStatus)getAudioStatus;
348- (ZoomSDKAudioType)getAudioType;
353- (UserRole)getUserRole;
358- (BOOL)isPurePhoneUser;
363- (BOOL)isH323User;
368- (BOOL)canBeCoHost;
369
374- (BOOL)canBeCoOwner;
375
380- (ZoomSDKWebinarAttendeeStatus*_Nullable)GetWebinarAttendeeStatus;
381
386- (BOOL)isTalking;
387
392- (NSString *_Nullable)getCustomerKey;
393
398- (BOOL)isInterpreter;
399
404- (BOOL)isSignLanguageInterpreter;
405
410- (NSString *_Nullable)getInterpreterActiveLanguage;
411
416- (BOOL)isRaisingHand;
417
422- (ZoomSDKRecordingStatus)getLocalRecordingStatus;
423
428- (NSString *_Nullable)getPersistentId;
429
434- (BOOL)isRawLiveStreaming;
435
440- (BOOL)hasRawLiveStreamPrivilege;
441
446- (ZoomSDKEmojiFeedbackType)getEmojiFeedbackType;
447
452- (BOOL)hasCamera;
453
458- (BOOL)isInWaitingRoom;
459
464- (BOOL)isInWebinarBackstage;
465
470- (BOOL)isClosedCaptionSender;
471
476- (BOOL)isProductionStudioUser;
477
482- (unsigned int)getProductionStudioParent;
483
488- (BOOL)isBotUser;
489
494- (NSString * _Nullable)getBotAppName;
495
500- (BOOL)isVirtualNameTagEnabled;
501
506- (nullable NSArray<ZoomSDKVirtualNameTag*> *)getVirtualNameTagArray;
507
512- (BOOL)isCompanionModeUser;
513
519- (NSArray <ZoomSDKGrantCoOwnerAssetsInfo *>* _Nullable)getGrantCoOwnerAssetsInfo;
520
525- (BOOL)isAudioOnlyUser;
526@end
527
528
529
534@interface ZoomSDKJoinMeetingHelper :NSObject
535{
537}
542- (JoinMeetingReqInfoType)getReqInfoType;
548- (ZoomSDKError)inputPassword:(NSString*)password;
549
555- (ZoomSDKError)inputMeetingScreenName:(NSString*)screenName;
556
561- (ZoomSDKError)cancel;
562@end
563
564
569@protocol ZoomSDKMeetingActionControllerDelegate <NSObject>
570
575- (void)onUserAudioStatusChange:(NSArray*)userAudioStatusArray;
576
582- (void)onUserJoin:(NSArray*)array;
583
588- (void)onUserLeft:(NSArray*)array;
589
595- (void)onUserInfoUpdate:(unsigned int)userID DEPRECATED_MSG_ATTRIBUTE("No longer used");
596
602- (void)onVirtualNameTagStatusChanged:(BOOL)bOn userID:(unsigned int)userID;
603
608- (void)onVirtualNameTagRosterInfoUpdated:(unsigned int)userID;
609
615- (void)onHostChange:(unsigned int)userID;
616
622- (void)onMeetingCoHostChanged:(unsigned int)userID isCoHost:(BOOL)isCoHost;
623
628- (void)onSpotlightVideoUserChange:(NSArray*_Nullable)spotlightedUserList;
629
636- (void)onVideoStatusChange:(ZoomSDKVideoStatus)videoStatus UserID:(unsigned int)userID;
642- (void)onLowOrRaiseHandStatusChange:(BOOL)raise UserID:(unsigned int)userID;
643
648- (void)onJoinMeetingResponse:(ZoomSDKJoinMeetingHelper*_Nullable)joinMeetingHelper;
649
654- (void)onMultiToSingleShareNeedConfirm:(ZoomSDKMultiToSingleShareConfirmHandler*_Nullable)confirmHandle;
659- (void)onActiveVideoUserChanged:(unsigned int)userID;
664- (void)onActiveSpeakerVideoUserChanged:(unsigned int)userID;
668- (void)onHostAskUnmute;
672- (void)onHostAskStartVideo;
677- (void)onUserActiveAudioChange:(NSArray *)useridArray;
678
684- (void)onUserNamesChanged:(NSArray<NSNumber*>*)userList;
685
689- (void)onInvalidReclaimHostKey;
690
695- (void)onHostVideoOrderUpdated:(NSArray*)orderList;
696
701- (void)onLocalVideoOrderUpdated:(NSArray*)localOrderList;
702
707- (void)onFollowHostVideoOrderChanged:(BOOL)follow;
708
712- (void)onAllHandsLowered;
713
719- (void)onUserVideoQualityChanged:(ZoomSDKVideoQuality)quality userID:(unsigned int)userID;
720
726- (void)onChatMsgDeleteNotification:(NSString*)msgID messageDeleteType:(ZoomSDKChatMessageDeleteType)deleteBy;
727
732- (void)onChatStatusChangedNotification:(ZoomSDKChatStatus *)chatStatus;
733
738- (void)onShareMeetingChatStatusChanged:(BOOL)isStart;
739
743- (void)onSuspendParticipantsActivities;
744
749- (void)onAllowParticipantsStartVideoNotification:(BOOL)allow;
750
755- (void)onAllowParticipantsRenameNotification:(BOOL)allow;
756
761- (void)onAllowParticipantsUnmuteSelfNotification:(BOOL)allow;
762
767- (void)onAllowParticipantsShareWhiteBoardNotification:(BOOL)allow;
768
773- (void)onMeetingLockStatus:(BOOL)isLock;
774
779- (void)onRequestLocalRecordingPrivilegeChanged:(ZoomSDKLocalRecordingRequestPrivilegeStatus)status;
780
785- (void)onAllowParticipantsRequestCloudRecording:(BOOL)allow;
790- (void)onInMeetingUserAvatarPathUpdated:(unsigned int)userID;
791
796- (void)onAICompanionActiveChangeNotice:(BOOL)active;
797
802- (void)onParticipantProfilePictureStatusChange:(BOOL)hidden;
803
808- (void)onVideoAlphaChannelStatusChanged:(BOOL)isAlphaModeOn;
809
814- (void)onFocusModeStateChanged:(BOOL)on;
815
820- (void)onFocusModeShareTypeChanged:(ZoomSDKFocusModeShareType)shareType;
821
826- (void)onMeetingQAStatusChanged:(BOOL)isMeetingQAFeatureOn;
827
832 - (void)notifyToJoin3rdPartyTelephonyAudio:(NSString*)audioInfo;
833
841- (void)onCameraControlRequestReceived:(unsigned int)userId requestType:(ZoomSDKCameraControlRequestType)requestType actionApprove:(nullable ZoomSDKError(^)(void))actionApprove actionDecline:(nullable ZoomSDKError(^)(void))actionDecline;
842
848- (void)onCameraControlRequestResult:(unsigned int)userId resultType:(ZoomSDKCameraControlRequestResult)resultType;
849
854- (void)onMuteOnEntryStatusChange:(BOOL)enable;
855
860- (void)onMeetingTopicChanged:(NSString *)topic;
861
866- (void)onBotAuthorizerRelationChanged:(unsigned int)authorizeUserID;
867
873- (void)onCreateCompanionRelation:(unsigned int)parentUserID childUserID:(unsigned int)childUserID;
874
879- (void)onRemoveCompanionRelation:(unsigned int)childUserID;
880
885- (void)onGrantCoOwnerPrivilegeChanged:(BOOL)canGrantOther;
886@end
887
888
894{
895 id<ZoomSDKMeetingActionControllerDelegate> _delegate;
896}
900@property(nonatomic, assign, nullable) id<ZoomSDKMeetingActionControllerDelegate> delegate;
901
906- (NSArray*_Nullable)getParticipantsList;
914- (ZoomSDKError)actionMeetingWithCmd:(ActionMeetingCmd)cmd userID:(unsigned int)userID onScreen:(ScreenType)screen;
915
921- (ZoomSDKUserInfo*_Nullable)getUserByUserID:(unsigned int)userID;
922
927- (ZoomSDKUserInfo*_Nullable)getMyself;
928
935- (ZoomSDKError)changeUserName:(unsigned int)userID newName:(NSString*)name;
936
942- (ZoomSDKError)makeHost:(unsigned int)userID;
943
950- (ZoomSDKError)raiseHand:(BOOL)raise UserID:(unsigned int)userid;
951
957- (ZoomSDKError)expelUser:(unsigned int)userid;
958
965- (ZoomSDKError)allowLocalRecord:(BOOL)allow UserID:(unsigned int)userid;
966
971- (BOOL)isSelfOriginalHost;
972
977- (BOOL)canReclaimHost;
978
983- (ZoomSDKError)reclaimHost;
989- (ZoomSDKError)claimHostByKey:(NSString*)hostKey;
996- (ZoomSDKError)assignCoHost:(unsigned int)userid;
997
1004- (ZoomSDKError)revokeCoHost:(unsigned int)userid;
1005
1011- (ZoomSDKError)setShareSettingType:(ZoomSDKShareSettingType)shareType;
1012
1018- (ZoomSDKError)getShareSettingType:(ZoomSDKShareSettingType*)type;
1019
1024- (BOOL)isUseOriginalSoundOn;
1025
1031- (ZoomSDKError)enableUseOriginalSound:(BOOL)enable;
1032
1037- (BOOL)isSupportUseOriginalSound;
1038
1045- (ZoomSDKError)swapToShowShareViewOrVideo:(BOOL)share;
1046
1051- (BOOL)canSwapBetweenShareViewOrVideo;
1052
1058- (ZoomSDKError)isDisplayingShareViewOrVideo:(BOOL*)isShowingShareView;
1059
1066- (ZoomSDKError)setMeetingTopicOnMeetingInfo:(NSString *)topic DEPRECATED_MSG_ATTRIBUTE("No longer used");
1067
1072- (BOOL)canSetMeetingTopic;
1073
1079- (ZoomSDKError)setMeetingTopic:(NSString *)topic;
1080
1085- (BOOL)canEnableMuteOnEntry;
1086
1091- (BOOL)isMuteOnEntryEnabled;
1092
1097- (BOOL)isParticipantsShareAllowed;
1098
1104- (ZoomSDKError)allowParticipantsToShare:(BOOL)allow;
1105
1110- (BOOL)isParticipantsChatAllowed;
1111
1117- (ZoomSDKError)allowParticipantsToChat:(BOOL)allow;
1118
1123- (BOOL)isParticipantsRenameAllowed;
1124
1130- (ZoomSDKError)allowParticipantsToRename:(BOOL)allow;
1131
1138- (ZoomSDKError)canSpotlight:(unsigned int)userID result:(ZoomSDKSpotlightResult*)result;
1139
1146- (ZoomSDKError)canUnSpotlight:(unsigned int)userID result:(ZoomSDKSpotlightResult*)result;
1147
1153- (ZoomSDKError)spotlightVideo:(unsigned int)userID;
1154
1160- (ZoomSDKError)unSpotlightVideo:(unsigned int)userID;
1161
1166- (ZoomSDKError)unSpotlightAllVideos;
1167
1172- (NSArray*_Nullable)getSpotlightedUserList;
1173
1180- (ZoomSDKError)canPinToFirstView:(unsigned int)userID result:(ZoomSDKPinResult*)result;
1181
1187- (ZoomSDKError)pinVideoToFirstView:(unsigned int)userID;
1188
1194- (ZoomSDKError)unPinVideoFromFirstView:(unsigned int)userID;
1195
1200- (ZoomSDKError)unPinAllVideosFromFirstView;
1201
1206- (NSArray*_Nullable)getPinnedUserListFromFirstView;
1207
1214- (ZoomSDKError)canPinToSecondView:(unsigned int)userID result:(ZoomSDKPinResult*)result;
1215
1221- (ZoomSDKError)pinVideoToSecondView:(unsigned int)userID;
1222
1228- (ZoomSDKError)unPinVideoFromSecondView:(unsigned int)userID;
1229
1234- (NSArray*_Nullable)getPinnedUserListFromSecondView;
1235
1240- (BOOL)isParticipantsUnmuteSelfAllowed;
1241
1246- (BOOL)isMeetingChatLegalNoticeAvailable;
1247
1252- (NSString *)getChatLegalNoticesPrompt;
1253
1258- (NSString *)getChatLegalNoticesExplained;
1259
1264- (ZoomSDKError)enableFollowHostVideoOrder:(BOOL)enable;
1265
1271- (ZoomSDKError)setVideoOrder:(NSArray<NSNumber*>*)orderList;
1272
1277- (BOOL)isFollowHostVideoOrderOn;
1278
1283- (BOOL)isSupportFollowHostVideoOrder;
1284
1289- (NSArray<NSNumber*>*_Nullable)getVideoOrderList;
1290
1298- (ZoomSDKError)lowerAllHands:(BOOL)forWebinarAttendees;
1299
1305- (BOOL)isChatMessageCanBeDeleted:(NSString*)msgID;
1306
1312- (ZoomSDKError)deleteChatMessage:(NSString*)msgID;
1313
1318- (NSArray<NSString*>*_Nullable)getAllChatMessageID;
1319
1325- (ZoomSDKError)setParticipantsChatPrivilege:(ZoomSDKChatPrivilegeType)privilege;
1326
1331- (ZoomSDKChatStatus *_Nullable)getChatStatus;
1332
1337- (BOOL)isShareMeetingChatLegalNoticeAvailable;
1338
1343- (NSString*)getShareMeetingChatStartedLegalNoticeContent;
1344
1349- (NSString*)getShareMeetingChatStoppedLegalNoticeContent;
1350
1356- (ZoomSDKError)stopIncomingAudio:(BOOL)stop;
1357
1362- (BOOL)isIncomingAudioStopped;
1363
1369- (ZoomSDKError)stopIncomingVideo:(BOOL)stop;
1370
1375- (BOOL)isIncomingVideoStopped;
1376
1382- (ZoomSDKError)showAvatar:(BOOL)show;
1383
1388- (BOOL)isShowAvatar;
1389
1395- (ZoomSDKError)allowParticipantsToStartVideo:(BOOL)bAllow;
1396
1401- (BOOL)isParticipantsStartVideoAllowed;
1402
1408- (ZoomSDKError)allowParticipantsToShareWhiteBoard:(BOOL)bAllow;
1409
1414- (BOOL)isParticipantsShareWhiteBoardAllowed;
1415
1420- (BOOL)isParticipantRequestLocalRecordingAllowed;
1421
1427- (ZoomSDKError)allowParticipantsToRequestLocalRecording:(BOOL)bAllow;
1428
1433- (BOOL)isAutoAllowLocalRecordingRequest;
1434
1440- (ZoomSDKError)autoAllowLocalRecordingRequest:(BOOL)bAllow;
1441
1446- (BOOL)canSuspendParticipantsActivities;
1447
1452- (ZoomSDKError)suspendParticipantsActivities;
1453
1459- (ZoomSDKError)canHideParticipantProfilePictures;
1460
1465- (BOOL)isParticipantProfilePicturesHidden;
1466
1472- (ZoomSDKError)hideParticipantProfilePictures:(BOOL)hide;
1473
1478- (BOOL)canEnableAlphaChannelMode;
1479
1485- (ZoomSDKError)enableAlphaChannelMode:(BOOL)enabled;
1486
1491- (BOOL)isAlphaChannelModeEnabled;
1492
1497- (BOOL)isFocusModeEnabled;
1498
1504- (ZoomSDKError)turnFocusModeOn:(BOOL)on;
1505
1510- (BOOL)isFocusModeOn;
1511
1516- (ZoomSDKFocusModeShareType)getFocusModeShareType;
1517
1523- (ZoomSDKError)setFocusModeShareType:(ZoomSDKFocusModeShareType)shareType;
1524
1530- (ZoomSDKError)enableMeetingQAFeature:(BOOL)enable;
1531
1536- (BOOL)isMeetingQAFeatureOn;
1541- (BOOL)canEnableParticipantRequestCloudRecording;
1542
1547- (BOOL)isParticipantRequestCloudRecordingAllowed;
1548
1554- (ZoomSDKError)allowParticipantsToRequestCloudRecording:(BOOL)allow;
1555
1560- (BOOL)is3rdPartyTelephonyAudioOn;
1561
1567- (ZoomSDKUserInfo * _Nullable)getBotAuthorizedUserInfoByUserID:(unsigned int)userId;
1568
1574- (NSArray<NSNumber*>* _Nullable)getAuthorizedBotListByUserID:(unsigned int)userId;
1575
1580- (BOOL)isSupportVirtualNameTag;
1581
1587- (ZoomSDKError)enableVirtualNameTag:(BOOL)bEnabled;
1588
1595- (ZoomSDKError)updateVirtualNameTagRosterInfo:(NSArray<ZoomSDKVirtualNameTag*>*)userRoster;
1596
1601- (BOOL)isPlayMeetingAudioEnabled;
1602
1608- (ZoomSDKError)enablePlayMeetingAudio:(BOOL)bEnabled;
1609
1614- (BOOL)isSpeakerContrastEnhanceEnabled;
1615
1621- (ZoomSDKError)enableSpeakerContrastEnhance:(BOOL)bEnabled;
1622
1628- (ZoomSDKUserInfo* _Nullable)getCompanionParentUser:(unsigned int)userid;
1629
1635- (NSArray<NSNumber*>* _Nullable)getCompanionChildList:(unsigned int)userid;
1636
1645- (ZoomSDKError)assignCoHostWithAssetsPrivilege:(unsigned int)userid infoList:(NSArray<ZoomSDKGrantCoOwnerAssetsInfo *>*)infoList;
1646
1655- (ZoomSDKError)makeHostWithAssetsPrivilege:(unsigned int)userid infoList:(NSArray<ZoomSDKGrantCoOwnerAssetsInfo *>*)infoList;
1656@end
1657NS_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.
ZoomSDKGrantCoOwnerAssetsType
Enumeration of asset type.
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
Enumeration of all the commands in the meeting.
ZoomSDKLocalRecordingRequestPrivilegeStatus
Enumeration of local recording request privilege settings.
ZoomSDKCameraControlRequestType
Enumeration of camera control requests types.
Represents a chat message in the meeting.
ZoomSDKChatMessageType _chatMessageType
Define detailed attributes for a chat message segment.
Provides access to the chat privileges for different user roles in a meeting or webinar.
This class provides properties to specify and manage the privileges associated with different types o...
BOOL isAssetsLocked
Indicates whether the asset is locked, preventing any modifications. This is a read-only property.
BOOL isGranted
Indicates whether the specified privilege is granted for managing the asset. This is a writable prope...
ZoomSDKGrantCoOwnerAssetsType assetType
Specifies the type of asset (such as smart summary, cloud recording) for which the privilege applies....
Helper interface for handling the process of joining a meeting, such as inputting password or display...
Interface for managing participant-related actions in a meeting, such as retrieving participant list,...
id< ZoomSDKMeetingActionControllerDelegate > _delegate
Handles confirmation for switching from multi-share to single-share mode during screen sharing.
Represents the chat privileges of a participant in a normal meeting.
Represents a rich-text style and associated style ranges.
Represents a user's audio connection status and audio type in the meeting.
Provides detailed information about a user in a meeting.
Represents a virtual name tag.
Represents the chat privileges of a webinar attendee in a meeting.
Represents the webinar attendee status in a meeting.
Represents the chat privileges of a webinar panelist in a meeting.