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:
109 virtual bool IsRequestTranslationOn() = 0;
110
114 virtual unsigned int GetSenderUserId() = 0;
115
120 virtual SDKError Deny() = 0;
121
122 virtual ~ICCRequestHandler() {};
123};
124
136
138{
139public:
145 virtual SDKError ApproveStartCaptionsRequest(int languageId) = 0;
146
148};
149
150
156{
157public:
159
163 virtual void onAssignedToSendCC(bool bAssigned) = 0;
164
173 virtual void onClosedCaptionMsgReceived(const zchar_t* ccMsg, unsigned int sender_id, time_t time) = 0;
174
180
186
192
198 virtual void onLiveTranscriptionMsgError(ILiveTranscriptionLanguage* spokenLanguage, ILiveTranscriptionLanguage* transcriptLanguage) = 0;
199
205 virtual void onRequestForLiveTranscriptReceived(unsigned int requester_id, bool bAnonymous) = 0;
206
211 virtual void onRequestLiveTranscriptionStatusChange(bool bEnabled) = 0;
212
217 virtual void onCaptionStatusChanged(bool bEnabled) = 0;
218
224
229
234 virtual void onManualCaptionStatusChanged(bool bEnabled) = 0;
235
240 virtual void onSpokenLanguageChanged(ILiveTranscriptionLanguage* spokenLanguage) = 0;
241};
242
248{
249public:
254
258 virtual bool IsMeetingSupportCC() = 0;
259
263 virtual bool CanAssignOthersToSendCC() = 0;
264
269 virtual SDKError AssignCCPrivilege(unsigned int userid, bool bAssigned) = 0;
270
274 virtual bool CanBeAssignedToSendCC(unsigned int userid) = 0;
275
279 virtual bool CanSendClosedCaption() = 0;
280
284 virtual SDKError SendClosedCaption(const zchar_t* ccMsg) = 0;
285
289 virtual bool IsSaveCCEnabled() = 0;
290
294 virtual SDKError SaveCCHistory() = 0;
295
300
305
310 virtual SDKError EnableMeetingManualCaption(bool bEnable) = 0;
311
316
322
328
333 virtual bool CanDisableCaptions() = 0;
334
340 virtual SDKError EnableCaptions(bool bEnable) = 0;
341
346 virtual bool IsCaptionsEnabled() = 0;
347
353
358
363
368
373
378
384
388 virtual bool CanStartLiveTranscription() = 0;
389
396
403
409 virtual SDKError EnableRequestLiveTranscription(bool bEnable) = 0;
410
416
423 virtual SDKError RequestToStartLiveTranscription(bool bRequestAnonymous) = 0;
424
430
437 virtual SDKError SetMeetingSpokenLanguage(int languageID) = 0;
438
443
449
456 virtual SDKError SetTranslationLanguage(int languageID) = 0;
457
462
467 virtual bool IsSupportRequestCaptions() = 0;
468
474
480 virtual SDKError RequestToStartCaptions(bool bEnableTranslation) = 0;
481
488 virtual SDKError SetMeetingSpokenLanguage(int languageID, bool bIsForAll) = 0;
489};
490
492#endif
The helper to handle the requested of start captions. When IsRequestTranslationOn is true,...
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-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
Stop live transcription.
virtual bool IsTextLiveTranslationEnabled()=0
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
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
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.
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.
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 live...
virtual SDKError EnableCaptions(bool bEnable)=0
Enable or disable captions.
virtual bool IsMultiLanguageTranscriptionEnabled()=0
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
Enable or disable to receive original and translated content.If enable this feature,...
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
Enable or disable manual captions for the meeting.
virtual IList< ILiveTranscriptionLanguage * > * GetAvailableTranslationLanguages()=0
Get the list of all available translation languages in a meeting.
virtual bool IsLiveTranscriptionFeatureEnabled()=0
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
@ SDK_LiveTranscription_Status_Connecting
@ SDK_LiveTranscription_Status_Stop
@ SDK_LiveTranscription_Status_User_Sub
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
wchar_t zchar_t
Definition zoom_sdk_def.h:9
#define BEGIN_ZOOM_SDK_NAMESPACE
SDKError
Enumeration of common errors of SDK.