Windows 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 wchar_t* GetLTTLanguageName() = 0;
43};
44
48{
49public:
52 virtual void onAssignedToSendCC(bool bAssigned) = 0;
59 virtual void onClosedCaptionMsgReceived(const wchar_t* ccMsg, unsigned int sender_id, time_t time) = 0;
67 virtual void onLiveTranscriptionMsgReceived(const wchar_t* ltMsg, unsigned int speaker_id, SDKLiveTranscriptionOperationType type) = 0;
71 virtual void onLiveTranscriptionMsgError(ILiveTranscriptionLanguage* spokenLanguage, ILiveTranscriptionLanguage* transcriptLanguage) = 0;
75 virtual void onRequestForLiveTranscriptReceived(unsigned int requester_id, bool bAnonymous) = 0;
78 virtual void onRequestLiveTranscriptionStatusChange(bool bEnabled) = 0;
79};
80
83{
84public:
88 virtual bool IsMeetingSupportCC() = 0;
90 virtual bool CanAssignOthersToSendCC() = 0;
93 virtual SDKError AssignCCPriviledge(unsigned int userid, bool bAssigned) = 0;
95 virtual bool CanBeAssignedToSendCC(unsigned int userid) = 0;
97 virtual bool CanSendClosedCaption() = 0;
99 virtual SDKError SendClosedCaption(const wchar_t* ccMsg) = 0;
101 virtual bool IsSaveCCEnabled() = 0;
103 virtual SDKError SaveCCHistory() = 0;
105 virtual const wchar_t* GetClosedCaptionHistorySavedPath() = 0;
107 virtual const wchar_t* GetClosedCaptionUrlFor3rdParty() = 0;
111 virtual SDKError EnableMeetingManualCaption(bool bEnable) = 0;
118 virtual const wchar_t* getLiveTranscriptLegalNoticesPrompt() = 0;
120 virtual const wchar_t* getLiveTranscriptLegalNoticesExplained() = 0;
128 // \return type: the current live transcription status type. For more details, see \link SDKLiveTranscriptionStatus \endlink.
131 virtual bool CanStartLiveTranscription() = 0;
146 virtual SDKError EnableRequestLiveTranscription(bool bEnable) = 0;
155 virtual SDKError RequestToStartLiveTranscription(bool bRequestAnonymous) = 0;
164 virtual SDKError SetMeetingSpokenLanguage(int languageID) = 0;
176 virtual SDKError SetTranslationLanguage(int languageID) = 0;
179};
180
182#endif
Closed Caption controller callback event.
virtual void onLiveTranscriptionMsgError(ILiveTranscriptionLanguage *spokenLanguage, ILiveTranscriptionLanguage *transcriptLanguage)=0
The translation message error callback.
virtual void onLiveTranscriptionStatus(SDKLiveTranscriptionStatus status)=0
live transcription status changed callback.
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 wchar_t *ltMsg, unsigned int speaker_id, SDKLiveTranscriptionOperationType type)=0
live transcription message received callback.
virtual void onClosedCaptionMsgReceived(const wchar_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...
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 bool CanStartLiveTranscription()=0
Query if the user can start live transcription.
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 const wchar_t * getLiveTranscriptLegalNoticesExplained()=0
Get the CC legal notices explained.
virtual bool CanAssignOthersToSendCC()=0
Query if it is able to assign others to send CC.
virtual const wchar_t * GetClosedCaptionUrlFor3rdParty()=0
Get the CC URL used by the third party service.
virtual const wchar_t * getLiveTranscriptLegalNoticesPrompt()=0
Get the CC legal notices prompt.
virtual bool CanBeAssignedToSendCC(unsigned int userid)=0
Determine if the user can be assigned as a CC sender.
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 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 SDKError StartLiveTranscription()=0
Start live transcription. \If the meeting allows multi-language transcription,all users can start liv...
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 SaveCCHistory()=0
History of saving CC.
virtual SDKLiveTranscriptionStatus GetLiveTranscriptionStatus()=0
Get the current live transcription status.
virtual const wchar_t * GetClosedCaptionHistorySavedPath()=0
Get the path of saving CC.
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 SDKError SendClosedCaption(const wchar_t *ccMsg)=0
Send the CC message.
virtual bool IsLiveTranscriptionFeatureEnabled()=0
brief Determine whether the live transcription feature is enabled.
live transcription language interface.
virtual int GetLTTLanguageID()=0
virtual const wchar_t * GetLTTLanguageName()=0
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:21
#define BEGIN_ZOOM_SDK_NAMESPACE
Definition: zoom_sdk_def.h:20
SDKError
SDK error types. Here are more detailed structural descriptions.
Definition: zoom_sdk_def.h:30