Compartilhar via


TeamsCaptionsReceivedEvent Class

  • java.lang.Object
    • com.azure.android.communication.calling.TeamsCaptionsReceivedEvent

public class TeamsCaptionsReceivedEvent

Describes an CaptionsReceived event for when new captions data comes in

Method Summary

Modifier and Type Method and Description
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. It is set to Final once the sentence has been completely transcribed.

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. 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

Method Details

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.

getCaptionLanguage

public String getCaptionLanguage()

language identifier for the captions text.

getCaptionText

public String getCaptionText()

Gets the transcribed 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.

getSpeaker

public CallerInfo getSpeaker()

Information about the speaker.

getSpokenLanguage

public String getSpokenLanguage()

language identifier for the speaker.

getSpokenText

public String getSpokenText()

Gets the original text with no 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

Applies to