Created
May 28, 2015 19:25
-
-
Save JustinAngel/df09199a2249ab951f55 to your computer and use it in GitHub Desktop.
Android M: new Fingerprint API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final class android.hardware.fingerprint.Fingerprint extends Object implements Parcelable { | |
public Fingerprint(CharSequence, int, int, long); | |
public static final Parcelable$Creator CREATOR; | |
public CharSequence getName(); | |
public void writeToParcel(Parcel, int); | |
public int describeContents(); | |
} | |
public class android.hardware.fingerprint.FingerprintManager extends Object { | |
FingerprintManager(); | |
public static final int FINGERPRINT_ACQUIRED_GOOD; | |
public static final int FINGERPRINT_ACQUIRED_IMAGER_DIRTY; | |
public static final int FINGERPRINT_ACQUIRED_INSUFFICIENT; | |
public static final int FINGERPRINT_ACQUIRED_PARTIAL; | |
public static final int FINGERPRINT_ACQUIRED_TOO_FAST; | |
public static final int FINGERPRINT_ACQUIRED_TOO_SLOW; | |
public static final int FINGERPRINT_ACQUIRED_VENDOR_BASE; | |
public static final int FINGERPRINT_ERROR_CANCELED; | |
public static final int FINGERPRINT_ERROR_HW_UNAVAILABLE; | |
public static final int FINGERPRINT_ERROR_LOCKOUT; | |
public static final int FINGERPRINT_ERROR_NO_SPACE; | |
public static final int FINGERPRINT_ERROR_TIMEOUT; | |
public static final int FINGERPRINT_ERROR_UNABLE_TO_PROCESS; | |
public static final int FINGERPRINT_ERROR_VENDOR_BASE; | |
public void authenticate(FingerprintManager$CryptoObject, CancellationSignal, FingerprintManager$AuthenticationCallback, int); | |
public boolean hasEnrolledFingerprints(); | |
public boolean isHardwareDetected(); | |
} | |
public abstract static class android.hardware.fingerprint.FingerprintManager$AuthenticationCallback extends Object { | |
public FingerprintManager$AuthenticationCallback(); | |
public void onAuthenticationError(int, CharSequence); | |
public void onAuthenticationHelp(int, CharSequence); | |
public void onAuthenticationSucceeded(FingerprintManager$AuthenticationResult); | |
public void onAuthenticationFailed(); | |
} | |
public static final class android.hardware.fingerprint.FingerprintManager$AuthenticationResult extends Object { | |
public FingerprintManager$AuthenticationResult(FingerprintManager$CryptoObject, Fingerprint); | |
public FingerprintManager$CryptoObject getCryptoObject(); | |
} | |
public static class android.hardware.fingerprint.FingerprintManager$CryptoObject extends Object { | |
public FingerprintManager$CryptoObject(Mac); | |
public FingerprintManager$CryptoObject(Cipher); | |
public FingerprintManager$CryptoObject(Signature); | |
public Signature getSignature(); | |
public Mac getMac(); | |
public Cipher getCipher(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment