CaptionsInfo interface
Properties
caption |
The language that the captions are presented in. Corresponds to the captionLanguage specified in startCaptions / setCaptionLanguage. |
caption |
The caption text. |
last |
Timestamp of when the captions were last updated. |
result |
The state in which this caption data can be classified. |
speaker | The information of the call participant who spoke the captioned text. |
spoken |
The language that the spoken words were interpretted as. Corresponds to the language specified in startCaptions / setSpokenLanguage. |
spoken |
The original spoken caption text prior to translating to subtitle language |
timestamp | Timestamp of when the captioned words were initially spoken. |
Property Details
captionLanguage
The language that the captions are presented in. Corresponds to the captionLanguage specified in startCaptions / setCaptionLanguage.
captionLanguage?: string
Property Value
string
captionText
The caption text.
captionText: string
Property Value
string
lastUpdatedTimestamp
Timestamp of when the captions were last updated.
lastUpdatedTimestamp?: Date
Property Value
Date
resultType
The state in which this caption data can be classified.
resultType: CaptionsResultType
Property Value
speaker
The information of the call participant who spoke the captioned text.
speaker: CallerInfo
Property Value
spokenLanguage
The language that the spoken words were interpretted as. Corresponds to the language specified in startCaptions / setSpokenLanguage.
spokenLanguage: string
Property Value
string
spokenText
The original spoken caption text prior to translating to subtitle language
spokenText?: string
Property Value
string
timestamp
Timestamp of when the captioned words were initially spoken.
timestamp: Date
Property Value
Date