ConversationTranscriptionResult Class

public class ConversationTranscriptionResult
extends SpeechRecognitionResult

Class that defines conversation transcription result.

Constructor Summary

Modifier Constructor Description
protected ConversationTranscriptionResult(long result)

Internal constructor for creating a ConversationTranscriptionResult from a native handle.

Method Summary

Modifier and Type Method and Description
void close()

Explicitly frees any external resource attached to the object

java.lang.String getSpeakerId()

A String that represents the speaker id in the conversation.

java.lang.String toString()

Returns a String that represents the conversation transcription result.

Methods inherited from RecognitionResult

Methods inherited from SpeechRecognitionResult

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ConversationTranscriptionResult

protected ConversationTranscriptionResult(long result)

Internal constructor for creating a ConversationTranscriptionResult from a native handle.

Parameters:

result - The native handle.

Method Details

close

public void close()

Explicitly frees any external resource attached to the object

Overrides:

ConversationTranscriptionResult.close()

getSpeakerId

public String getSpeakerId()

A String that represents the speaker id in the conversation.

Returns:

the speaker ID string.

toString

public String toString()

Returns a String that represents the conversation transcription result.

Overrides:

ConversationTranscriptionResult.toString()

Returns:

A String that represents the conversation transcription result.

Applies to