CaptionsInfo interface
Data structure received for each CaptionsReceivedEventType event
Properties
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 caption text |
timestamp | Timestamp of when the captioned words were initially spoken |
Property Details
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: ParticipantInfo
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 caption text
spokenText: string
Property Value
string
timestamp
Timestamp of when the captioned words were initially spoken
timestamp: Date
Property Value
Date