Class SpeakerInfo
- java.lang.Object
-
- ai.rev.speechtotext.models.asynchronous.SpeakerInfo
-
public class SpeakerInfo extends Object
A SpeakerInfo object represents the information related to the speaker in a transcript Used for speech-to-text jobs submitted to be transcribed by a human.
-
-
Constructor Summary
Constructors Constructor Description SpeakerInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayName()Returns the displayed name of the speakerStringgetIdName()Returns the id of the speakervoidsetDisplayName(String displayName)Sets the displayed name of the speakervoidsetId(String id)Sets the id of the speaker
-
-
-
Method Detail
-
getIdName
public String getIdName()
Returns the id of the speaker- Returns:
- the id of the speaker
-
setId
public void setId(String id)
Sets the id of the speaker- Parameters:
displayName- the displayed name of the speaker
-
getDisplayName
public String getDisplayName()
Returns the displayed name of the speaker- Returns:
- the displayed name of the speaker
-
setDisplayName
public void setDisplayName(String displayName)
Sets the displayed name of the speaker- Parameters:
displayName- the displayed name of the speaker
-
-