| Package | Description | 
|---|---|
| com.scvngr.levelup.core.storage | |
| com.scvngr.levelup.core.ui.view | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
SharedPreferencesUtil.delete(Context context,
      String key)
Deletes the given key. 
 | 
static void | 
SharedPreferencesUtil.deleteAllPreferences(Context context)
Deletes all shared preferences that were set by  
SharedPreferencesUtil. | 
static boolean | 
SharedPreferencesUtil.getBoolean(Context context,
          String key,
          boolean defaultValue)
Gets a  
boolean for a given key. | 
static long | 
SharedPreferencesUtil.getLong(Context context,
       String key,
       long defaultValue)
Gets a  
long for a given key. | 
static String | 
SharedPreferencesUtil.getString(Context context,
         String key,
         String defaultValue)
Gets a  
String for a given key. | 
static boolean | 
SharedPreferencesUtil.hasKey(Context context,
      String key)
Checks if a particular preference has been stored. 
 | 
static void | 
SharedPreferencesUtil.putString(Context context,
         String key,
         String value)
Puts a  
String for a given key. | 
| Modifier and Type | Method and Description | 
|---|---|
LevelUpQrCodeGenerator.LevelUpQrCodeImage | 
LevelUpQrCodeGenerator.generateLevelUpQrCode(String qrCodeData)
 Generate a LevelUp QR code. 
 | 
protected LevelUpQrCodeGenerator.LevelUpQrCodeImage | 
LevelUpCodeLoader.generateQrCode(String key,
              String qrCodeContents)
Generates the QR code using the supplied generator and caches the result. 
 |