Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKCloseCaptionController.h
Go to the documentation of this file.
1
2
3#import <Foundation/Foundation.h>
4#import <ZoomSDK/ZoomSDKErrors.h>
5
6NS_ASSUME_NONNULL_BEGIN
12@interface ZoomSDKCCRequestHandler : NSObject
16@property (nonatomic, assign, readonly) unsigned int senderUserID;
17
21@property (nonatomic, assign, readonly) BOOL isRequestTranslationOn;
27@end
28
34- (ZoomSDKError)approveStartCaptionsRequest;
35@end
36
43- (ZoomSDKError)approveStartCaptionsRequest:(int)languageID;
44@end
45
53@property (nonatomic, copy, readonly, nullable) NSString *messageID;
54
58@property (nonatomic, assign, readonly) unsigned int speakerID;
59
63@property (nonatomic, copy, readonly, nullable) NSString *speakerName;
64
68@property (nonatomic, copy, readonly, nullable) NSString *messageContent;
69
73@property (nonatomic, assign, readonly) time_t timeStamp;
74
78@property (nonatomic, assign, readonly) ZoomSDKLiveTranscriptionOperationType messageType;
79
80@end
81
82
84@property(nonatomic, assign, readonly) int languageID;
85@property(nonatomic, copy, readonly, nullable) NSString* languageName;
86@end
87
88
89@protocol ZoomSDKCloseCaptionControllerDelegate <NSObject>
90@optional
91
95- (void)onGetCCPrivilege;
96
100- (void)onLostCCPrivilege;
101
108- (void)onReceiveCCMessageWithString:(NSString*)inString senderID:(unsigned int)senderID;
109
114- (void)onReceiveCCRealtimeMessage:(NSString *)realtimeMessage;
115
120- (void)onLiveTranscriptionStatus:(ZoomSDKLiveTranscriptionStaus)status;
121
126- (void)onLiveTranscriptionMsgInfoReceived:(ZoomSDKLiveTranscriptionMessageInfo*_Nullable)messageInfo;
127
132- (void)onOriginalLanguageMsgReceived:(ZoomSDKLiveTranscriptionMessageInfo*_Nullable)messageInfo;
133
139- (void)onLiveTranscriptionMsgError:(ZoomSDKLiveTranscriptionLanguage*_Nullable)spokenLanguage transcriptLanguage:(ZoomSDKLiveTranscriptionLanguage*_Nullable)transcriptLanguage;
140
147- (void)onRequestForLiveTranscriptReceived:(unsigned int)requesterID anonymous:(BOOL)bAnonymous;
148
153- (void)onRequestLiveTranscriptionStatusChange:(BOOL)bEnabled;
154
159- (void)onCaptionStatusChanged:(BOOL)enable;
160
165- (void)onStartCaptionsRequestReceived:(ZoomSDKCCRequestHandler *)handler;
166
170- (void)onStartCaptionsRequestApproved;
171
176- (void)onManualCaptionStatusChanged:(BOOL)bEnabled;
177@end
178
179@interface ZoomSDKCloseCaptionController : NSObject
180{
181 id<ZoomSDKCloseCaptionControllerDelegate> _delegate;
182
183}
184@property(nonatomic, assign, nullable)id<ZoomSDKCloseCaptionControllerDelegate> delegate;
185
190- (BOOL)isMeetingSupportCloseCaption;
191
196- (BOOL)canAssignOthersToSendCC;
197
203- (BOOL)canBeAssignedToSendCC:(unsigned int)userID;
204
209- (BOOL)canSendClosedCaption;
210
215- (BOOL)isCanSaveClosedCaption;
216
221- (BOOL)is3rdPartCCServerAvailable;
222
228- (ZoomSDKError)withdrawCCPrivilegeForUser:(unsigned int)userID;
229
235- (ZoomSDKError)assignCCPrivilegeTo:(unsigned int)userID;
236
242- (ZoomSDKError)sendClosedCaptionMessage:(NSString*)ccString;
243
248- (ZoomSDKError)saveCCHistory;
249
254- (NSString*)getClosedCaptionHistorySavedPath;
255
261- (ZoomSDKError)getClosedCaptionUrlFor3rdParty:(NSString*_Nullable*_Nonnull)thirdPartyURL;
262
267- (BOOL)isLiveTranscriptLegalNoticeAvailable;
268
273- (NSString *)getLiveTranscriptLegalNoticesPrompt;
274
279- (NSString *)getLiveTranscriptLegalNoticesExplained;
280
285- (BOOL)isLiveTranscriptionFeatureEnabled;
286
291- (BOOL)isMultiLanguageTranscriptionEnabled;
292
297- (BOOL)isTextLiveTranslationEnabled;
298
303- (ZoomSDKLiveTranscriptionStaus)getLiveTranscriptionStatus;
304
309- (ZoomSDKError)canStartLiveTranscription;
310
316- (ZoomSDKError)startLiveTranscription;
317
323- (ZoomSDKError)stopLiveTranscription;
324
331- (ZoomSDKError)enableRequestLiveTranscription:(BOOL)bEnable;
332
338- (ZoomSDKError)isRequestToStartLiveTranscriptionEnabled;
339
346- (ZoomSDKError)requestToStartLiveTranscription:(BOOL)bAnonymous;
347
353- (ZoomSDKError)enableMeetingManualCaption:(BOOL)bEnable;
354
359- (BOOL)isMeetingManualCaptionEnabled;
360
365- (NSArray<ZoomSDKLiveTranscriptionLanguage*>*)getAvailableMeetingSpokenLanguages;
366
373- (ZoomSDKError)setMeetingSpokenLanguage:(int)languageID DEPRECATED_MSG_ATTRIBUTE("Use -setMeetingSpokenLanguage:isForAll: instead");
374
381- (ZoomSDKError)setMeetingSpokenLanguage:(int)languageID isForAll:(BOOL)isForAll;
382
387- (ZoomSDKLiveTranscriptionLanguage*)getMeetingSpokenLanguage;
388
393- (NSArray<ZoomSDKLiveTranscriptionLanguage*>*)getAvailableTranslationLanguages;
394
400- (ZoomSDKError)setTranslationLanguage:(int)languageID;
401
406- (ZoomSDKLiveTranscriptionLanguage*)getTranslationLanguage;
407
412- (ZoomSDKError)enableReceiveSpokenLanguageContent:(BOOL)enable;
413
418- (BOOL)isReceiveSpokenLanguageContentEnabled;
419
424- (BOOL)canDisableCaptions;
425
431- (ZoomSDKError)enableCaptions:(BOOL)enable;
432
437- (BOOL)isCaptionsEnabled;
438
443- (BOOL)isSupportRequestCaptions;
444
449- (BOOL)isSupportTranslationWhenRequestToStartCaptions;
450
456- (ZoomSDKError)requestToStartCaptions:(BOOL)enableTranslation;
457@end
458NS_ASSUME_NONNULL_END
ZoomSDKLiveTranscriptionStaus
Enumeration of live transcription status in a meeting.
ZoomSDKError
Enumeration of common errors of SDK.
ZoomSDKLiveTranscriptionOperationType
Enumeration of live transcription operation types.
The helper to handle the requested of start captions.
ZoomSDKError deny()
Deny the request to start captions.
unsigned int senderUserID
The user ID of the user who send the start captions request.
id< ZoomSDKCloseCaptionControllerDelegate > _delegate
Live transcription message interface.