public static enum AICloudVprintConfig.Mode extends java.lang.Enum<AICloudVprintConfig.Mode>
Enum Constant and Description |
---|
TEXT_NO_RELATED_SHORT_TIME
实时短语音文本无关,适用于问答形式的场景下,说话人身份的确认。可以有效拒绝非注册人,但不支持一个vad片段内多个说话人的分离。(如多轮对话场景)。
|
TEXT_OFFLINE_HALF_RELATED
离线文本半相关,适用于数字串,固定文本(唤醒词),固定文本(唤醒词)+数字串的一句话离线说话人识别场景。
|
TEXT_OFFLINE_NO_RELATED
离线一句话文本无关,适用于自由文本的一句话离线说话人识别场景。
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDesc() |
int |
getSupportSampleRate()
当前模式下支持的采样率
|
java.lang.String |
getValue() |
boolean |
isHttpVerify()
是否支持 Http 方式进行声纹验证
|
boolean |
isWebSocketVerify()
是否支持 WebSocket 方式进行声纹验证
|
java.lang.String |
toString() |
static AICloudVprintConfig.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AICloudVprintConfig.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AICloudVprintConfig.Mode TEXT_OFFLINE_NO_RELATED
public static final AICloudVprintConfig.Mode TEXT_OFFLINE_HALF_RELATED
public static final AICloudVprintConfig.Mode TEXT_NO_RELATED_SHORT_TIME
public static AICloudVprintConfig.Mode[] values()
for (AICloudVprintConfig.Mode c : AICloudVprintConfig.Mode.values()) System.out.println(c);
public static AICloudVprintConfig.Mode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getDesc()
public java.lang.String getValue()
public int getSupportSampleRate()
public boolean isHttpVerify()
public boolean isWebSocketVerify()
public java.lang.String toString()
toString
in class java.lang.Enum<AICloudVprintConfig.Mode>