Tabnine Logo
FingerPrintAuthHelper
Code IndexAdd Tabnine to your IDE (free)

How to use
FingerPrintAuthHelper
in
com.multidots.fingerprintauth

Best Java code snippets using com.multidots.fingerprintauth.FingerPrintAuthHelper (Showing top 7 results out of 315)

origin: multidots/android-fingerprint-authentication

@Override
protected void onPause() {
  super.onPause();
  mFingerPrintAuthHelper.stopAuth();
}
origin: multidots/android-fingerprint-authentication

/**
 * Get the {@link FingerPrintAuthHelper}
 *
 * @param context  instance of the caller.
 * @param callback {@link FingerPrintAuthCallback} to get notify whenever authentication success/fails.
 * @return {@link FingerPrintAuthHelper}
 */
@SuppressWarnings("ConstantConditions")
public static FingerPrintAuthHelper getHelper(@NonNull Context context, @NonNull FingerPrintAuthCallback callback) {
  if (context == null) {
    throw new IllegalArgumentException("Context cannot be null.");
  } else if (callback == null) {
    throw new IllegalArgumentException("FingerPrintAuthCallback cannot be null.");
  }
  return new FingerPrintAuthHelper(context, callback);
}
origin: multidots/android-fingerprint-authentication

@TargetApi(23)
@Nullable
private FingerprintManager.CryptoObject getCryptoObject() {
  return cipherInit() ? new FingerprintManager.CryptoObject(mCipher) : null;
}
origin: multidots/android-fingerprint-authentication

if (isScanning) stopAuth();
if (!checkFingerPrintAvailability(mContext)) return;
FingerprintManager.CryptoObject cryptoObject = getCryptoObject();
if (cryptoObject == null) {
  mCallback.onAuthFailed(AuthErrorCodes.NON_RECOVERABLE_ERROR, ERROR_FAILED_TO_INIT_CHIPPER);
origin: multidots/android-fingerprint-authentication

@Override
protected void onResume() {
  super.onResume();
  mGoToSettingsBtn.setVisibility(View.GONE);
  mAuthMsgTv.setText("Scan your finger");
  //start finger print authentication
  mFingerPrintAuthHelper.startAuth();
}
origin: multidots/android-fingerprint-authentication

boolean isKeyGenerated = generateKey();
origin: multidots/android-fingerprint-authentication

mFingerPrintAuthHelper = FingerPrintAuthHelper.getHelper(this, this);
com.multidots.fingerprintauthFingerPrintAuthHelper

Javadoc

Created by Keval on 07-Oct-16.

This class will authenticate user with finger print.

Most used methods

  • stopAuth
    Stop the finger print authentication.
  • <init>
    Private constructor.
  • checkFingerPrintAvailability
    Check if the finger print hardware is available.
  • cipherInit
    Initialize the cipher.
  • generateKey
    Generate authentication key.
  • getCryptoObject
  • getHelper
    Get the FingerPrintAuthHelper
  • startAuth
    Start the finger print authentication by enabling the finger print sensor. Note: Use this function i

Popular in Java

  • Creating JSON documents from java classes using gson
  • getContentResolver (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSharedPreferences (Context)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Notification (javax.management)
  • JComboBox (javax.swing)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now