public class Subtitle extends AbstractModel
Constructor and Description |
---|
Subtitle() |
Subtitle(Subtitle source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getBeginIndex()
Get The start index of the character in the whole sentence, starting from 0.
|
Long |
getBeginTime()
Get The start timestamp of the word in the synthesized audio data, in milliseconds.
|
Long |
getEndIndex()
Get The end index of the character in the whole sentence, starting from 0.
|
Long |
getEndTime()
Get The end timestamp of the word in the synthesized audio data, in milliseconds.
|
String |
getPhoneme()
Get The phonemes of the word.
|
String |
getText()
Get The word in the text that is sent.
|
void |
setBeginIndex(Long BeginIndex)
Set The start index of the character in the whole sentence, starting from 0.
|
void |
setBeginTime(Long BeginTime)
Set The start timestamp of the word in the synthesized audio data, in milliseconds.
|
void |
setEndIndex(Long EndIndex)
Set The end index of the character in the whole sentence, starting from 0.
|
void |
setEndTime(Long EndTime)
Set The end timestamp of the word in the synthesized audio data, in milliseconds.
|
void |
setPhoneme(String Phoneme)
Set The phonemes of the word.
|
void |
setText(String Text)
Set The word in the text that is sent.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Subtitle()
public Subtitle(Subtitle source)
public String getText()
public void setText(String Text)
Text
- The word in the text that is sent.public Long getBeginTime()
public void setBeginTime(Long BeginTime)
BeginTime
- The start timestamp of the word in the synthesized audio data, in milliseconds.public Long getEndTime()
public void setEndTime(Long EndTime)
EndTime
- The end timestamp of the word in the synthesized audio data, in milliseconds.public Long getBeginIndex()
public void setBeginIndex(Long BeginIndex)
BeginIndex
- The start index of the character in the whole sentence, starting from 0.public Long getEndIndex()
public void setEndIndex(Long EndIndex)
EndIndex
- The end index of the character in the whole sentence, starting from 0.public String getPhoneme()
public void setPhoneme(String Phoneme)
Phoneme
- The phonemes of the word.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.