6#ifndef _MEETING_CLOSEDCAPTION_INTERFACE_H_
7#define _MEETING_CLOSEDCAPTION_INTERFACE_H_
virtual unsigned int GetSenderUserId()=0
virtual bool IsRequestTranslationOn()=0
virtual SDKError Deny()=0
Decline the request to start captions.
virtual ~ICCRequestHandler()
virtual ~ICCRequestTranslationOffHandler()
virtual SDKError ApproveStartCaptionsRequest(int languageId)=0
Approve the start captions request.
virtual ~ICCRequestTranslationOnHandler()
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 ~IClosedCaptionControllerEvent()
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 ~ILiveTranscriptionLanguage()
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 ~ILiveTranscriptionMessageInfo()
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
#define BEGIN_ZOOM_SDK_NAMESPACE
SDKError
Enumeration of common errors of SDK.