public class ScanVoiceRequest extends AbstractModel
Constructor and Description |
---|
ScanVoiceRequest() |
ScanVoiceRequest(ScanVoiceRequest 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 |
getBizId()
Get Application ID, which is obtained when you create an application in the [GME console - Service Management](https://console.cloud.tencent.com/gamegme).
|
String |
getCallback()
Get Async callback address for detection result.
|
String |
getLang()
Get Language.
|
Boolean |
getLive()
Get Whether it is a live stream.
|
String[] |
getScenes()
Get Voice detection scenario.
|
Task[] |
getTasks()
Get Voice detection task list.
|
void |
setBizId(Long BizId)
Set Application ID, which is obtained when you create an application in the [GME console - Service Management](https://console.cloud.tencent.com/gamegme).
|
void |
setCallback(String Callback)
Set Async callback address for detection result.
|
void |
setLang(String Lang)
Set Language.
|
void |
setLive(Boolean Live)
Set Whether it is a live stream.
|
void |
setScenes(String[] Scenes)
Set Voice detection scenario.
|
void |
setTasks(Task[] Tasks)
Set Voice 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 ScanVoiceRequest()
public ScanVoiceRequest(ScanVoiceRequest source)
public Long getBizId()
public void setBizId(Long BizId)
BizId
- Application ID, which is obtained when you create an application in the [GME console - Service Management](https://console.cloud.tencent.com/gamegme).public String[] getScenes()
public void setScenes(String[] Scenes)
Scenes
- Voice detection scenario. It must be `default`. See the Label description as the result.public Boolean getLive()
public void setLive(Boolean Live)
Live
- Whether it is a live stream. Values: `false` (voice file), `true` (live stream).public Task[] getTasks()
public void setTasks(Task[] Tasks)
Tasks
- Voice detection task list. Up to 100 tasks can be added in the list.
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 queried by calling the `DescribeScanResultList` API.)public String getLang()
public void setLang(String Lang)
Lang
- Language. Chinese will be used if it is left empty.Copyright © 2023. All rights reserved.