补充美颜模型和美颜配置

This commit is contained in:
2022-09-17 18:21:53 +08:00
parent 333e4fc1e6
commit 8ef917ebb6
40 changed files with 649 additions and 71 deletions

View File

@@ -10,6 +10,9 @@ public class FaceBeautyBean {
private int desRes;//描述
private int closeRes;//图片
private int openRes;//图片
private int toastDesRes;
private boolean canUseFunction;
private ButtonType buttonType=ButtonType.NORMAL_BUTTON;
public FaceBeautyBean(String key, int desRes, int closeRes, int openRes) {
this.key = key;
@@ -18,6 +21,16 @@ public class FaceBeautyBean {
this.openRes = openRes;
}
public FaceBeautyBean(String key, int desRes, int closeRes, int openRes, int toastDesRes, boolean canUseFunction) {
this.key = key;
this.desRes = desRes;
this.closeRes = closeRes;
this.openRes = openRes;
this.toastDesRes = toastDesRes;
this.canUseFunction = canUseFunction;
this.buttonType = buttonType;
}
public String getKey() {
return key;
}
@@ -49,4 +62,9 @@ public class FaceBeautyBean {
public void setOpenRes(int openRes) {
this.openRes = openRes;
}
enum ButtonType{
NORMAL_BUTTON,
BACK_BUTTON,
SUB_ITEM_BUTTON
}
}