public class ScanVoiceRequest extends AbstractModel
Constructor and Description |
---|
ScanVoiceRequest() |
Modifier and Type | Method and Description |
---|---|
Long |
getBizId()
Get Application ID, which is the `AppID` obtained when you create an application in [Console > Service Management](https://console.cloud.tencent.com/gamegme)
|
String |
getCallback()
Get Async callback address for detection result.
|
Boolean |
getLive()
Get Whether it is a live stream.
|
String[] |
getScenes()
Get Speech detection scenario.
|
Task[] |
getTasks()
Get Speech detection task list.
|
void |
setBizId(Long BizId)
Set Application ID, which is the `AppID` obtained when you create an application in [Console > Service Management](https://console.cloud.tencent.com/gamegme)
|
void |
setCallback(String Callback)
Set Async callback address for detection result.
|
void |
setLive(Boolean Live)
Set Whether it is a live stream.
|
void |
setScenes(String[] Scenes)
Set Speech detection scenario.
|
void |
setTasks(Task[] Tasks)
Set Speech detection task list.
|
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 Long getBizId()
public void setBizId(Long BizId)
BizId
- Application ID, which is the `AppID` obtained when you create an application in [Console > Service Management](https://console.cloud.tencent.com/gamegme)public String[] getScenes()
public void setScenes(String[] Scenes)
Scenes
- Speech detection scenario. The value of this parameter is currently required to be `default`. Preset scenarios: abusive, pornographic, politically sensitive, advertising, terrorism, and prohibited scenarios. For specific values, please see the Label description above.public Boolean getLive()
public void setLive(Boolean Live)
Live
- Whether it is a live stream. false: audio file detection, true: audio stream detection.public Task[] getTasks()
public void setTasks(Task[] Tasks)
Tasks
- Speech detection task list. Up to 100 tasks can be added in the list. The structure contains:
public String getCallback()
public void setCallback(String Callback)
Callback
- Async callback address for detection result. For more information, please see the callback description above. (Note: if this field is empty, the detection result can only be obtained by calling the `DescribeScanResultList` API.)Copyright © 2020. All rights reserved.