public class BundledProductProvider extends BaseProductProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LOCAL_BUNDLED_REPO_PATH |
_cache, _context
Constructor and Description |
---|
BundledProductProvider(android.app.Activity context) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getAPK(ProductInformation product)
Pull specified APK from ATAK APK resources, and place on filesystem outside of the IO abstraction
|
protected ProductRepository |
load()
Load cached index
|
protected ProductRepository |
load(boolean bReload) |
ProductRepository |
rebuild(ProductProviderManager.ProgressDialogListener l)
Rebuild cached repo index
Currently we only do this on background thread
|
public BundledProductProvider(android.app.Activity context)
protected ProductRepository load()
BaseProductProvider
load
in class BaseProductProvider
public ProductRepository rebuild(ProductProviderManager.ProgressDialogListener l)
ProductProviderManager.Provider
protected ProductRepository load(boolean bReload)
public java.io.File getAPK(ProductInformation product)
getAPK
in class BaseProductProvider
product
- the product information entry that describes a plugin or tool bundled with
the software.