public class DetectEnvAndSoundQualityRequest extends AbstractModel
Constructor and Description |
---|
DetectEnvAndSoundQualityRequest() |
DetectEnvAndSoundQualityRequest(DetectEnvAndSoundQualityRequest 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 |
getAudioData()
Get 语音数据 要使用base64编码(采用python语言时注意读取文件应该为string而不是byte,以byte格式读取后要decode()。编码后的数据不可带有回车换行符)。
|
String |
getCodec()
Get 音频格式,音频类型(wav,mp3,aac,m4a)
|
Long |
getSampleRate()
Get 音频采样率:
16000:16k(默认)
|
String |
getTextId()
Get 标注文本信息 ID
|
Long |
getTypeId()
Get 1:环境检测 2:音质检测
|
void |
setAudioData(String AudioData)
Set 语音数据 要使用base64编码(采用python语言时注意读取文件应该为string而不是byte,以byte格式读取后要decode()。编码后的数据不可带有回车换行符)。
|
void |
setCodec(String Codec)
Set 音频格式,音频类型(wav,mp3,aac,m4a)
|
void |
setSampleRate(Long SampleRate)
Set 音频采样率:
16000:16k(默认)
|
void |
setTextId(String TextId)
Set 标注文本信息 ID
|
void |
setTypeId(Long TypeId)
Set 1:环境检测 2:音质检测
|
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 DetectEnvAndSoundQualityRequest()
public DetectEnvAndSoundQualityRequest(DetectEnvAndSoundQualityRequest source)
public String getTextId()
public void setTextId(String TextId)
TextId
- 标注文本信息 IDpublic String getAudioData()
public void setAudioData(String AudioData)
AudioData
- 语音数据 要使用base64编码(采用python语言时注意读取文件应该为string而不是byte,以byte格式读取后要decode()。编码后的数据不可带有回车换行符)。public String getCodec()
public void setCodec(String Codec)
Codec
- 音频格式,音频类型(wav,mp3,aac,m4a)public Long getTypeId()
public void setTypeId(Long TypeId)
TypeId
- 1:环境检测 2:音质检测public Long getSampleRate()
public void setSampleRate(Long SampleRate)
SampleRate
- 音频采样率:
16000:16k(默认)Copyright © 2023. All rights reserved.