TranscriptionData Class

public final class TranscriptionData
extends StreamingData

The data which contains the transcription data stream information such as DisplayText..

Constructor Summary

Modifier Constructor Description
protected TranscriptionData(TranscriptionDataConverter internalData)

The TranscriptionData constructor

Method Summary

Modifier and Type Method and Description
double getConfidence()

Confidence of recognition of the whole phrase, from 0.0 (no confidence) to 1.0 (full confidence) Get the confidence property.

Duration getDuration()

Duration of this payload in the media Duration in ticks.

TextFormat getFormat()

The format of tex Get the format property.

Long getOffset()

The starting position of this payload Get the offset property.

CommunicationIdentifier getParticipant()

Get the participantRawID property.

TranscriptionResultState getResultState()

Status of the result of transcription Get the resultState property.

String getText()

The display form of the recognized word Get the text property.

List<WordData> getTranscribedWords()

The result for each word of the phrase Get the words property.

Methods inherited from StreamingData

Methods inherited from java.lang.Object

Constructor Details

TranscriptionData

protected TranscriptionData(TranscriptionDataConverter internalData)

The TranscriptionData constructor

Parameters:

internalData - transcription internal data

Method Details

getConfidence

public double getConfidence()

Confidence of recognition of the whole phrase, from 0.0 (no confidence) to 1.0 (full confidence) Get the confidence property.

Returns:

the confidence value.

getDuration

public Duration getDuration()

Duration of this payload in the media Duration in ticks. 1 tick = 100 nanoseconds. Get the duration property.

Returns:

the duration value.

getFormat

public TextFormat getFormat()

The format of tex Get the format property.

Returns:

the format value.

getOffset

public Long getOffset()

The starting position of this payload Get the offset property.

Returns:

the offset value.

getParticipant

public CommunicationIdentifier getParticipant()

Get the participantRawID property.

Returns:

the participantRawID value.

getResultState

public TranscriptionResultState getResultState()

Status of the result of transcription Get the resultState property.

Returns:

the resultState value.

getText

public String getText()

The display form of the recognized word Get the text property.

Returns:

the text value.

getTranscribedWords

public List<WordData> getTranscribedWords()

The result for each word of the phrase Get the words property.

Returns:

the words value.

Applies to