补充美颜模型和美颜配置
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user