setAssetMaps

fun setAssetMaps(assetMaps: <Error class: unknown class><String, AssetMap>): PortalBuilder

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)

Example usage (java):

LinkedHashMap<String, AssetMap> assetMaps = new LinkedHashMap<String, AssetMap>();
assetMaps.put("images", new AssetMap("images","/shared/images","images"));
builder = builder.setAssetMaps(assetMaps);

Return

the instance of the PortalBuilder with the asset maps set

Parameters

assetMaps