逻辑迁移完毕,待测
This commit is contained in:
@@ -51,6 +51,17 @@ public class DebugConfig {
|
||||
|
||||
private static int sNetMode = NET_MODE_RELEASE;
|
||||
|
||||
/**
|
||||
* 语音使用同行者
|
||||
*/
|
||||
public static final int AI_TYPE_TXZ = 1;
|
||||
/**
|
||||
* 语音使用思必驰
|
||||
*/
|
||||
public static final int AI_TYPE_SPEECH = 2;
|
||||
|
||||
private static int sAIType = AI_TYPE_TXZ;
|
||||
|
||||
/**
|
||||
* 获取网络环境类型
|
||||
*
|
||||
@@ -99,4 +110,16 @@ public class DebugConfig {
|
||||
public static void setUseCustomNavi( boolean sUseCustomNavi ) {
|
||||
DebugConfig.sUseCustomNavi = sUseCustomNavi;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置使用哪个语音助手
|
||||
* @param aiType AI_TYPE_TXZ AI_TYPE_SPEECH
|
||||
*/
|
||||
public static void setAIType(int aiType){
|
||||
sAIType = aiType;
|
||||
}
|
||||
|
||||
public static int getAIType(){
|
||||
return sAIType;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user