Meeting SDK for Windows API Reference
Loading...
Searching...
No Matches
meeting_closedcaption_interface.h
Go to the documentation of this file.
1
6#ifndef _MEETING_CLOSEDCAPTION_INTERFACE_H_
7#define _MEETING_CLOSEDCAPTION_INTERFACE_H_
8#include "zoom_sdk_def.h"
9
25
38
44{
45public:
46 virtual int GetLTTLanguageID() = 0;
47 virtual const zchar_t* GetLTTLanguageName() = 0;
49};
50
56{
57public:
62 virtual const zchar_t* GetMessageID() = 0;
63
68 virtual unsigned int GetSpeakerID() = 0;
69
74 virtual const zchar_t* GetSpeakerName() = 0;
75
80 virtual const zchar_t* GetMessageContent() = 0;
81
86 virtual time_t GetTimeStamp() = 0;
87
93
95};
96
104{
105public:
110 virtual bool IsRequestTranslationOn() = 0;
111
116 virtual unsigned int GetSenderUserId() = 0;
117
122 virtual SDKError Deny() = 0;
123
124 virtual ~ICCRequestHandler() {};
125};
126
138
140{
141public:
147 virtual SDKError ApproveStartCaptionsRequest(int languageId) = 0;
148
150};
151
152
158{
159public:
161
165 virtual void onAssignedToSendCC(bool bAssigned) = 0;
166
175 virtual void onClosedCaptionMsgReceived(const zchar_t* ccMsg, unsigned int sender_id, time_t time) = 0;
176
182
188
194
200 virtual void onLiveTranscriptionMsgError(ILiveTranscriptionLanguage* spokenLanguage, ILiveTranscriptionLanguage* transcriptLanguage) = 0;
201
207 virtual void onRequestForLiveTranscriptReceived(unsigned int requester_id, bool bAnonymous) = 0;
208
213 virtual void onRequestLiveTranscriptionStatusChange(bool bEnabled) = 0;
214
219 virtual void onCaptionStatusChanged(bool bEnabled) = 0;
220
226
231
236 virtual void onManualCaptionStatusChanged(bool bEnabled) = 0;
237
242 virtual void onSpokenLanguageChanged(ILiveTranscriptionLanguage* spokenLanguage) = 0;
243};
244
250{
251public:
256
260 virtual bool IsMeetingSupportCC() = 0;
261
265 virtual bool CanAssignOthersToSendCC() = 0;
266
271 virtual SDKError AssignCCPrivilege(unsigned int userid, bool bAssigned) = 0;
272
276 virtual bool CanBeAssignedToSendCC(unsigned int userid) = 0;
277
281 virtual bool CanSendClosedCaption() = 0;
282
286 virtual SDKError SendClosedCaption(const zchar_t* ccMsg) = 0;
287
291 virtual bool IsSaveCCEnabled() = 0;
292
296 virtual SDKError SaveCCHistory() = 0;
297
302
307
312 virtual SDKError EnableMeetingManualCaption(bool bEnable) = 0;
313
318
324
330
335 virtual bool CanDisableCaptions() = 0;
336
342 virtual SDKError EnableCaptions(bool bEnable) = 0;
343
348 virtual bool IsCaptionsEnabled() = 0;
349
355
360
365
370
375
380
386
390 virtual bool CanStartLiveTranscription() = 0;
391
398
405
411 virtual SDKError EnableRequestLiveTranscription(bool bEnable) = 0;
412
418
425 virtual SDKError RequestToStartLiveTranscription(bool bRequestAnonymous) = 0;
426
432
439 virtual SDKError SetMeetingSpokenLanguage(int languageID) = 0;
440
445
451
458 virtual SDKError SetTranslationLanguage(int languageID) = 0;
459
464
469 virtual bool IsSupportRequestCaptions() = 0;
470
476
482 virtual SDKError RequestToStartCaptions(bool bEnableTranslation) = 0;
483
490 virtual SDKError SetMeetingSpokenLanguage(int languageID, bool bIsForAll) = 0;
491};
492
494#endif
The helper to handle the requested of start captions. When IsRequestTranslationOn is true,...
virtual unsigned int GetSenderUserId()=0
Gets the user ID of the user who sent the request.
virtual bool IsRequestTranslationOn()=0
Determines whether the request is to start captions with translation on.
virtual SDKError Deny()=0
Declines the request to start captions.
virtual SDKError ApproveStartCaptionsRequest(int languageId)=0
Approves the start captions request.
virtual SDKError ApproveStartCaptionsRequest()=0
Approves the start captions request.
Closed Caption controller callback event.
virtual void onLiveTranscriptionMsgError(ILiveTranscriptionLanguage *spokenLanguage, ILiveTranscriptionLanguage *transcriptLanguage)=0
The translation message error callback.
virtual void onClosedCaptionMsgReceived(const zchar_t *ccMsg, unsigned int sender_id, time_t time)=0
Callback event when the user receives Closed Caption messages. If the meeting supports multi-language...
virtual void onSpokenLanguageChanged(ILiveTranscriptionLanguage *spokenLanguage)=0
Callback when the spoken language is changed.
virtual void onStartCaptionsRequestReceived(ICCRequestHandler *handler)=0
Sink the event to start captions request.
virtual void onLiveTranscriptionMsgInfoReceived(ILiveTranscriptionMessageInfo *messageInfo)=0
live transcription message received callback.
virtual void onOriginalLanguageMsgReceived(ILiveTranscriptionMessageInfo *messageInfo)=0
original language message received callback.
virtual void onManualCaptionStatusChanged(bool bEnabled)=0
Sink the event of manual captions enablement status change.
virtual void onLiveTranscriptionStatus(SDKLiveTranscriptionStatus status)=0
live transcription status changed callback.
virtual void onCaptionStatusChanged(bool bEnabled)=0
Sink the event of captions enabled status changed.
virtual void onStartCaptionsRequestApproved()=0
Sink the event to start captions request was approved.
virtual void onRequestLiveTranscriptionStatusChange(bool bEnabled)=0
request live transcription status changed callback.
virtual void onRequestForLiveTranscriptReceived(unsigned int requester_id, bool bAnonymous)=0
only host can receive this callback.
virtual void onAssignedToSendCC(bool bAssigned)=0
Callback event when the user is assigned to send Closed Caption messages.
Closed caption controller interface.
virtual SDKError StopLiveTranscription()=0
Stops live transcription.
virtual bool IsTextLiveTranslationEnabled()=0
Determines whether the translated captions feature is enabled.
virtual ILiveTranscriptionLanguage * GetMeetingSpokenLanguage()=0
Gets the spoken language of the current user.
virtual SDKError SetTranslationLanguage(int languageID)=0
Sets the translation language of the current user.
virtual const zchar_t * getLiveTranscriptLegalNoticesPrompt()=0
Gets the CC legal notices prompt.
virtual SDKError AssignCCPrivilege(unsigned int userid, bool bAssigned)=0
Assign a user to send CC.
virtual bool CanStartLiveTranscription()=0
Query if the user can start live transcription.
virtual bool IsCaptionsEnabled()=0
Query if the captions enabled.
virtual IList< ILiveTranscriptionLanguage * > * GetAvailableMeetingSpokenLanguages()=0
Gets the list of all available speaking languages in meeting.
virtual bool IsMeetingManualCaptionEnabled()=0
Determines whether manually added closed captions is enabled for the meeting.
virtual bool IsMeetingSupportCC()=0
Determines if the current meeting supports the CC feature.
virtual bool CanSendClosedCaption()=0
Query if the user can send CC.
virtual bool CanAssignOthersToSendCC()=0
Query if it is able to assign others to send CC.
virtual bool CanBeAssignedToSendCC(unsigned int userid)=0
Determines if the user can be assigned as a CC sender.
virtual SDKError SetMeetingSpokenLanguage(int languageID, bool bIsForAll)=0
Sets the current user's spoken language.
virtual const zchar_t * GetClosedCaptionHistorySavedPath()=0
Gets the path of saving CC.
virtual bool CanDisableCaptions()=0
Query if the user can disable captions.
virtual SDKError RequestToStartCaptions(bool bEnableTranslation)=0
the host to start captions. If the host approves your request, you receive the callback onStartCaptio...
virtual const zchar_t * GetClosedCaptionUrlFor3rdParty()=0
Gets the CC URL used by the third party service.
virtual SDKError SetMeetingSpokenLanguage(int languageID)=0
Sets the spoken language of the current user.
virtual SDKError RequestToStartLiveTranscription(bool bRequestAnonymous)=0
Request the host to start live transcription.
virtual const zchar_t * getLiveTranscriptLegalNoticesExplained()=0
Gets the CC legal notices explained.
virtual SDKError EnableRequestLiveTranscription(bool bEnable)=0
Enables or disable the ability for attendees to request live transcriptions.
virtual SDKError SetEvent(IClosedCaptionControllerEvent *pEvent)=0
Sets the controller event of closed caption(CC).
virtual bool IsReceiveSpokenLanguageContentEnabled()=0
Determines whether receive original and translated is available.
virtual bool IsRequestToStartLiveTranscriptionEnabled()=0
Determines whether the request to start live transcription is enabled.If the return value is true,...
virtual SDKError StartLiveTranscription()=0
Starts live transcription. If the meeting allows multi-language transcription,all users can start liv...
virtual SDKError EnableCaptions(bool bEnable)=0
Enables or disable captions.
virtual bool IsMultiLanguageTranscriptionEnabled()=0
Determines whether the multi-language transcription feature is enabled.
virtual ILiveTranscriptionLanguage * GetTranslationLanguage()=0
Gets the translation language of the current user.
virtual SDKError SendClosedCaption(const zchar_t *ccMsg)=0
Sends the CC message.
virtual SDKError SaveCCHistory()=0
History of saving CC.
virtual SDKLiveTranscriptionStatus GetLiveTranscriptionStatus()=0
Gets the current live transcription status.
virtual bool IsSupportTranslationWhenRequestToStartCaptions()=0
Determines whether support translation when users request to start captions.
virtual SDKError EnableReceiveSpokenLanguageContent(bool bEnable)=0
Enables or disable to receive original and translated content.If enable this feature,...
virtual bool IsSupportRequestCaptions()=0
Determines whether users can request to start captions.
virtual bool IsLiveTranscriptLegalNoticeAvailable()=0
Determines whether the legal notice for Live transcript is available.
virtual bool IsSaveCCEnabled()=0
Determines if it is enabled to save CC.
virtual SDKError EnableMeetingManualCaption(bool bEnable)=0
Enables or disable manual captions for the meeting.
virtual IList< ILiveTranscriptionLanguage * > * GetAvailableTranslationLanguages()=0
Gets the list of all available translation languages in a meeting.
virtual bool IsLiveTranscriptionFeatureEnabled()=0
Determines whether the live transcription feature is enabled.
live transcription language interface.
virtual int GetLTTLanguageID()=0
virtual const zchar_t * GetLTTLanguageName()=0
live transcription message interface.
virtual time_t GetTimeStamp()=0
Gets the timestamp of the current message.
virtual SDKLiveTranscriptionOperationType GetMessageOperationType()=0
Gets the type of the current message.
virtual const zchar_t * GetSpeakerName()=0
Gets the speaker's name.
virtual const zchar_t * GetMessageContent()=0
Gets the content of the current message.
virtual const zchar_t * GetMessageID()=0
Gets the message ID of the current message.
virtual unsigned int GetSpeakerID()=0
Gets the speaker's ID.
SDKLiveTranscriptionOperationType
Enumerations of the type for live transcription operation type.
@ SDK_LiveTranscription_OperationType_Add
@ SDK_LiveTranscription_OperationType_Update
@ SDK_LiveTranscription_OperationType_Delete
@ SDK_LiveTranscription_OperationType_NotSupported
@ SDK_LiveTranscription_OperationType_None
@ SDK_LiveTranscription_OperationType_Complete
SDKLiveTranscriptionStatus
Enumerations of the type for live transcription status.
@ SDK_LiveTranscription_Status_Start
@ SDK_LiveTranscription_Status_Connecting
@ SDK_LiveTranscription_Status_Stop
@ SDK_LiveTranscription_Status_User_Sub
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
#define BEGIN_ZOOM_SDK_NAMESPACE
char zchar_t
SDKError
Enumeration of common errors of SDK.