Class TeamsCaptionsReceivedEvent
- Object
-
- TeamsCaptionsReceivedEvent
-
public final class TeamsCaptionsReceivedEvent extends ObjectDescribes an CaptionsReceived event for when new captions data comes in
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinalize()Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.StringgetCaptionLanguage()language identifier for the captions text.StringgetCaptionText()Gets the transcribed text.CaptionsResultTypegetResultType()CaptionsResultType is Partial if text contains partially spoken sentence.CallerInfogetSpeaker()Information about the speaker.StringgetSpokenLanguage()language identifier for the speaker.StringgetSpokenText()Gets the original text with no transcribed.DategetTimestamp()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:
finalizein 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
-
-