net.facelib.mtfsdk.DefaultMtfAndroidConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mtfsdk-android-common Show documentation
Show all versions of mtfsdk-android-common Show documentation
mtfsdk common(detection included) for android
package net.facelib.mtfsdk;
import net.gdface.utils.SimpleLog;
/**
* {@link MtfAndroidConfigProvider}接口的默认实现,提供默认SDK初始化参数
* @author guyadong
*
*/
public class DefaultMtfAndroidConfig implements MtfAndroidConfigProvider {
public DefaultMtfAndroidConfig() {
}
@Override
public int getConcurrency() {
return 0;
}
@Override
public String toString() {
return toString(this);
}
public static final String toString(MtfAndroidConfigProvider input){
if(input != null){
return SimpleLog.logString("{} [concurrency={}]",
input.getClass().getName(),
input.getConcurrency());
}
return "null";
}
}