public static class AntiSpoofIntent.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AntiSpoofIntent |
create() |
AntiSpoofIntent.Builder |
setAntiSpoofSaveDir(java.lang.String antiSpoofSaveDir)
设置保存仿冒攻击的音频数据路径
|
AntiSpoofIntent.Builder |
setResEnd(long resEnd)
识别结果结束的数据点
|
AntiSpoofIntent.Builder |
setResStart(long resStart)
识别结果开始的数据点
|
public AntiSpoofIntent.Builder setResStart(long resStart)
resStart - 识别结果开始的字段位置AntiSpoofIntent.Builderpublic AntiSpoofIntent.Builder setResEnd(long resEnd)
resEnd - 识别结果结束的字段位置AntiSpoofIntent.Builderpublic AntiSpoofIntent.Builder setAntiSpoofSaveDir(java.lang.String antiSpoofSaveDir)
antiSpoofSaveDir - feed 给仿冒攻击内核的数据保存的文件夹路径AntiSpoofIntent.Builderpublic AntiSpoofIntent create() throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException