TranscriptionData Class
- java.
lang. Object - com.
azure. communication. callautomation. models. StreamingData - com.
azure. communication. callautomation. models. TranscriptionData
- com.
- com.
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 Transcription |
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. |
|
Text |
getFormat()
The format of tex Get the format property. |
| Long |
getOffset()
The starting position of this payload Get the offset property. |
|
Communication |
getParticipant()
Get the participant |
|
Transcription |
getResultState()
Status of the result of transcription Get the result |
| String |
getText()
The display form of the recognized word Get the text property. |
|
List<Word |
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:
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:
getDuration
public Duration getDuration()
Duration of this payload in the media Duration in ticks. 1 tick = 100 nanoseconds. Get the duration property.
Returns:
getFormat
public TextFormat getFormat()
The format of tex Get the format property.
Returns:
getOffset
public Long getOffset()
The starting position of this payload Get the offset property.
Returns:
getParticipant
public CommunicationIdentifier getParticipant()
Get the participantRawID property.
Returns:
getResultState
public TranscriptionResultState getResultState()
Status of the result of transcription Get the resultState property.
Returns:
getText
public String getText()
The display form of the recognized word Get the text property.
Returns:
getTranscribedWords
public List<WordData> getTranscribedWords()
The result for each word of the phrase Get the words property.
Returns: