[Add]增加是否Toast 提示错误信息

This commit is contained in:
donghongyu
2021-11-30 16:48:31 +08:00
parent 39890fd684
commit d033ade272
3 changed files with 24 additions and 18 deletions

View File

@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="deploymentTargetDropDown">
<runningDeviceTargetSelectedWithDropDown>
<Target>
<type value="RUNNING_DEVICE_TARGET" />
<deviceKey>
<Key>
<type value="SERIAL_NUMBER" />
<value value="HA1DGRAS" />
</Key>
</deviceKey>
</Target>
</runningDeviceTargetSelectedWithDropDown>
<timeTargetWasSelectedWithDropDown value="2021-11-24T09:46:29.204566Z" />
</component>
</project>

View File

@@ -61,6 +61,10 @@ public class MoGoAiCloudClientConfig {
* 是否打印日志
*/
private boolean isShowDebugLog = true;
/**
* 是否Toast日志
*/
private boolean isShowToastLog = true;
/**
* 因为ZeGo的房间限制这里需要区分出SDK提供给的是观众还是主播
@@ -283,6 +287,25 @@ public class MoGoAiCloudClientConfig {
isShowDebugLog = showDebugLog;
}
/**
* 是否打Toast日志
*
* @return true-打印日志false-不打印日志
*/
public boolean isShowToastLog() {
return isShowToastLog;
}
/**
* 设置是否Toast日志
*
* @param showToastLog true-打印日志false-不打印日志
*/
public void setShowDebugToast(boolean showToastLog) {
isShowToastLog = showToastLog;
}
/**
* 获取HttpDns检查时间间隔
*

View File

@@ -33,7 +33,7 @@ SNAPSHOT_REPOSITORY_URL=http://nexus.zhidaoauto.com/repository/maven-snapshots/
USERNAME=xintai
PASSWORD=xintai2018
# 编译模式: false - 依赖本地版本, true - 依赖 maven 版本
RELEASE=true
RELEASE=false
# AI CLOUD 云平台
# 工具类
MOGO_UTILS_VERSION=1.3.13