what-the-bank/sources/com/facetec/sdk/bm.java

50 lines
1.3 KiB
Java

package com.facetec.sdk;
import java.lang.ref.WeakReference;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes.dex */
public final class bm implements FaceTecIDScanResultCallback {
private final WeakReference<bg> e;
/* JADX INFO: Access modifiers changed from: package-private */
public bm(bg bgVar) {
this.e = new WeakReference<>(bgVar);
}
@Override // com.facetec.sdk.FaceTecIDScanResultCallback
public final boolean proceedToNextStep(String str) {
bg bgVar = this.e.get();
if (av.b(bgVar)) {
return bgVar.a(str);
}
return false;
}
@Override // com.facetec.sdk.FaceTecIDScanResultCallback
public final void uploadMessageOverride(String str) {
bg bgVar = this.e.get();
if (av.b(bgVar)) {
bgVar.d(str);
}
}
@Override // com.facetec.sdk.FaceTecIDScanResultCallback
public final void uploadProgress(float f) {
bg bgVar = this.e.get();
if (av.b(bgVar)) {
bgVar.a(f);
}
}
@Override // com.facetec.sdk.FaceTecIDScanResultCallback
public final void cancel() {
bg bgVar = this.e.get();
if (av.b(bgVar)) {
this.e.clear();
bgVar.t = true;
bgVar.C();
}
}
}