/** * 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); }