Package | Description |
---|---|
com.scvngr.levelup.core.ui.view |
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.
|
LevelUpQrCodeGenerator.LevelUpQrCodeImage |
HashMapCache.getCode(String key) |
LevelUpQrCodeGenerator.LevelUpQrCodeImage |
LevelUpCodeCache.getCode(String key) |
Modifier and Type | Method and Description |
---|---|
PendingImage<LevelUpQrCodeGenerator.LevelUpQrCodeImage> |
LevelUpCodeLoader.getLevelUpCode(String qrCodeContents,
PendingImage.OnImageLoaded<LevelUpQrCodeGenerator.LevelUpQrCodeImage> onImageLoaded)
Gets a minimally-small bitmap from the cache whose contents encode
qrCodeContents . |
Modifier and Type | Method and Description |
---|---|
protected boolean |
LevelUpCodeLoader.dispatchOnImageLoaded(String key,
LevelUpQrCodeGenerator.LevelUpQrCodeImage image)
Dispatches calls to a previously registered
PendingImage.OnImageLoaded . |
void |
HashMapCache.putCode(String key,
LevelUpQrCodeGenerator.LevelUpQrCodeImage image) |
void |
LevelUpCodeCache.putCode(String key,
LevelUpQrCodeGenerator.LevelUpQrCodeImage image) |
Modifier and Type | Method and Description |
---|---|
PendingImage<LevelUpQrCodeGenerator.LevelUpQrCodeImage> |
LevelUpCodeLoader.getLevelUpCode(String qrCodeContents,
PendingImage.OnImageLoaded<LevelUpQrCodeGenerator.LevelUpQrCodeImage> onImageLoaded)
Gets a minimally-small bitmap from the cache whose contents encode
qrCodeContents . |
protected void |
AsyncTaskCodeLoader.onStartLoadInBackground(String qrCodeContents,
String key,
PendingImage.OnImageLoaded<LevelUpQrCodeGenerator.LevelUpQrCodeImage> onImageLoaded) |
protected abstract void |
LevelUpCodeLoader.onStartLoadInBackground(String qrCodeContents,
String key,
PendingImage.OnImageLoaded<LevelUpQrCodeGenerator.LevelUpQrCodeImage> onImageLoaded)
Implement this to start the loading of the given QR code into an image in the background.
|
protected void |
LevelUpCodeLoader.registerOnImageLoadedCallback(String key,
PendingImage.OnImageLoaded<LevelUpQrCodeGenerator.LevelUpQrCodeImage> onImageLoaded)
Register an
PendingImage.OnImageLoaded callback with the given key. |
protected void |
LevelUpCodeLoader.startLoadInBackground(String qrCodeContents,
String key,
PendingImage.OnImageLoaded<LevelUpQrCodeGenerator.LevelUpQrCodeImage> onImageLoaded)
Start the loading of the given QR code into an image in the background.
|