12#ifndef ZRC_ICLOSEDCAPTIONHELPER_H
13#define ZRC_ICLOSEDCAPTIONHELPER_H
242 virtual void OnMessageLoad(
const std::vector<LTTCaptionMessage>& messages,
bool hasMoreHistory) = 0;
ClosedCaptionFontSize
Closed caption font size Here are more detailed structural descriptions.
@ ClosedCaptionFontSizeLarge
Closed caption font size large.
@ ClosedCaptionFontSizeSmall
Closed caption font size small.
@ ClosedCaptionFontSizeMedium
Closed caption font size medium.
NewLTTCaptionNotificationType
NewLTT caption notification type Here are more detailed structural descriptions.
@ NewLTTCaptionNotificationTypeEnableCaptionRequestDeclined
@ NewLTTCaptionNotificationTypeCaptionStart
@ NewLTTCaptionNotificationTypeEnableCaptionRequestReceived
@ NewLTTCaptionNotificationTypeSpeakerLanguageMismatch
LTTCaptionWritingDirection
LTT caption writing direction. Here are more detailed structural descriptions.
@ LTTCaptionWritingDirectionRightToLeft
Direction Right to Left.
@ LTTCaptionWritingDirectionLeftToRight
Direction Left to Right.
LTTCaptionMessageResultType
LTT caption message result type. Here are more detailed structural descriptions.
@ LTTCaptionMessageResultTypeTranslationNotSupport
Language translation not support.
@ LTTCaptionMessageResultTypeSuccess
Success.
ZRCSDKError
SDK error types. Here are more detailed structural descriptions.
Closed Caption helper interface.
virtual ZRCSDKError ShowCaption(bool show)=0
Control New LTT caption visibility.
virtual ZRCSDKError EnableNewLTTManualCaptioner(bool enable)=0
Enable New LTT manual captioner.
virtual ZRCSDKError AssignClosedCaption(int32_t userID, bool assign)=0
Assign user to type closed caption.
virtual ZRCSDKError DeregisterSink(IClosedCaptionHelperSink *pSink)=0
Deregister closed caption helper callback sink.
virtual ZRCSDKError LoadLTTCaptionMessage()=0
Load more LTT caption history messages step by 20.
virtual ZRCSDKError ShowNewLTTOriginalAndTranslated(bool show)=0
Show New LTT caption both original and translated caption.
virtual ZRCSDKError SelectInterpretLanguage(const InterpretLanguageInfo &languageInfo)=0
Select interpret language.
virtual ZRCSDKError HasMoreMessageHistoryOnZR(bool &hasMore)=0
Query if has more history on ZR.
virtual ZRCSDKError SetNewLTTSpeakerLanguage(int32_t languageID)=0
Set New LTT caption speaker language.
virtual ZRCSDKError GetLTTCaptionMessageList(std::vector< LTTCaptionMessage > &messages)=0
Get current loaded LTT caption message list.
virtual ZRCSDKError RegisterSink(IClosedCaptionHelperSink *pSink)=0
Register closed caption helper callback sink.
virtual ZRCSDKError EnableCaption(bool enable)=0
Enable caption.
virtual ZRCSDKError ApproveEnableCaptionRequest(bool approve)=0
Approve enable caption request.
virtual ~IClosedCaptionHelper()
virtual ZRCSDKError ShowTranscriptPanelOnZR(bool show)=0
Show transcript panel on ZR display.
virtual ZRCSDKError ShowTranscriptPanelOnZRC(bool show)=0
Show transcript panel on controller.
virtual ZRCSDKError SetNewLTTTranslationLanguage(int32_t languageID)=0
Set New LTT caption translation language.
virtual ZRCSDKError SetNewLTTCaptionFontSize(ClosedCaptionFontSize fontSize)=0
Control New LTT caption font size.
virtual ZRCSDKError MuteOriginalAudio(bool mute)=0
Mute original audio.
virtual ZRCSDKError SendEnableCaptionRequest()=0
Send enable caption request to host.
virtual ZRCSDKError IsAllowViewFullTranscript(bool &isAllow)=0
Query if is allow view full transcript.
virtual ZRCSDKError ControlClosedCaptionVisible(bool show, ClosedCaptionFontSize fontSize)=0
Control closed caption visibility and font size.
Closed Caption helper event callback.
virtual void OnUpdateClosedCaptionNotification(const ClosedCaptionInfo &closedCaptionInfo)=0
Closed caption info changed callback.
virtual void OnUpdateInterpretLanguageNotification(const InterpretLanguageInfoList &infoList)=0
Interpret language info update notification.
virtual void OnNewLTTCaptionNotification(NewLTTCaptionNotificationType type)=0
New LTT caption notification.
virtual void OnMessageUpdate(const LTTCaptionMessage &message)=0
LTT caption message update notification.
virtual void OnMessageInstanceOnlySpeakerTagUpdate(const LTTCaptionMessage &message)=0
LTT caption message instance only smart speaker tag update notification.
virtual void OnNewLTTLanguageNotification(const NewLTTCaptionInfo &newLttCaptionInfo)=0
New LTT caption info changed callback.
virtual void OnMessageLoad(const std::vector< LTTCaptionMessage > &messages, bool hasMoreHistory)=0
LTT caption messages loaded notification.
virtual ~IClosedCaptionHelperSink()
virtual void OnClosedCaptionResponse(int32_t result, ClosedCaptionFontSize fontSize)=0
Closed caption control response callback.
virtual void OnMessageAdd(const LTTCaptionMessage &message)=0
LTT caption message add notification.
virtual void OnMessageNotSupported(const LTTCaptionMessage &message)=0
LTT caption message not supported notification.
bool available
TRUE indicates closed caption is available. Otherwise not.
ClosedCaptionFontSize fontSize
Closed caption font size.
bool visible
TRUE indicates closed caption is visible. Otherwise not.
Interpret language information.
Interpret language info list.
bool isAvailable
TRUE indicates interpret language is available.
std::vector< InterpretLanguageInfo > languages
Supported interpret language list.
InterpretLanguageInfo activeLanguage
Active interpret language.
bool isOriginalAudioMuted
TRUE indicates interpret language original audio is muted.
int64_t messageTime
Message time.
SmartTagUser instanceOnlySpeakerTag
Instance only smart speaker tag only for individual message.
std::string attendeeJid
An attendee's attendeeJid remains unchanged when switching between main session and sub-session.
std::string speakerTagName
Smart speaker tag speaker name.
LTTCaptionMessageResultType result
Message result type.
std::string messageContent
Message content.
LTTCaptionWritingDirection direction
Message writing direction.
std::string userName
User name.
std::string messageID
Message ID.
int32_t userNodeID
User node ID, compare it with MeetingParticipant userID.
int32_t speakerTagID
Smart speaker tag speaker ID.
bool isShowCaptionOn
TRUE indicates show caption is on. Otherwise not.
bool isCaptionDisabled
TRUE indicates caption is disabled.
bool isAllowShowCaption
TRUE indicates allow show caption.
NewLTTCaptionSpeakerLanguageInfo speakingLanguageInfo
New LTT caption speaker language info.
bool isShowTranscriptPanelOnZR
TRUE indicates is showing transcript panel on ZR.
bool isMmrSupportDisableLttCaption
TRUE indicates current meeting server supports disable LTT caption.
bool isAllowViewFullTranscript
TRUE indicates allow view full transcript.
NewLTTCaptionTranslationInfo translationInfo
New LTT caption translation info.
bool isManualCaptionerEnabled
TRUE indicates manual captioner is enabled. Otherwise not.
bool isAutomatedCaptionFeatureOn
TRUE indicates automated caption is enabled. Otherwise not.
ClosedCaptionFontSize fontSize
Caption font size, see ClosedCaptionFontSize enum.
bool isNewLttCaptionFeatureOn
TRUE indicates New LTT is enabled. Otherwise only Closed Caption is enabled.
bool isAllowRequestCaption
TRUE indicates allow request caption.
bool isShowOriginalAndTranslated
TRUE indicates showing original and translated. Otherwise not.
bool isTranslatedCaptionFeatureOn
TRUE indicates translated caption is enabled. Otherwise not.
New LTT caption language If languageID is -1, indicates that current language is invalid.
int32_t languageID
Language ID defined and used between Controller and Zoom Room.
std::string displayName
Language display name.
std::string abbreviatedName
Language abbreviated name.
New LTT caption speaking language info.
NewLTTCaptionLanguage currentLanguage
Current selected language.
std::vector< NewLTTCaptionLanguage > availableLanguages
Available languages.
New LTT caption translation info.
NewLTTCaptionLanguage currentLanguage
Current selected language.
std::vector< NewLTTCaptionLanguage > availableLanguages
Available languages.
std::vector< NewLTTCaptionLanguage > recentlyUsedLanguages
Recently used languages.