Package io.anyline2.legacy.products
Class AnylineUpdater
-
- All Implemented Interfaces:
public class AnylineUpdater
-
-
Constructor Summary
Constructors Constructor Description AnylineUpdater()
-
Method Summary
Modifier and Type Method Description static void
update(@NonNull() Context context, AssetContext assetContext, IAnylineUpdateDelegate updateDelegate, ScanController.PluginType pluginType)
static void
cancelUpdate()
static String
getLocalAssetVersion(AssetContext assetContext)
Gets the local asset version based on context Returns null if no assets are found static AssetController
getControllerForPluginId(String pluginId)
-
-
Method Detail
-
update
static void update(@NonNull() Context context, AssetContext assetContext, IAnylineUpdateDelegate updateDelegate, ScanController.PluginType pluginType)
-
cancelUpdate
static void cancelUpdate()
-
getLocalAssetVersion
static String getLocalAssetVersion(AssetContext assetContext)
Gets the local asset version based on context Returns null if no assets are found
- Parameters:
assetContext
- asset context- Returns:
asset version
-
getControllerForPluginId
static AssetController getControllerForPluginId(String pluginId)
-
-
-
-