Linux SDK 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
14typedef enum
15{
21
25typedef enum
26{
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
81{
82public:
84
86 virtual void onAssignedToSendCC(bool bAssigned) = 0;
87
94 virtual void onClosedCaptionMsgReceived(const zchar_t* ccMsg, unsigned int sender_id, time_t time) = 0;
95
99
105 virtual void onLiveTranscriptionMsgReceived(const zchar_t* ltMsg, unsigned int speaker_id, SDKLiveTranscriptionOperationType type) = 0;
106
110
114
118 virtual void onLiveTranscriptionMsgError(ILiveTranscriptionLanguage* spokenLanguage, ILiveTranscriptionLanguage* transcriptLanguage) = 0;
119
123 virtual void onRequestForLiveTranscriptReceived(unsigned int requester_id, bool bAnonymous) = 0;
124
127 virtual void onRequestLiveTranscriptionStatusChange(bool bEnabled) = 0;
128
131 virtual void onCaptionStatusChanged(bool bEnabled) = 0;
132};
133
136{
137public:
140
142 virtual bool IsMeetingSupportCC() = 0;
143
145 virtual bool CanAssignOthersToSendCC() = 0;
146
149 virtual SDKError AssignCCPriviledge(unsigned int userid, bool bAssigned) = 0;
150
152 virtual bool CanBeAssignedToSendCC(unsigned int userid) = 0;
153
155 virtual bool CanSendClosedCaption() = 0;
156
158 virtual SDKError SendClosedCaption(const zchar_t* ccMsg) = 0;
159
161 virtual bool IsSaveCCEnabled() = 0;
162
164 virtual SDKError SaveCCHistory() = 0;
165
168
171
175 virtual SDKError EnableMeetingManualCaption(bool bEnable) = 0;
176
179
183
188
191 virtual bool CanDisableCaptions() = 0;
192
197 virtual SDKError EnableCaptions(bool bEnable) = 0;
198
201 virtual bool IsCaptionsEnabled() = 0;
202
206
209
212
215
218
221
223 // \return type: the current live transcription status type. For more details, see \link SDKLiveTranscriptionStatus \endlink.
225
227 virtual bool CanStartLiveTranscription() = 0;
228
234
240
245 virtual SDKError EnableRequestLiveTranscription(bool bEnable) = 0;
246
250
256 virtual SDKError RequestToStartLiveTranscription(bool bRequestAnonymous) = 0;
257
262
267 virtual SDKError SetMeetingSpokenLanguage(int languageID) = 0;
268
271
276
282 virtual SDKError SetTranslationLanguage(int languageID) = 0;
283
286};
287
289#endif
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 onLiveTranscriptionMsgInfoReceived(ILiveTranscriptionMessageInfo *messageInfo)=0
live transcription message received callback.
virtual void onOriginalLanguageMsgReceived(ILiveTranscriptionMessageInfo *messageInfo)=0
original language message received callback.
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 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.
virtual void onLiveTranscriptionMsgReceived(const zchar_t *ltMsg, unsigned int speaker_id, SDKLiveTranscriptionOperationType type)=0
live transcription message received callback.
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 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 const zchar_t * GetClosedCaptionHistorySavedPath()=0
Get the path of saving CC.
virtual bool CanDisableCaptions()=0
Query if the user can disable captions.
virtual const zchar_t * GetClosedCaptionUrlFor3rdParty()=0
Get the CC URL used by the third party service.
virtual bool IsRequestToStartLiveTranscriptionEnalbed()=0
Determine whether the request to start live transcription is enabled.If the return value is true,...
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 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 SDKError EnableReceiveSpokenLanguageContent(bool bEnable)=0
virtual SDKError AssignCCPriviledge(unsigned int userid, bool bAssigned)=0
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
@ SDK_LiveTranscription_Status_Connecting
@ SDK_LiveTranscription_Status_Stop
@ SDK_LiveTranscription_Status_User_Sub
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
Definition: zoom_sdk_def.h:36
#define BEGIN_ZOOM_SDK_NAMESPACE
Definition: zoom_sdk_def.h:35
char zchar_t
Definition: zoom_sdk_def.h:17
SDKError
SDK error types. Here are more detailed structural descriptions.
Definition: zoom_sdk_def.h:45