Class TeamsCaptionsReceivedEvent
- Object
-
- TeamsCaptionsReceivedEvent
-
public final class TeamsCaptionsReceivedEvent extends Object
Describes an CaptionsReceived event for when new captions data comes in
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.String
getCaptionLanguage()
language identifier for the captions text.String
getCaptionText()
Gets the transcribed text.CaptionsResultType
getResultType()
CaptionsResultType is Partial if text contains partially spoken sentence.CallerInfo
getSpeaker()
Information about the speaker.String
getSpokenLanguage()
language identifier for the speaker.String
getSpokenText()
Gets the original text with no transcribed.Date
getTimestamp()
Timestamp denoting the time when the corresponding speech was made.
-
-
-
Method Detail
-
finalize
protected void finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.- Overrides:
finalize
in classObject
-
getSpeaker
public CallerInfo getSpeaker()
Information about the speaker.
-
getSpokenText
public String getSpokenText()
Gets the original text with no transcribed.
-
getSpokenLanguage
public String getSpokenLanguage()
language identifier for the speaker.
-
getCaptionText
public String getCaptionText()
Gets the transcribed text.
-
getCaptionLanguage
public String getCaptionLanguage()
language identifier for the captions text.
-
getResultType
public CaptionsResultType getResultType()
CaptionsResultType is Partial if text contains partially spoken sentence. It is set to Final once the sentence has been completely transcribed.
-
getTimestamp
public Date getTimestamp()
Timestamp denoting the time when the corresponding speech was made. timestamp is received from call recorder in C# ticks since 1/1/1900 (NTP Epoch) timestamp is converted to ms since 1/1/1970 (UNIX Epoch) 10000 C# ticks / 1 ms
-
-