public class SubtitleConf extends AbstractModel
header, skipSign
Constructor and Description |
---|
SubtitleConf() |
SubtitleConf(SubtitleConf 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 |
---|---|
String |
getCaptionSource()
Get Optional values: INPUT (source subtitle information), ANALYSIS (intelligent speech recognition to subtitles, currently only supports this option).
|
Long |
getContentType()
Get Optional values: 1 Source, 2 Source+Target, 3 Target (original language only, original language + translation language, translation language).
|
SubtitleFontConf |
getFontStyle()
Get Font style configuration.
|
String |
getName()
Get Template name.
|
String |
getSourceLanguage()
Get Original phonetic language.
|
String |
getStateEffectMode()
Get There are two modes: STEADY and DYNAMIC, corresponding to steady state and unstable state respectively; the default is STEADY.
|
Long |
getSteadyStateDelayedTime()
Get Steady-state delay time, unit seconds; optional values: 10, 20, default 10.
|
String |
getTargetLanguage()
Get Target language.
|
Long |
getTargetType()
Get Output mode: 1 Burn in (currently only this option is supported).
|
void |
setCaptionSource(String CaptionSource)
Set Optional values: INPUT (source subtitle information), ANALYSIS (intelligent speech recognition to subtitles, currently only supports this option).
|
void |
setContentType(Long ContentType)
Set Optional values: 1 Source, 2 Source+Target, 3 Target (original language only, original language + translation language, translation language).
|
void |
setFontStyle(SubtitleFontConf FontStyle)
Set Font style configuration.
|
void |
setName(String Name)
Set Template name.
|
void |
setSourceLanguage(String SourceLanguage)
Set Original phonetic language.
|
void |
setStateEffectMode(String StateEffectMode)
Set There are two modes: STEADY and DYNAMIC, corresponding to steady state and unstable state respectively; the default is STEADY.
|
void |
setSteadyStateDelayedTime(Long SteadyStateDelayedTime)
Set Steady-state delay time, unit seconds; optional values: 10, 20, default 10.
|
void |
setTargetLanguage(String TargetLanguage)
Set Target language.
|
void |
setTargetType(Long TargetType)
Set Output mode: 1 Burn in (currently only this option is supported).
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SubtitleConf()
public SubtitleConf(SubtitleConf source)
public String getName()
public void setName(String Name)
Name
- Template name.public String getCaptionSource()
public void setCaptionSource(String CaptionSource)
CaptionSource
- Optional values: INPUT (source subtitle information), ANALYSIS (intelligent speech recognition to subtitles, currently only supports this option).public Long getContentType()
public void setContentType(Long ContentType)
ContentType
- Optional values: 1 Source, 2 Source+Target, 3 Target (original language only, original language + translation language, translation language).public Long getTargetType()
public void setTargetType(Long TargetType)
TargetType
- Output mode: 1 Burn in (currently only this option is supported).public String getSourceLanguage()
public void setSourceLanguage(String SourceLanguage)
SourceLanguage
- Original phonetic language.
Optional values: Chinese, English, Japanese, Korean.public String getTargetLanguage()
public void setTargetLanguage(String TargetLanguage)
TargetLanguage
- Target language.
Optional values: Chinese, English, Japanese, Korean.public SubtitleFontConf getFontStyle()
public void setFontStyle(SubtitleFontConf FontStyle)
FontStyle
- Font style configuration.public String getStateEffectMode()
public void setStateEffectMode(String StateEffectMode)
StateEffectMode
- There are two modes: STEADY and DYNAMIC, corresponding to steady state and unstable state respectively; the default is STEADY.public Long getSteadyStateDelayedTime()
public void setSteadyStateDelayedTime(Long SteadyStateDelayedTime)
SteadyStateDelayedTime
- Steady-state delay time, unit seconds; optional values: 10, 20, default 10.Copyright © 2024. All rights reserved.