Package io.anyline2
Interface AssetUtil
-
- All Implemented Interfaces:
public interface AssetUtil
-
-
Method Summary
Modifier and Type Method Description static JSONObjectgetAnylineAssetsJson(Context context, String fileName)Get the json object from the assets with the given file name. abstract StringgetAssetPathForPlugin(@NonNull() PluginType pluginType)-
-
Method Detail
-
getAnylineAssetsJson
static JSONObject getAnylineAssetsJson(Context context, String fileName)
Get the json object from the assets with the given file name.
- Parameters:
context- the contextfileName- the name of the json file in the assets folder to read- Returns:
the json object from the assets with the given file name.
-
getAssetPathForPlugin
@Nullable() abstract String getAssetPathForPlugin(@NonNull() PluginType pluginType)
-
-
-
-