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
21
34
38{
39public:
40 virtual int GetLTTLanguageID() = 0;
41 virtual const zchar_t* GetLTTLanguageName() = 0;
43};
44
48{
49public:
53 virtual const zchar_t* GetMessageID() = 0;
54
57 virtual unsigned int GetSpeakerID() = 0;
58
61 virtual const zchar_t* GetSpeakerName() = 0;
62
65 virtual const zchar_t* GetMessageContent() = 0;
66
69 virtual time_t GetTimeStamp() = 0;
70
74
76};
77
82{
83public:
85 virtual bool IsRequestTranslationOn() = 0;
86
88 virtual unsigned int GetSenderUserId() = 0;
89
93 virtual SDKError Deny() = 0;
94
95 virtual ~ICCRequestHandler() {};
96};
97
108
110{
111public:
116 virtual SDKError ApproveStartCaptionsRequest(int languageId) = 0;
117
119};
120
121
125{
126public:
128
130 virtual void onAssignedToSendCC(bool bAssigned) = 0;
131
138 virtual void onClosedCaptionMsgReceived(const zchar_t* ccMsg, unsigned int sender_id, time_t time) = 0;
139
143
147
151
155 virtual void onLiveTranscriptionMsgError(ILiveTranscriptionLanguage* spokenLanguage, ILiveTranscriptionLanguage* transcriptLanguage) = 0;
156
160 virtual void onRequestForLiveTranscriptReceived(unsigned int requester_id, bool bAnonymous) = 0;
161
164 virtual void onRequestLiveTranscriptionStatusChange(bool bEnabled) = 0;
165
168 virtual void onCaptionStatusChanged(bool bEnabled) = 0;
169
173
176
179 virtual void onManualCaptionStatusChanged(bool bEnabled) = 0;
180};
181
184{
185public:
188
190 virtual bool IsMeetingSupportCC() = 0;
191
193 virtual bool CanAssignOthersToSendCC() = 0;
194
197 virtual SDKError AssignCCPrivilege(unsigned int userid, bool bAssigned) = 0;
198
200 virtual bool CanBeAssignedToSendCC(unsigned int userid) = 0;
201
203 virtual bool CanSendClosedCaption() = 0;
204
206 virtual SDKError SendClosedCaption(const zchar_t* ccMsg) = 0;
207
209 virtual bool IsSaveCCEnabled() = 0;
210
212 virtual SDKError SaveCCHistory() = 0;
213
216
219
223 virtual SDKError EnableMeetingManualCaption(bool bEnable) = 0;
224
227
231
236
239 virtual bool CanDisableCaptions() = 0;
240
245 virtual SDKError EnableCaptions(bool bEnable) = 0;
246
249 virtual bool IsCaptionsEnabled() = 0;
250
254
257
260
263
266
269
271 // \return type: the current live transcription status type. For more details, see \link SDKLiveTranscriptionStatus \endlink.
273
275 virtual bool CanStartLiveTranscription() = 0;
276
282
288
293 virtual SDKError EnableRequestLiveTranscription(bool bEnable) = 0;
294
298
304 virtual SDKError RequestToStartLiveTranscription(bool bRequestAnonymous) = 0;
305
310
316 virtual SDKError SetMeetingSpokenLanguage(int languageID) = 0;
317
320
325
331 virtual SDKError SetTranslationLanguage(int languageID) = 0;
332
335
338 virtual bool IsSupportRequestCaptions() = 0;
339
343
349 virtual SDKError RequestToStartCaptions(bool bEnableTranslation) = 0;
350
356 virtual SDKError SetMeetingSpokenLanguage(int languageID, bool bIsForAll) = 0;
357};
358
360#endif
virtual unsigned int GetSenderUserId()=0
virtual bool IsRequestTranslationOn()=0
virtual SDKError Deny()=0
Decline the request to start captions.
virtual SDKError ApproveStartCaptionsRequest(int languageId)=0
Approve the start captions request.
virtual SDKError ApproveStartCaptionsRequest()=0
Approve 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-languag...
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
Stop live transcription. \If the meeting allows multi-language transcription,all user can stop live t...
virtual bool IsTextLiveTranslationEnabled()=0
brief Determine whether the translated captions feature is enabled.
virtual ILiveTranscriptionLanguage * GetMeetingSpokenLanguage()=0
Get the spoken language of the current user.
virtual SDKError SetTranslationLanguage(int languageID)=0
Set the translation language of the current user.
virtual const zchar_t * getLiveTranscriptLegalNoticesPrompt()=0
Get the CC legal notices prompt.
virtual SDKError AssignCCPrivilege(unsigned int userid, bool bAssigned)=0
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
Get the list of all available speaking languages in meeting.
virtual bool IsMeetingManualCaptionEnabled()=0
Determine whether manually added closed captions is enabled for the meeting.
virtual bool IsMeetingSupportCC()=0
Determine 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
Determine if the user can be assigned as a CC sender.
virtual SDKError SetMeetingSpokenLanguage(int languageID, bool bIsForAll)=0
Set the current user's spoken language.
virtual const zchar_t * GetClosedCaptionHistorySavedPath()=0
Get 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
Get the CC URL used by the third party service.
virtual SDKError SetMeetingSpokenLanguage(int languageID)=0
Set the spoken language of the current user.
virtual SDKError RequestToStartLiveTranscription(bool bRequestAnonymous)=0
Request the host to start live transcription. \If the meeting allows multi-language transcription,...
virtual const zchar_t * getLiveTranscriptLegalNoticesExplained()=0
Get the CC legal notices explained.
virtual SDKError EnableRequestLiveTranscription(bool bEnable)=0
Enable or disable the ability for attendees to request live transcriptions. \If the meeting allows mu...
virtual SDKError SetEvent(IClosedCaptionControllerEvent *pEvent)=0
Set the controller event of closed caption(CC).
virtual bool IsReceiveSpokenLanguageContentEnabled()=0
Determine whether receive original and translated is available.
virtual bool IsRequestToStartLiveTranscriptionEnabled()=0
Determine whether the request to start live transcription is enabled.If the return value is true,...
virtual SDKError StartLiveTranscription()=0
Start live transcription. \If the meeting allows multi-language transcription,all users can start liv...
virtual SDKError EnableCaptions(bool bEnable)=0
Enable or disable captions.
virtual bool IsMultiLanguageTranscriptionEnabled()=0
brief Determine whether the multi-language transcription feature is enabled.
virtual ILiveTranscriptionLanguage * GetTranslationLanguage()=0
Get the translation language of the current user.
virtual SDKError SendClosedCaption(const zchar_t *ccMsg)=0
Send the CC message.
virtual SDKError SaveCCHistory()=0
History of saving CC.
virtual SDKLiveTranscriptionStatus GetLiveTranscriptionStatus()=0
Get the current live transcription status.
virtual bool IsSupportTranslationWhenRequestToStartCaptions()=0
Determine whether support translation when users request to start captions.
virtual SDKError EnableReceiveSpokenLanguageContent(bool bEnable)=0
virtual bool IsSupportRequestCaptions()=0
Determine whether users can request to start captions.
virtual bool IsLiveTranscriptLegalNoticeAvailable()=0
Determine whether the legal notice for Live transcript is available.
virtual bool IsSaveCCEnabled()=0
Determine if it is enabled to save CC.
virtual SDKError EnableMeetingManualCaption(bool bEnable)=0
virtual IList< ILiveTranscriptionLanguage * > * GetAvailableTranslationLanguages()=0
Get the list of all available translation languages in a meeting.
virtual bool IsLiveTranscriptionFeatureEnabled()=0
brief Determine 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
Get the timestamp of the current message.
virtual SDKLiveTranscriptionOperationType GetMessageOperationType()=0
Get the type of the current message.
virtual const zchar_t * GetSpeakerName()=0
Get the speaker's name.
virtual const zchar_t * GetMessageContent()=0
Get the content of the current message.
virtual const zchar_t * GetMessageID()=0
Get the message ID of the current message.
virtual unsigned int GetSpeakerID()=0
Get 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
start
@ SDK_LiveTranscription_Status_Connecting
connecting
@ SDK_LiveTranscription_Status_Stop
not start
@ SDK_LiveTranscription_Status_User_Sub
user sub
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
wchar_t zchar_t
#define BEGIN_ZOOM_SDK_NAMESPACE
SDKError
Enumeration of common errors of SDK.