// Path: app/src/main/java/rehanced/com/simpleetherwallet/interfaces/FingerprintListener.java
// public interface FingerprintListener {
//     public void authenticationFailed(String error);
// 
//     public void authenticationSucceeded(FingerprintManager.AuthenticationResult result);
// }


import android.hardware.fingerprint.FingerprintManager;
import android.os.Build;
import android.os.CancellationSignal;
import androidx.annotation.RequiresApi;
import rehanced.com.simpleetherwallet.interfaces.FingerprintListener;
package rehanced.com.simpleetherwallet.utils;



@RequiresApi(api = Build.VERSION_CODES.M)
public class FingerprintHelper extends FingerprintManager.AuthenticationCallback {

    private FingerprintListener listener;

// Path: app/src/main/java/rehanced/com/simpleetherwallet/interfaces/FingerprintListener.java
// public interface FingerprintListener {
//     public void authenticationFailed(String error);
// 
//     public void authenticationSucceeded(FingerprintManager.AuthenticationResult result);
// }


// Path: app/src/main/java/rehanced/com/simpleetherwallet/utils/FingerprintHelper.java
import android.hardware.fingerprint.FingerprintManager;
import android.os.Build;
import android.os.CancellationSignal;
import androidx.annotation.RequiresApi;
import rehanced.com.simpleetherwallet.interfaces.FingerprintListener;

package rehanced.com.simpleetherwallet.utils;



@RequiresApi(api = Build.VERSION_CODES.M)
public class FingerprintHelper extends FingerprintManager.AuthenticationCallback {

    private FingerprintListener listener;

    public FingerprintHelper(FingerprintListener listener) {