what-the-bank/sources/com/facetec/sdk/FaceTecCancelButtonCustomiz...

50 lines
1.1 KiB
Java

package com.facetec.sdk;
import android.graphics.Rect;
/* loaded from: classes.dex */
public final class FaceTecCancelButtonCustomization {
public int customImage = 0;
ButtonLocation b = ButtonLocation.TOP_LEFT;
Rect c = null;
public boolean hideForCameraPermissions = false;
/* loaded from: classes.dex */
public enum ButtonLocation {
TOP_LEFT("Top Left"),
TOP_RIGHT("Top Right"),
CUSTOM("Custom"),
DISABLED("Disabled");
private final String c;
ButtonLocation(String str) {
this.c = str;
}
@Override // java.lang.Enum
public final String toString() {
return this.c;
}
}
public final void setLocation(ButtonLocation buttonLocation) {
if (buttonLocation == null) {
buttonLocation = ButtonLocation.TOP_LEFT;
}
this.b = buttonLocation;
}
public final void setCustomLocation(Rect rect) {
this.c = rect;
}
public final ButtonLocation getLocation() {
return this.b;
}
public final Rect getCustomLocation() {
return this.c;
}
}