set Asset Maps
Set a list of AssetMap to the Portal used with shared assets.
Example usage (kotlin):
val assetMaps = LinkedHashMap<String, AssetMap>();
assetMaps["images"] = AssetMap("images", "/shared/images", "images")
builder = builder.setAssetMaps(assetMaps)
Content copied to clipboard
Example usage (java):
LinkedHashMap<String, AssetMap> assetMaps = new LinkedHashMap<String, AssetMap>();
assetMaps.put("images", new AssetMap("images","/shared/images","images"));
builder = builder.setAssetMaps(assetMaps);
Content copied to clipboard
Return
the instance of the PortalBuilder with the asset maps set
Parameters
asset Maps