Delegate protocol to receive closed caption and live transcription related events.
More...
#include <ZoomSDKCloseCaptionController.h>
Inherits <NSObjectNSObject>.
Delegate protocol to receive closed caption and live transcription related events.
Definition at line 118 of file ZoomSDKCloseCaptionController.h.
◆ onCaptionStatusChanged:
| - (void) onCaptionStatusChanged: |
|
(BOOL) | enable |
|
|
optionalrequired |
Sink the event of captions enabled status changed.
- Parameters
-
| enable | YES means the host enables the captions, otherwise means the host disables the captions. |
◆ onGetCCPrivilege
| - (void) onGetCCPrivilege |
|
|
|
|
optional |
Callback of getting the privilege of close caption.
◆ onLiveTranscriptionMsgError:transcriptLanguage:
The translation message error callback.
- Parameters
-
| spokenLanguage | An object of the spoken message language. |
| transcriptLanguage | An object of the message language you want to translate. |
◆ onLiveTranscriptionMsgInfoReceived:
Callback: Invoked when a live transcription message is received.
- Parameters
-
| messageInfo | The live transcription message. |
◆ onLiveTranscriptionStatus:
Notify the live transcription status changed.
- Parameters
-
| status | The type of live transcription status. |
◆ onLostCCPrivilege
| - (void) onLostCCPrivilege |
|
|
|
|
optionalrequired |
Callback of losing privilege of close caption.
◆ onManualCaptionStatusChanged:
| - (void) onManualCaptionStatusChanged: |
|
(BOOL) | bEnabled |
|
|
optionalrequired |
Sink the event of manual captions enablement status change.
- Parameters
-
| bEnabled | YES means the host enableds the manual captions. Otherwise, the host disabled the manual captions. |
◆ onOriginalLanguageMsgReceived:
Callback: Original language message received callback.
- Parameters
-
| messageInfo | messageInfo The spoken language message. |
◆ onReceiveCCMessageWithString:senderID:
| - (void) onReceiveCCMessageWithString: |
|
(NSString *) | inString |
| senderID: |
|
(unsigned int) | senderID |
|
optionalrequired |
Notify the current user that close caption is received.
- Parameters
-
| inString | The content of the close caption message. |
| senderID | The sender id of a closed caption message. |
- Note
- If the meeting supports multi-language transcription and the host sets manual captions to YES, attendees must set the translation language id to -1 to receive closed captioned messages.
◆ onReceiveCCRealtimeMessage:
| - (void) onReceiveCCRealtimeMessage: |
|
(NSString *) | realtimeMessage |
|
|
optionalrequired |
Notify the current user of realtime message.
- Parameters
-
| realtimeMessage | The message that is being input. |
◆ onRequestForLiveTranscriptReceived:anonymous:
| - (void) onRequestForLiveTranscriptReceived: |
|
(unsigned int) | requesterID |
| anonymous: |
|
(BOOL) | bAnonymous |
|
optionalrequired |
Notify the request for live transcript received.
- Parameters
-
| requesterID | The user id of requester. |
| bAnonymous | Request anonymously of not, if bAnonymous is YES, requesterID has no meanings. |
- Note
- only host can retrieve this callback
◆ onRequestLiveTranscriptionStatusChange:
| - (void) onRequestLiveTranscriptionStatusChange: |
|
(BOOL) | bEnabled |
|
|
optionalrequired |
Notify the request for live transcript status changed.
- Parameters
-
| bEnabled | YES means enabled, otherwise not. |
◆ onSpokenLanguageChanged:
Callback when the spoken language is changed.
- Parameters
-
| spokenLanguage | A pointer to the current spoken language object. |
◆ onStartCaptionsRequestApproved
| - (void) onStartCaptionsRequestApproved |
|
|
|
|
optionalrequired |
Sink the event to start captions request was approved.
◆ onStartCaptionsRequestReceived:
Sink the event to start captions request.
- Parameters
-
| handler | The helper to handle the start captions request. |